There is a problem when v4l2src + compositor

inaho330 inaho330 at gmail.com
Wed Apr 14 03:14:49 UTC 2021


Hi

I make a program which pipeline like this:

gst-launch-1.0 v4l2src  ! video/x-raw,format=YV12,width=1280,height=720 !
timeoverlay  ! queue  ! videomixer ! vaapih264enc rate-control=vbr
bitrate=1000 ! video/x-h264 ! h264parse config-interval=1  ! mpegtsmux !
udpsink host=172.16.6.109 port=23333

It work fine. But If I use compositor instead of videomixer like this:

gst-launch-1.0 v4l2src  ! video/x-raw,format=YV12,width=1280,height=720 !
timeoverlay  ! queue  ! compositor ! vaapih264enc rate-control=vbr
bitrate=1000 ! video/x-h264 ! h264parse config-interval=1  ! mpegtsmux !
udpsink host=172.16.6.109 port=23333

The compositor just only output the first frame it get .

But if i use videotestsrc or appsrc , it work fine.

Does anyone know where the problem is? 
Is there any way to debug it?

THanks!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list