streaming recorded TS over UDP
Lajos Okos
lajos.okos at gmail.com
Tue Apr 16 15:22:57 UTC 2019
Hi Guys,
I have a recorded HLS stream created with hlssink2 that I would like to
stream with the below pipeline:
gst-launch-1.0 \
2 souphttpsrc location=http://.../.../playlist.m3u8 ! \
3 hlsdemux ! \
4 tsparse set-timestamps=true ! \
5 rtpmp2tpay ! \
6 udpsink sync=true host=239.211.8.222 port=1234
I can play the multicast stream from the pipeline with VLC more or less ok,
although time to time the picture freezes and I lose audio.
Configuring some logging for tsparse, I can see that it pushes buffers out
with quite a large variation in duration. Sometimes the buffers have
duration of 5-6 seconds other time they are just a fraction of a second.
Checking the stream in Wireshark the bitrate of the player's multicast
stream varies a lot. Is there a way to keep the duration of the pushed
buffers from tsparse low? I guess the large variation of the output bitrate
is due to the fact that the elements following tsparse underrun but this is
just guessing. Any suggestions on how to change the pipeline that the
output bitrate stays more or less static with just a reasonable variation?
Many thanks for your suggestions!
Lajos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190416/df26058c/attachment.html>
More information about the gstreamer-devel
mailing list