GNOME Bugzilla – Bug 680699
Problems playing an MPEG PS video
Last modified: 2015-02-12 15:43:22 UTC
Problem number one, playing the video from file like this: gst-launch-0.10 playbin2 uri=file:///data/data/jend.ps Three observed behaviours between multiple invocations: 1. GStreamer stuck with the current file position at 2326528. Attempt to run with debug makes the issue non-reproducible. 2. Playback does not start, error is: """ Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: GStreamer encountered a general stream error. Additional debug info: gstdecodebin2.c(3305): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: all streams without buffers ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... """ 3. File plays correctly to the end. Second problem, with a different file. Again the equivalent playback command: gst-launch-0.10 playbin2 uri=file:///data/data/jmid.ps Three observed behaviours between multiple invocations: 1. GStreamer stuck with the current file position at 2719744. Attempt to run with debug makes the issue non-reproducible. 2. Playback does not start, error is: """ Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: GStreamer encountered a general stream error. Additional debug info: gstdecodebin2.c(3305): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: all streams without buffers ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... """ 3. File starts playback but EOF is signalled incorrectly ~14 seconds before the actual EOF. At this point GStreamer seems to be reading data from the file and not finding anythign expect stream padding (0x1be), while I can clearly see there is valid data in the stream after this point (0x1ba). I think both files are valid and can provide them on request (they are big, so can't attach them here). They are certainly playable with VLC and mplayer. jend.ps is actually the end bit of jmid.ps, just at the point GStreamer incorrectly declares EOF. Software in use: gstreamer-tools-0.10.35-90.fc16.x86_64 gstreamer-0.10.35-90.fc16.x86_64 gstreamer-plugins-base-0.10.35-90.fc16.x86_64 gstreamer-plugins-bad-free-0.10.22-91.fc16.2.x86_64 gstreamer-plugins-ugly-0.10.18-90.fc16.x86_64 gstreamer-plugins-good-0.10.30-90.fc16.x86_64 gstreamer-ffmpeg-0.10.13-90.fc16.x86_64 gstreamer-plugins-bad-0.10.22-90.fc16.x86_64 There are some patches applied relating to MPEG TS support.
So, could the files be provided (by means of some (temporary) url or so) ?
Mark: I'll send you the sample files. Also: "Note that we are using ffmpeg's MPEG2 decoder (because it is multi-threaded) which is what crashes for at least 640x480.mpg and CrossSpin.mpeg. Not sure if you are interested in this setup." Might be something that's fixed in later libav versions then..
Almost 2.5 years without comments. I don't seem to have the sample files any longer, and this was filed against 0.10 (heavily patched even), so I'd say let's close this, there's not much value in keeping it open. If there are still issues with recent 1.x versions, someone will file new bugs. Please re-open if you still have problems with 1.x, thanks!