GNOME Bugzilla – Bug 712219
dvdspu: stalled playback
Last modified: 2013-11-26 11:32:51 UTC
Files encoded with vp8/vorbis and mixed in to matroska stall on playback. For example if i play this file with totem: https://www.dropbox.com/s/0lrcmxj1g8wwhpt/out.mkv it will always stall at 0:03:25. It can be as well an encoding problem, but this file is working with vlc.
One addition, in this case it will stall only if played from the beginning.
hmm... if i use: gst-launch-1.0 -vm filesrc location=out.mkv ! decodebin name=dec dec. ! pulsesink dec. ! autovideosink instead of totem, this file works without problems. So, is it totem problem, or it use just different pipeline?
Looks like this was due to dvdspu going loopy at some point: commit db915754c15009dfe61bbc016b801f5bb63b1e84 Author: Mark Nauwelaerts <mnauw@users.sourceforge.net> Date: Sat Nov 23 14:35:06 2013 +0100 dvdspu: pop new packet when invalid next command block ... to prevent staying stuck on current command block and busy looping. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712219
Thanks! Works for me.
A small addendum to that commit: commit d92b6f799595fcb8ad5ac6518565e745d00a0cd6 Author: Jan Schmidt <jan@centricular.com> Date: Mon Nov 25 15:17:33 2013 +1100 dvdspu: Don't unmap an unreffed buffer gst_dvd_spu_finish_spu_buf drops the reference to the current buffer, so make sure to call gst_buffer_unmap before it.