GNOME Bugzilla – Bug 558044
Audio playback broken on OSX
Last modified: 2010-04-13 11:54:53 UTC
With the latest 1.3.3 dmg for OSX, playback of any audio file fails after 2 to 5 seconds. I'm seeing the following debug output with GST_DEBUG=2 on attempting to play a valid mp3: ... WARN qtwrapper audiodecoders.c:690:qtwrapper_audio_decoder_chain:<qtwrapperaudiodec__mp30> Error in SCAudioFillBuffer() : !buf ... WARN basesrc gstbasesrc.c:2234:gst_base_src_loop:<source> error: Internal data flow error. ... WARN basesrc gstbasesrc.c:2234:gst_base_src_loop:<source> error: streaming task paused, reason error (-5) ... WARN osxaudio gstosxringbuffer.c:318:gst_osx_ring_buffer_stop: AudioDeviceStop returned 28773 ... WARN GST_PADS gstpad.c:3202:gst_pad_get_internal_links:<qtwrapperaudiodec__mp30:sink> Calling unsafe internal links ... WARN GST_PADS gstpad.c:3108:gst_pad_get_internal_links_default:<qtwrapperaudiodec__mp30:sink> Unsafe internal links used Followed by ... [Error 21:28:31.180] GStreamer stream error: Failed Running the following pipeline at the command line works as expected: gst-launch filesrc=test.mp3 ! decodebin ! audioconvert ! osxaudiosink This is with a fresh svn checkout of 1.3.3 on Leopard (10.5), and all deps built from build/osx/targets/*.
After some additional investigating, I'm actually finding that the gst-launch pipeline is also failing 50% of the time. So this looks to be a qtwrapper issue. I wasn't seeing this issue in my builds against an older gstreamer (also using qtwrapper) and the original Mono-OSX stack. I've rebuilt against gstreamer 0.10.19 with gst-plugins-bad 0.10.7. This time playback seems fine, the only issue is that the timeline widget doesn't progress with the audio, it just jumps straight to the end.
I can confirm Eoin's comment. Full debug output available here: http://gist.github.com/20312
Changing product to GStreamer since gst-launch fails also. Please update the version to the one that's crashing for you. Also, please open a new bug for the timeline widget problem.
Thanks Andrew, To be clear, any mp3 file played via qtwrapper in version 0.10.9 of gst-plugins-bad on OSX (at least 10.5) does not play as expected. Playback stops after 2 to 5 seconds with the output listed above.
Works for me with git versions. Could you please check if it also works for you?
Closing as fixed as per last comment. Feel free to reopen if it this is still an issue or set to VERIFIED if it is indeed fixed. TIA!