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 669132 - [avidemux] caps negotiation failure
[avidemux] caps negotiation failure
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-31 19:41 UTC by Philippe Normand
Modified: 2012-01-31 20:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philippe Normand 2012-01-31 19:41:55 UTC
When playing any .avi file with playbin2 from the latest pre-preleases I get this:


0:00:00.168228517  1644  0x88dbe38 WARN                avidemux gstavidemux.c:5204:gst_avi_demux_loop:<avidemux0> error: Internal data stream error.
0:00:00.168251844  1644  0x88dbe38 WARN                avidemux gstavidemux.c:5204:gst_avi_demux_loop:<avidemux0> error: streaming stopped, reason not-negotiated
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0: Internal data stream error.
Additional debug info:
gstavidemux.c(5204): gst_avi_demux_loop (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0:
streaming stopped, reason not-negotiated

Attaching debug log. Setting to blocker because I'm hitting this issue since I upgraded to the pre-releases packaged in Debian experimental.
Comment 1 Philippe Normand 2012-01-31 19:45:10 UTC
Log is there: http://dl.dropbox.com/u/280087/log.bz2
Comment 2 Tim-Philipp Müller 2012-01-31 20:10:23 UTC
I'm going to guess this is a debian packaging issue - are you using packages from debian-multimedia.org by any chance (such as libavcodec)?


0:00:02.880505753  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegcodecmap.c:2088:gst_ffmpeg_caps_to_pixfmt: converting caps video/x-xvid, framerate=(fraction)24000/1001, width=(int)624, height=(int)352, codec_data=(buffer)000001b0f5000001b5090000010000000120088685770307d313842c1463000001b25876694430303633, pixel-aspect-ratio=(fraction)180224/180219
0:00:02.880532432  1259  0x9e995c0 DEBUG               GST_PADS gstpad.c:5430:gst_pad_send_event:<aqueue:sink> sent event, result 1
0:00:02.880545772  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegcodecmap.c:2106:gst_ffmpeg_caps_to_pixfmt: setting framerate 24000/1001 = 23.976024
0:00:02.880549264  1259  0x9e995c0 LOG                 GST_PADS gstpad.c:5281:gst_pad_push_event:<sink:proxypad19> sent event to peerpad <aqueue:sink>, result 1
0:00:02.880562464  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegcodecmap.c:2118:gst_ffmpeg_caps_to_pixfmt: setting pixel-aspect-ratio 180219/180224 = 0.999972
0:00:02.880568261  1259  0x9e995c0 DEBUG               GST_PADS gstpad.c:5430:gst_pad_send_event:<abin:sink> sent event, result 1
0:00:02.880581042  1259  0x9e995c0 LOG                 GST_PADS gstpad.c:5281:gst_pad_push_event:<streamsynchronizer0:src_1> sent event to peerpad <abin:sink>, result 1
0:00:02.880586559  1259  0x9e4ce20 LOG                   ffmpeg gstffmpegdec.c:778:gst_ffmpegdec_setcaps:<ffdec_mpeg4_crystalhd0> size after 624x352
0:00:02.880594451  1259  0x9e995c0 DEBUG               GST_PADS gstpad.c:5430:gst_pad_send_event:<streamsynchronizer0:sink_1> sent event, result 1
0:00:02.880598991  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegdec.c:793:gst_ffmpegdec_setcaps:<ffdec_mpeg4_crystalhd0> sink caps have pixel-aspect-ratio of 180224:180219
0:00:02.880604718  1259  0x9e995c0 LOG                 GST_PADS gstpad.c:5281:gst_pad_push_event:<audiotee:src0> sent event to peerpad <streamsynchronizer0:sink_1>, result 1
0:00:02.880611563  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegdec.c:808:gst_ffmpegdec_setcaps:<ffdec_mpeg4_crystalhd0> Using framerate 24000/1001 from incoming caps
0:00:02.880622598  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegdec.c:818:gst_ffmpegdec_setcaps:<ffdec_mpeg4_crystalhd0> trying to enable direct rendering
0:00:02.880632515  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegdec.c:836:gst_ffmpegdec_setcaps:<ffdec_mpeg4_crystalhd0> enabled direct rendering
0:00:02.880650255  1259  0x9e4ce20 ERROR                 ffmpeg :0:: Codec is experimental but experimental codecs are not enabled, see -strict -2
0:00:02.880662826  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegdec.c:722:gst_ffmpegdec_open:<ffdec_mpeg4_crystalhd0> ffdec_mpeg4_crystalhd: Failed to open FFMPEG codec
0:00:02.880675677  1259  0x9e4ce20 DEBUG                 ffmpeg gstffmpegdec.c:916:gst_ffmpegdec_setcaps:<ffdec_mpeg4_crystalhd0> Failed to open
Comment 3 Philippe Normand 2012-01-31 20:20:53 UTC
Right, downgrading gst-ffmpeg to the sid (not debian-multimedia) version fixes the issue. Thanks!

(Why on earth am I still using debian-multimedia repo....)