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 680699 - Problems playing an MPEG PS video
Problems playing an MPEG PS video
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.22
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-27 11:22 UTC by Tvrtko Ursulin
Modified: 2015-02-12 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tvrtko Ursulin 2012-07-27 11:22:03 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.
Comment 1 Mark Nauwelaerts 2012-10-25 09:23:15 UTC
So, could the files be provided (by means of some (temporary) url or so) ?
Comment 2 Tim-Philipp Müller 2012-10-25 12:45:08 UTC
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..
Comment 3 Tim-Philipp Müller 2015-02-12 15:43:22 UTC
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!