GNOME Bugzilla – Bug 675227
[mpegtsdemux] Streaming MPEG2 TS does not work
Last modified: 2013-07-20 10:01:41 UTC
Created attachment 213180 [details] Test case Since upgrading to Fedora 17 gnome-dvb-daemon is not able to stream MPEG2 TS streams anymore. Creating a small example that uses a static pipeline did not work as well when using rtpmp2tpay. However, demuxing and using rtpmp2tpay works fine. I'm not sure whether that's a problem on the server or client side. Versions: gstreamer-rtsp 0.10.8 gstreamer 0.10.36 gstreamer-plugins-base 0.10.36 gstreamer-plugins-good 0.10.31 gstreamer-plugins-bad 0.10.22
Created attachment 213181 [details] Log of server using mp2tpay
Created attachment 213184 [details] Log of client using mp2tpay
Created attachment 213185 [details] Log of server using mpvpay
Created attachment 213186 [details] Log of client using mpvpay
Turns out the culprit is commit 09f0860a1037b73bf314dd6d80ebbfa096ff93bf to gstmpegtsdemux.c (see bug 663756). After reverting it, everything works fine again.
Created attachment 215217 [details] Test case using sample.mpeg I uploaded a sample file to http://k-d-w.org/clipboard/sample.mpeg and adjusted the test case to use this file. The result is as follows: Does *not* work: gst-launch playbin2 uri=rtsp://127.0.0.1:8554/test Does *not* work: gst-launch rtspsrc location=rtsp://127.0.0.1:8554/test ! rtpmp2tdepay ! mpegtsdemux name=demux ! queue2 ! mpeg2dec ! xvimagesink demux. ! queue2 ! mad ! alsasink Does work: gst-launch rtspsrc location=rtsp://127.0.0.1:8554/test ! rtpmp2tdepay ! tsdemux name=demux ! queue2 ! mpeg2dec ! xvimagesink demux. ! queue2 ! mad ! alsasink For me the result should be that I can play the stream fine using playbin2. Unfortunately, playbin2 uses mpegtsdemux instead of tsdemux.
Since mpegtsdemux is no longer the primary demuxer in git, shall we just revert that patch ? It works fine with tsdemux, so the upcoming release will have the fix anyway.
From my point of view it doesn't really matter. In the meantime, is there a way to tell playbin2 to use tsdemux instead of mpegtsdemux until a new version is released?
Reopening as I can't see any open non developer question.
I don't think this is going to get fixed for mpegtsdemux in 0.10 if it's still a problem, so let's close this. tsdemux works fine after all and is the only demuxer in 1.x