<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks for your replies.</div><div dir="ltr"><br></div><div dir="ltr">I try to set start-time-selection to first. It can output the video now with 10fps, which is 30fps.</div><div dir="ltr"><br></div><div dir="ltr">And i found that this problem only occurs in the input video with HD. When it change to FHD or other resolution, </div><div dir="ltr">It can output as the input fps normally.<br></div><div dir="ltr"><br></div><div dir="ltr">I am confused now, why does FHD work?🙃<br></div><div dir="ltr"><br></div><div dir="ltr">I will try it on 1.18.2. </div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> 于2021年4月15日周四 上午4:28写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Le mardi 13 avril 2021 à 22:14 -0500, inaho330 a écrit :<br>
> Hi<br>
> <br>
> I make a program which pipeline like this:<br>
> <br>
> gst-launch-1.0 v4l2src ! video/x-raw,format=YV12,width=1280,height=720 !<br>
> timeoverlay ! queue ! videomixer ! vaapih264enc rate-control=vbr<br>
> bitrate=1000 ! video/x-h264 ! h264parse config-interval=1 ! mpegtsmux !<br>
> udpsink host=172.16.6.109 port=23333<br>
> <br>
> It work fine. But If I use compositor instead of videomixer like this:<br>
> <br>
> gst-launch-1.0 v4l2src ! video/x-raw,format=YV12,width=1280,height=720 !<br>
> timeoverlay ! queue ! compositor ! vaapih264enc rate-control=vbr<br>
> bitrate=1000 ! video/x-h264 ! h264parse config-interval=1 ! mpegtsmux !<br>
> udpsink host=172.16.6.109 port=23333<br>
> <br>
> The compositor just only output the first frame it get .<br>
<br>
Works here on 1.18.2, but the start is bursty, which I can fix adding start-<br>
time-selection=first to the compositor. That's because v4l2src is live and the<br>
very first timestamp isn't going to be zero. My camera is pretty fast to start,<br>
but I've seen UVC camera taking up to 10s to start.<br>
<br>
> <br>
> But if i use videotestsrc or appsrc , it work fine.<br>
> <br>
> Does anyone know where the problem is? <br>
> Is there any way to debug it?<br>
> <br>
> THanks!<br>
> <br>
> <br>
> <br>
> --<br>
> Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>