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 719903 - dvdspu: gst_segment_to_running_time: assertion 'segment->format == format' failed
dvdspu: gst_segment_to_running_time: assertion 'segment->format == format' fa...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.2.1
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 695606
Blocks:
 
 
Reported: 2013-12-05 13:16 UTC by Frank Ansari
Modified: 2018-11-03 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd:// (3.92 KB, text/x-log)
2013-12-05 16:03 UTC, Frank Ansari
Details
GST_DEBUG=*:6 gst-launch-1.0 playbin uri=dvd:// (618.18 KB, application/x-bzip)
2013-12-05 16:04 UTC, Frank Ansari
Details
G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd:// (18.74 KB, text/x-log)
2013-12-05 16:12 UTC, Frank Ansari
Details
backtrace gst-launch (22.87 KB, text/x-log)
2013-12-21 18:33 UTC, Frank Ansari
Details

Description Frank Ansari 2013-12-05 13:16:31 UTC
What I want to achieve: DVD playback with totem media player.

I get this error message when I run

gst-launch-1.0 playbin uri=dvd://

with "Desperate Housewives" (season 4, part 2, episodes 11-14).

gst_segment_to_running_time: assertion 'segment->format == format' failed

When I insert seasion 4, part 2, episodes 15-17 I get a different error message:

ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: The stream is in the wrong format.
Additional debug info:
gstaudiobasesink.c(1972): gst_audio_base_sink_render (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse:
sink not negotiated.

Both DVDs work fine using Fluendo DVD player.

What is going on?


I have a fresh Arch Linux instalation with these gstreamer compoments:

local/clutter-gst 2.0.8-1
    GStreamer bindings for clutter
local/gnome-video-effects 0.4.0-2
    A collection of GStreamer effects
local/gst-libav 1.2.1-1
    Gstreamer libav Plugin
local/gst-plugins-bad 1.2.1-1
    GStreamer Multimedia Framework Bad Plugins
local/gst-plugins-base 1.2.1-1
    GStreamer Multimedia Framework Base Plugins
local/gst-plugins-base-libs 1.2.1-1
    GStreamer Multimedia Framework Base Plugin libraries
local/gst-plugins-good 1.2.1-1
    GStreamer Multimedia Framework Good Plugins
local/gst-plugins-ugly 1.2.1-2
    GStreamer Multimedia Framework Ugly Plugins
local/gstreamer 1.2.1-1
    GStreamer Multimedia Framework
local/gstreamer0.10 0.10.36-2
    GStreamer Multimedia Framework
local/gstreamer0.10-bad 0.10.23-5
    GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)
local/gstreamer0.10-bad-plugins 0.10.23-5 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)
local/gstreamer0.10-base 0.10.36-1
    GStreamer Multimedia Framework Base plugin libraries
local/gstreamer0.10-base-plugins 0.10.36-1 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Base Plugins (gst-plugins-base)
local/gstreamer0.10-ffmpeg 0.10.13-1 (gstreamer0.10-plugins)
    Gstreamer FFMpeg Plugin
local/gstreamer0.10-good 0.10.31-3
    GStreamer Multimedia Framework Good plugin libraries
local/gstreamer0.10-ugly 0.10.19-7
    GStreamer Multimedia Framework Ugly plugin libraries
local/gstreamer0.10-ugly-plugins 0.10.19-7 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)
local/gstreamer0.10-vaapi 0.5.7-1
    GStreamer Multimedia Framework VA Plugins
local/phonon-gstreamer 4.7.0-2
    Phonon GStreamer backend
local/totem 3.10.1-1 (gnome)
    GNOME3 movie player based on GStreamer
Comment 1 Tim-Philipp Müller 2013-12-05 13:58:14 UTC
For the audio error, there exists a bug already, fwiw.

For the segment to running time warning, could you:

 a) run  G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd://
    and get a stack trace of where that comes from? "thread apply all bt" when it breaks at the warning.

 b) get a GST_DEBUG=*:6 gst-launch-1.0 playbin uri=dvd:// log for a case where you get that segment warning.

Thanks.
Comment 2 Frank Ansari 2013-12-05 16:03:26 UTC
Created attachment 263599 [details]
G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd://
Comment 3 Frank Ansari 2013-12-05 16:04:17 UTC
Created attachment 263600 [details]
GST_DEBUG=*:6 gst-launch-1.0 playbin uri=dvd://
Comment 4 Frank Ansari 2013-12-05 16:12:09 UTC
Created attachment 263602 [details]
G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd://

this time with:
thread apply all bt
Comment 5 Tim-Philipp Müller 2013-12-05 16:15:47 UTC
Thanks!
Comment 6 Sebastian Dröge (slomo) 2013-12-17 15:18:52 UTC
Can you get backtraces again with installed debug symbols for gst-plugins-bad? Without this the important part of the information is missing from the backtraces: the actual location in the code :)
Comment 7 Frank Ansari 2013-12-21 18:33:29 UTC
Created attachment 264725 [details]
backtrace gst-launch
Comment 8 Tim-Philipp Müller 2013-12-21 20:29:10 UTC
Thanks!

> in dvdbin_pad_blocked_cb() at resindvdbin.c:932
Comment 9 Jan Schmidt 2013-12-28 10:29:28 UTC
Unfortunately that backtrace is not for the same warning. In gst-plugins-bad 1.2.1, that would be the warning for newer GLib being asked to remove an already-removed probe, which is fixed in master already.

There's nowhere in resindvdbin that could generate the segment-in-wrong-format error afaics.
Comment 10 Frank Ansari 2013-12-28 12:57:28 UTC
One additional hint:

When I start DH 4.2 11-14 with DVDFASTSTART=no I get the same kind of error as in 15-17.

Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse: The stream is in the wrong format.
Additional debug info:
gstaudiobasesink.c(1972): gst_audio_base_sink_render (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink/GstPulseSink:audiosink-actual-sink-pulse:
sink not negotiated.
Execution ended after 0:00:00.000161246
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Comment 11 GStreamer system administrator 2018-11-03 13:19:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/122.