GNOME Bugzilla – Bug 690949
DVB playback is at 1 fps after update from 1.0.2 to 1.0.3
Last modified: 2013-04-26 14:45:37 UTC
Updating gstreamer1-plugins-bad to version 1.0.4 started to "jam" dvb streams. For example I am using this to play DVB streams: gst-launch-1.0 -e playbin uri=dvb://TV%20JOJ CPU is used only at aprox. 20%, but video is jamming (displays image each aprox. 1 second). Downgrade to gstreamer-plugins-bad-1.0.3 fixes my problems. Other sources (for example multicast) are not affected.
Created attachment 232456 [details] Debug output. GST_DEBUG=*dec*:6,*demux:6,*sink:6 gst-launch-1.0 -e playbin uri=dvb://TV%20JOJ 2> /tmp/1
I don't see anything suspicious changes in -bad between 1.0.3 and 1.0.4. Could you compare how the upstream gst-plugins-bad 1.0.3 compares vs. the fedora gst-plugins-bad-free 1.0.3, that is if the upstream 1.0.3 exhibits the same issue? It seems more likely to me that some plugin that doesn't ship with the fedora -free variant causes problems.
UPDATE: gstreamer-plugins-bad-1.0.3 is jamming too. I should downgrade to gstreamer-plugins-bad-1.0.2 to fix this problem. Tested all versions directly from gstreamer download page: 1.0.2 - OK 1.0.3 - jamming 1.0.4 - jamming
Thanks for tracking down the exact version. My guess would be that this commit might be related, perhaps you could try reverting it locally (in 1.0.4) to see if it changes anything? http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?h=1.0&id=9167b4557948795ee85f98afa412b4559f6e9862 mpegts: Only use timestamp-based PCR/PTS estimation when needed When dealing with non-time based push-mode streams, we need to revert to using the offset-based PCR/PTS estimation logic of packetizer. This solves uses cases such as: pushfile:// ! tsdemux src ! queue ! tsdemux https://bugzilla.gnome.org/show_bug.cgi?id=687178
Thanks for path. After revert apply my problems are solved. This patch caused it. If you can rewrite it, just tell me and I will retest.
Edward seems to be MIA, so punting to 1.0.6
Punting to "whenever some feels like looking at it", sorry.
Reconsider reverting this commit in next release. Which one is used more often, DVB playback or pushfile? May be you should reopen bug#687178 too.
Well, it's been in a few releases now already, so ping-ponging back and forth is not going to be great either, and will cause other problems. Not sure re-opening more bugs is going to get this fixed any faster :) I'll try to bring a DVB stick to the hackfest in Milan next week, maybe we can have a look at it there then.
commit 68c0d16b2c69b67a24a23c79bd72b5ab62e4a2ab Author: Edward Hervey <edward@collabora.com> Date: Sat Mar 30 13:40:21 2013 +0100 dvbsrc: We output time segments Fixes #690949 commit ca3146a2cd8be76efd2ce802ca1d8e85b6fa127b Author: Edward Hervey <edward@collabora.com> Date: Sat Mar 30 13:39:49 2013 +0100 tsparse: Ensure segment events are forwarded We skip them for tsdemux though (recreated later) Fixes #690949
I can confirm, that this patch works well. Thanks for patch.
*** Bug 597195 has been marked as a duplicate of this bug. ***