GNOME Bugzilla – Bug 680499
avdemux_ape: will not play some ape files, not-negotiated error
Last modified: 2012-09-28 23:57:41 UTC
Certain .ape files (monkey's audio) will not play in totem with Gstreamer built from source. An error message comes up: An error occurred Internal data stream error. However, this command works using gst-launch playbin2 uri=file:///path/to/file.ape Here is some text with error messages from the command line: chris@dellie-linux:~$ totem 0:00:06.573853701 3091 0x100d010 ERROR default totem-gst-helpers.c:61:totem_gst_message_print: message = Internal data stream error. 0:00:06.573926894 3091 0x100d010 ERROR default totem-gst-helpers.c:63:totem_gst_message_print: domain = 5610 (gst-stream-error-quark) 0:00:06.573948405 3091 0x100d010 ERROR default totem-gst-helpers.c:64:totem_gst_message_print: code = 1 0:00:06.573987377 3091 0x100d010 ERROR default totem-gst-helpers.c:65:totem_gst_message_print: debug = gstffmpegdemux.c(1499): gst_ffmpegdemux_loop (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdemux_ape:avdemux_ape0: streaming stopped, reason not-negotiated 0:00:06.574022786 3091 0x100d010 ERROR default totem-gst-helpers.c:66:totem_gst_message_print: source = <avdemux_ape0> 0:00:06.574050304 3091 0x100d010 ERROR default totem-gst-helpers.c:67:totem_gst_message_print: uri = (NULL)
Created attachment 221709 [details] totem --gst-debug=GST_PLUGIN_INFO:5,GST_PIPELINE:5,libav:5
(In reply to comment #0) > > {...} > > However, this command works using gst-launch playbin2 > uri=file:///path/to/file.ape > > I don't have playbin2 installed anymore, but gst-launch-1.0 playbin uri=... now fails similarly.
Could you make a sample file available, or point us to one?
Created attachment 225353 [details] debug messages from gst-launch1.0 playbin
Link to file https://docs.google.com/open?id=0B5FXtHrNOWfPcXJIUjZSdzI2RU0 It is fairly large.
Thanks a lot. This plays fine for me now with git master. I think it was fixed by this commit: commit 07cec6d216457d1367e83dab5322828cea957c74 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Sep 28 16:53:49 2012 +0100 avdemux: fix not-negotiated errors Drop caps event received on the sink pad, instead of putting it in the list of cached events to be sent downstream later. We don't want to send our container caps downstream to our decoders, that'll give us nasty not-negotiated errors. https://bugzilla.gnome.org/show_bug.cgi?id=680464 The fix will be included in the upcoming 1.0.1 release.
Thank you for fixing this. I verified that the file in question plays using gst-launch-1.0 playbin