GNOME Bugzilla – Bug 719903
dvdspu: gst_segment_to_running_time: assertion 'segment->format == format' failed
Last modified: 2018-11-03 13:19: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
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.
Created attachment 263599 [details] G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd://
Created attachment 263600 [details] GST_DEBUG=*:6 gst-launch-1.0 playbin uri=dvd://
Created attachment 263602 [details] G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 playbin uri=dvd:// this time with: thread apply all bt
Thanks!
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 :)
Created attachment 264725 [details] backtrace gst-launch
Thanks! > in dvdbin_pad_blocked_cb() at resindvdbin.c:932
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.
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 ...
-- 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.