Combining 2 Video Streams Side by Side, Getting Choppy Results
Ian Davidson
id012c3076 at blueyonder.co.uk
Tue Feb 16 10:20:53 UTC 2021
I don't see any *queue* in your pipeline. A queue causes the pipeline to
have a new thread - so all of your pipeline is one thread and is
therefore only using one processor. Experiment with putting a queue
after each videoscale.
On 16/02/2021 09:02, Jim Ruxton wrote:
>
> Just discovered that putting sync=false after autovideosink solved my
> problem.
>
> Jim
>
> On 2021-02-16 2:50 a.m., Jim Ruxton wrote:
>>
>> I am trying to combine 2 video streams. One from my laptop camera and
>> one from an external webcam. I'm using the following pipeline and
>> getting very choppy results. Neither my CPU or GPU seem to be working
>> hard. Any ideas how to make this less choppy?
>>
>> *./gst-launch-1.0 v4l2src device=/dev/video**4**! videoscale ! videoconvert ! video/x-raw,format=YUY2,
>> framerate=30/1, width=***640***, height=***480****! ****alpha********alpha=1***! videobox border-alpha=0 left=-640 ! videomixer name=Mix !
>> videoconvert ! autovideosink v4l2src device=/dev/video***2***! videoscale ! videoconvert ! video/x-raw, format=YUY2,
>> framerate=30/1, width=***640***, height=***480****! ****alpha********alpha=1***! videobox border-alpha=0 right=-640 ! Mix.*
>>
>> Thanks,
>>
>> Jim
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210216/d6ef28dc/attachment-0001.htm>
More information about the gstreamer-devel
mailing list