Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7596

Graphics, sound and multimedia • Re: How composite multiple video files using hardware acceleration

$
0
0
I like your 6 by 9 aspect ratio :)

It worked for one input - I'm getting same issue when using two inputs, can you please try as well? Here is my pipeline:

Code:

..GST_DEBUG=*:3 gst-launch-1.0 -vvv -e compositor name=mix ! video/x-raw,width=2560,height=720 ! v4l2h264enc ! "video/x-h264,profile=high,level=(string)4.2" ! h264parse ! qtmux ! filesink location=foo.mp4 filesrc name=input1 location=Big_Buck_Bunny_720_10s_5MB.mp4 ! qtdemux ! h264parse config-interval=-1 ! v4l2h264dec ! queue ! mix.sink_0 filesrc name=input2 location=Big_Buck_Bunny_720_10s_5MB.mp4 ! qtdemux ! h264parse config-interval=-1 ! v4l2h264dec ! queue ! mix.sink_1..

Statistics: Posted by Prezla — Tue Feb 04, 2025 4:02 am



Viewing all articles
Browse latest Browse all 7596

Trending Articles