Playback audio on Mac OS X
doon
don-prog at mail.ru
Wed Sep 30 13:52:40 PDT 2015
Output with "--gst-debug=3" option:
Setting pipeline to PAUSED ...
0:00:00.032003000 4120 0x7fe62bcd4900 WARN basesrc
gstbasesrc.c:3470:void gst_base_src_start_complete(GstBaseSrc *,
GstFlowReturn):<source> pad not activated yet
0:00:00.033290000 4120 0x7fe62bcd4900 WARN basesrc
gstbasesrc.c:3470:void gst_base_src_start_complete(GstBaseSrc *,
GstFlowReturn):<source> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.106320000 4120 0x7fe62c032140 WARN osxaudiosink
gstosxaudiosink.c:601:gst_osx_audio_sink_allowed_caps:<osxaudiosink0>
unrecognized channel: -1
0:00:00.106584000 4120 0x7fe62c032140 WARN osxaudiosink
gstosxaudiosink.c:601:gst_osx_audio_sink_allowed_caps:<osxaudiosink0>
unrecognized channel: -1
0:00:00.128755000 4120 0x7fe62c032140 WARN audioresample
gstaudioresample.c:1537:gboolean plugin_init(GstPlugin *): Orc disabled,
can't benchmark int vs. float resampler
0:00:00.129217000 4120 0x7fe62c032140 WARN GST_PERFORMANCE
gstaudioresample.c:1540:gboolean plugin_init(GstPlugin *): orc disabled, no
benchmarking done
0:00:00.133383000 4120 0x7fe62c032140 WARN baseparse
gstbaseparse.c:3264:void gst_base_parse_loop(GstPad *):<mpegaudioparse0>
error: streaming stopped, reason not-negotiated
0:00:00.133718000 4120 0x7fe62c032140 WARN queue
gstqueue.c:860:gboolean gst_queue_handle_sink_event(GstPad *, GstObject *,
GstEvent *):<aqueue> error: Internal data flow error.
ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
GStreamer encountered a general stream error.
0:00:00.134308000 4120 0x7fe62c032140 WARN queue
gstqueue.c:860:gboolean gst_queue_handle_sink_event(GstPad *, GstObject *,
GstEvent *):<aqueue> error: streaming task paused, reason not-negotiated
(-4)
Additional debug info:
gstbaseparse.c(3264): void gst_base_parse_loop(GstPad *) ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Tim Müller wrote
> On Mon, 2015-09-28 at 18:02 -0700, doon wrote:
>
>> I am trying to play mp3 audio using this pipeline:
>>
>> gst-launch-1.0 filesrc location="/Users/Zhenya/Downloads/test.mp3" !
>> mad !
>> audioconvert ! autoaudiosink
>
> While this might work, it's not a proper pipeline, you should have a
> parser (mpegaudioparse) between filesrc and the decoder (mad).
>
> You may also need an audioresample in front of the audio sink.
>
> Or even better, just do:
>
> gst-launch-1.0 filesrc location=test.mp3 ! decodebin ! audioconvert !
> audioresample ! autoaudiosink
>
> or
>
> gst-launch-1.0 uridecodebin uri=file:///path/to/test.mp3 !
> audioconvert ! audioresample ! autoaudiosink
>
> or
>
> gst-launch-1.0 playbin uri=file:///path/to/test.mp3
>
>> streaming task paused, reason not-negotiated (-4)
>
> This indicates something is wrong with format negotiation. Could be
> missing audioresample before sink if the sink only accepts one sample
> rate, but the file is another. Try the playbin pipeline to see if that
> works.
>
>> Identical pipeline works fine on Windows 7 with the same audio. *How
>> I can
>> resolve this issue on Mac OS X Mavericks?
>> *
>
> Cheers
> -Tim
>
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playback-audio-on-Mac-OS-X-tp4673864p4673905.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list