output selector question
Michael Gruner
michael.gruner at ridgerun.com
Wed Apr 23 09:50:35 PDT 2014
Hi Tom
Set 'async=false' in your alsasinks. This is a prerolling problem, your
pipeline wont be able to complete the state change to paused until all
the sinks receive a buffer, which is an unlikely situation when using an
output selector. Async=false overrides this behavior.
Michael
On 04/21/2014 01:42 PM, Thomas Green wrote:
>
> 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.
>
> Tom
>
> *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,
>
> Tom
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140423/6e44b68d/attachment-0001.html>
More information about the gstreamer-devel
mailing list