There is a problem when v4l2src + compositor
uil uil
inaho330 at gmail.com
Thu Apr 15 01:20:20 UTC 2021
Thanks for your replies.
I try to set start-time-selection to first. It can output the video now
with 10fps, which is 30fps.
And i found that this problem only occurs in the input video with HD. When
it change to FHD or other resolution,
It can output as the input fps normally.
I am confused now, why does FHD work?🙃
I will try it on 1.18.2.
Nicolas Dufresne <nicolas at ndufresne.ca> 于2021年4月15日周四 上午4:28写道:
> Le mardi 13 avril 2021 à 22:14 -0500, inaho330 a écrit :
> > 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 .
>
> Works here on 1.18.2, but the start is bursty, which I can fix adding
> start-
> time-selection=first to the compositor. That's because v4l2src is live and
> the
> very first timestamp isn't going to be zero. My camera is pretty fast to
> start,
> but I've seen UVC camera taking up to 10s to start.
>
> >
> > 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/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> 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/20210415/bbecce5d/attachment-0001.htm>
More information about the gstreamer-devel
mailing list