[gst-devel] Separate audio feeds to front/side/rear channels
Wim Taymans
wim.taymans at gmail.com
Wed Aug 25 21:58:29 CEST 2010
On Wed, 2010-08-25 at 03:07 -0700, drunkahol wrote:
> # gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! alsasink
> device=front &
>
> gives me:
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstOggDemux:oggdemux0:
> Internal data stream error.
> Additional debug info:
> gstoggdemux.c(3450): gst_ogg_demux_loop ():
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstOggDemux:oggdemux0:
> stream stopped, reason not-negotiated
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> Leaving the "device=front" part off allows the audio to play.
You need to add audioresample before alsasink, this is likely a case
where the samplerate of the ogg file is not supported natively by the
front device, which by default doesn't do automatic resampling.
>
> Is there something I need to do to get the Ogg stream in the right format to
> play back on front/side/rear? Also, is there any way of listing which
> devices are available for alsasink? I've poked around endlessly with alsa
> configs etc and there doesn't seem to be anything.
aplay -L is probably what you are looking for.
Wim
>
> Thanks
>
> Duncan
>
More information about the gstreamer-devel
mailing list