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 621060 - xviddec caps are overly limiting somehow
xviddec caps are overly limiting somehow
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.18
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-09 05:05 UTC by simon80
Modified: 2010-06-09 07:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description simon80 2010-06-09 05:05:57 UTC
I have a file:
$ file foo.avi 
foo.avi: RIFF (little-endian) data, AVI, 624 x 352, 29.97 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

The file can be successfully played with the following decoders:
$ gst-launch filesrc location=foo.avi ! avidemux name=d d. ! queue ! xviddec ! gconfvideosink  d. ! queue ! mad ! gconfaudiosink

However, the following doesn't work (see the ** line):
$ gst-launch playbin uri=file:///tmp/foo.avi Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** Message: don't know how to handle video/x-xvid, framerate=(fraction)2997003/100000, width=(int)624, height=(int)352
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 1498376981 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Edward Hervey 2010-06-09 07:05:12 UTC
That's because the xviddec element has a rank of GST_RANK_NONE, meaning it will not be used in the auto-plugging mechanism of playbin/decodebin.

We'd strongly recommend using gst-ffmpeg instead for mpeg4/xvid/divx streams.