output selector question
TGreen2 at Sorenson.com
Mon Apr 21 12:42:42 PDT 2014
Thanks for responding. The file is mu-law, thus the capsfilter specifying the input as audio/x-mulaw, and so it needs the decoder. I can see where you can trick the output selector if you can set the “is-live” property on the input, but a filesrc doesn’t have the property.
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Chuck Crisler
Sent: Monday, April 21, 2014 1:40 PM
To: Discussion of the development of and with GStreamer
Subject: Re: output selector question
I don't know audio but this is just a guess to try. Your file specified raw audio, so why are you using a decoder? Try removing the audio decoder.
On Mon, Apr 21, 2014 at 2:18 PM, Thomas Green <TGreen2 at sorenson.com<mailto:TGreen2 at sorenson.com>> wrote:
I’m running gstreamer 0.10.36 trying to put together a pipeline that looks like this:
gst-launch-0.10 filesrc location=Audio.raw ! audio/x-mulaw, channels=1, rate=8000 ! mulawdec ! queue ! audiorate ! output-selector name=selector selector. ! alsasink device=plughw:0,0 selector. ! alsasink device=plughw:1,3
but it never starts playing. I can go to either of the sinks without the selector, but when I use the selector, it just hangs. When running with the debug set to 9 for the selector and sinks, it appears that the selected sink never gets a playing message. The not selected sink never commits to the paused state. Am I doing something terribly wrong?
Thanks in advance,
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel