local rtsp server video show delay 7+ seconds

Nicolas Dufresne nicolas at ndufresne.ca
Mon Oct 8 23:31:29 UTC 2018


Le lun. 8 oct. 2018 05 h 27, Dengke Du <dengke.du at windriver.com> a écrit :

> Hi all
>
> gst-launch-1.0 --version
>
>      gst-launch-1.0 version 1.14.2
>      GStreamer 1.14.2
>      Unknown package origin
>
> My device info: v4l2-ctl --list-formats
>
> ioctl: VIDIOC_ENUM_FMT
>      Index       : 0
>      Type        : Video Capture
>      Pixel Format: 'YUYV'
>      Name        : YUYV 4:2:2
>
>      Index       : 1
>      Type        : Video Capture
>      Pixel Format: 'MJPG' (compressed)
>      Name        : Motion-JPEG
>
> Server side:
>
>      In rtsp examples directory: ./test-launch "( v4l2src ! image/jpeg !
> jpegdec ! x264enc ! rtph264pay name=pay0 pt=96 )"
>

Default x264 settings are high latency. Try with setting tune=zerolatency.
That will drop the latency to around two sec. 2s is the configured latency
on the rtspsrc element. You can reconfigure that using the playbin
callbacks, or child proxy mechanism.



> Client side:
>
>      gst-launch-1.0 -v playbin uri=rtsp://127.0.0.1:8554/test
>
> The video show delay 7+ seconds, does somebody know why?
>
> Thanks!
>
> _______________________________________________
> 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/20181008/e9823a49/attachment.html>


More information about the gstreamer-devel mailing list