Low latency streaming over the network, time sync

Wolfgang Grandegger wg at grandegger.com
Fri Oct 5 12:39:50 UTC 2018


Hello,

Am 05.10.2018 um 10:53 schrieb Wolfgang Grandegger:
> Hello,
> 
> Am 04.10.2018 um 17:44 schrieb Nicolas Dufresne:
>> Le jeudi 04 octobre 2018 à 11:09 +0200, Wolfgang Grandegger a écrit :
>>> Hello,
>>>
>>> I'm looking into low latency real-time streaming of MJPEG videos over
>>> the network with GStreamer. I wonder what module does the frame
>>> synchronisation on the receivers side and how. On the sender I start:
>>>
>>> # gst-launch-1.0 filesrc location=output.avi ! avidemux name=demux
>>> demux.video_0 ! vaapipostproc ! vaapijpegenc quality=50 ! rtpjpegpay
>>> !
>>> udpsink host=192.168.178.52 port=50004
>>>
>>> and on the receiver:
>>>
>>> # gst-launch-1.0 udpsrc port=50004 !
>>> application/x-rtp,encoding-name=JPEG,payload=26 ! queue !
>>> rtpjpegdepay !
>>> vaapijpegdec ! vaapipostproc ! vaapisink
>>
>> To you first question, none in your pipeline. You'll need a
>> jitterbuffer to handle the time, ideally with do-timestamp=1 on the
>> udpsrc element.
>>
>>>
>>> I have some basic questions:
>>>
>>> - Are the frames displayed as they arrive (in "udpsrc")?
>>
>> It will depends on the jitterbuffer "mode" property. By default it will
>> try to slave to the remote clock. This mode is not extremely accurate
>> though.
> 
> I see, I will have a closer look into the various modes. Then also
> synchronizing clocks of the participating systems is important. Are
> there documents around highlighting that topic?

The following README was already useful:

https://fossies.org/linux/gst-plugins-good/gst/rtp/README

Wolfgang.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181005/6f7925a0/attachment.sig>


More information about the gstreamer-devel mailing list