After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690949 - DVB playback is at 1 fps after update from 1.0.2 to 1.0.3
DVB playback is at 1 fps after update from 1.0.2 to 1.0.3
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
Other Linux
: Normal blocker
: 1.0.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 597195 (view as bug list)
Depends on:
Reported: 2013-01-01 18:21 UTC by Jan ONDREJ (SAL)
Modified: 2013-04-26 14:45 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4

Debug output. (683.89 KB, application/x-bzip2)
2013-01-01 18:31 UTC, Jan ONDREJ (SAL)

Description Jan ONDREJ (SAL) 2013-01-01 18:21:00 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.
Comment 1 Jan ONDREJ (SAL) 2013-01-01 18:31:40 UTC
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
Comment 2 Tim-Philipp Müller 2013-01-01 18:46:33 UTC
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.
Comment 3 Jan ONDREJ (SAL) 2013-01-01 18:58:12 UTC
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
Comment 4 Tim-Philipp Müller 2013-01-01 19:07:45 UTC
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?

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
Comment 5 Jan ONDREJ (SAL) 2013-01-01 19:14:46 UTC
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.
Comment 6 Tim-Philipp Müller 2013-01-08 00:39:29 UTC
Edward seems to be MIA, so punting to 1.0.6
Comment 7 Tim-Philipp Müller 2013-03-22 14:05:40 UTC
Punting to "whenever some feels like looking at it", sorry.
Comment 8 Jan ONDREJ (SAL) 2013-03-22 14:50:18 UTC
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.
Comment 9 Tim-Philipp Müller 2013-03-22 15:02:04 UTC
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.
Comment 10 Edward Hervey 2013-03-30 12:57:02 UTC
commit 68c0d16b2c69b67a24a23c79bd72b5ab62e4a2ab
Author: Edward Hervey <>
Date:   Sat Mar 30 13:40:21 2013 +0100

    dvbsrc: We output time segments
    Fixes #690949

commit ca3146a2cd8be76efd2ce802ca1d8e85b6fa127b
Author: Edward Hervey <>
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
Comment 11 Jan ONDREJ (SAL) 2013-03-30 20:55:52 UTC
I can confirm, that this patch works well.
Thanks for patch.
Comment 12 Edward Hervey 2013-04-26 14:45:37 UTC
*** Bug 597195 has been marked as a duplicate of this bug. ***