rtpjitterbuffer not working
Erik Herz
erik at vivoh.com
Tue Mar 17 20:30:33 UTC 2020
I have generated a MPEG-TS source with RTP via FFmpeg like so:
ffmpeg -stream_loop -1 -re -i jamie.mp4 -vcodec mpeg2video -pix_fmt yuv420p
-me_method epzs -r 29.97 -g 45 -bf 2 -trellis 2 -cmp 2 -subcmp 2 -s 704x396
-b 2500k -bt 300k -acodec mp2 -ac 2 -ab 192k -ar 44100 -async 1 -y -f
rtp_mpegts rtp://239.0.0.1:1234
and can play it back with this pipeline:
gst-launch-1.0 udpsrc multicast-group=239.0.0.1 auto-multicast=true
port=1234 ! decodebin name=decoder decoder. ! queue ! audioconvert !
audioresample ! osxaudiosink decoder. ! videoconvert ! autovideosink
when I try to add a jitterbuffer, it has the same state as above but video
does not play:
Eriks-MacBook-Pro:vma erik$ gst-launch-1.0 udpsrc multicast-group=239.0.0.1
auto-multicast=true port=1234 ! rtpjitterbuffer mode=0 latency=100 !
decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample !
osxaudiosink decoder. ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
Setting pipeline to PLAYING ...
New clock: GstSystemClock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200317/d6c8ca84/attachment-0001.htm>
More information about the gstreamer-devel
mailing list