<p dir="ltr"><br>
Le 16 juin 2016 5:36 PM, "Aswin Pranav" <<a href="mailto:aswin2pranav@gmail.com">aswin2pranav@gmail.com</a>> a écrit :<br>
><br>
> Thanks for the input guys, but now my problem is:<br>
> When my receiver pipeline is simply " gst-launch-1.0 rtspsrc location= rtsp://<a href="http://10.20.13.24:8554/test">10.20.13.24:8554/test</a> name=r latency=0 ! rtph264depay ! avdec_h264 ! xvimagesink sync=0" it *appears* that my video is almost-realtime (150 ms latency between server and client using a stopwatch) and is rendering smoothly at 30 fps (this value was set at the server source). But then when I modify my pipeline to this: "gst-launch-1.0 rtspsrc location= rtsp://<a href="http://10.20.13.24:8554/test">10.20.13.24:8554/test</a> name=r latency=0 ! rtph264depay ! avdec_h264 ! fpsdisplaysink name=fpssink video-sink=xvimagesink sync=0 -v" I get considerable latency between server and client (almost 5 seconds), the video visibly stutters, and the frame rate comes up to an average of 18 ms with 0 dropped frames.<br>
><br>
> When I set sync=1, all hell breaks loose and I get a drop rate of 30 fps (on avg)! I get maximum frame rendered per second . What is going on?! Does fpsdisplaysink influence the speed of my receiver pipeline in some manner? What can I do about it? Is there a lower overhead way of checking fps?</p>
<p dir="ltr">By setting rtspsrc latency to 0 you prevent the jitterbuffer from doing its job, so you most likely have weird timestamp.. So forget about sync=1 unless you increase the latency. Now, you should set the sync= on fpsdidplaysink, it will take care of the internal a sink. Overlay are expensive, for high resolution it could be too slow.</p>
<p dir="ltr">><br>
> Thanks.<br>
><br>
><br>
> On Wed, 15 Jun 2016 at 19:37 Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> wrote:<br>
>><br>
>><br>
>> Le 2016-06-15 16:03, "Sankar,Aswin Pranav" <<a href="mailto:apsankar@ufl.edu">apsankar@ufl.edu</a>> a écrit :<br>
>> ><br>
>> > Hi all,<br>
>> ><br>
>> ><br>
>> > Here's my gstreamer receiver pipeline: gst-launch-1.0 rtspsrc location= rtsp://<a href="http://10.20.13.24:8554/test">10.20.13.24:8554/test</a> name=r latency=0 ! rtph264depay ! avdec_h264 ! fpsdisplaysink name=fpssink text-overlay=false video-sink=xvimagesink signal-fps-measurements=true<br>
>> ><br>
>> ><br>
>> > When I launch this pipeline, I receive the rtp stream, but it appears in a normal window, i.e, like an xvimagesink. I cannot see any frame rate counter or indicator. What do I need to change?<br>
>><br>
>> You have disabled the overlay, so the information will be posted as application message. Implement a bus handler to receive those. With gst-launch you can add the -m parameter to trace messages.<br>
>><br>
>> ><br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > -Aswin<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > gstreamer-devel mailing list<br>
>> > <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
>> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> gstreamer-devel mailing list<br>
>> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
>> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
</p>