[Gambas-user] media component syntax and the gstreamer filesink
Fabien Bodard
gambas.fr at ...626...
Fri Feb 14 19:37:53 CET 2014
and ? it's?
2014-02-14 16:33 GMT+01:00 Dominique Michel <dominique.michel at ...3298...>:
> Le Fri, 14 Feb 2014 11:51:08 +0100,
> Dominique Michel <dominique.michel at ...3298...> a écrit :
>
>> I am adding a preference system to the WaveGenerator for the audio
>> sink. It work for all sinks I try but one, the filesink.
>>
>> It is something like
>>
>> $hPlayer = New MediaPipeline
>> $hAudio = New MediaControl($hPlayer, "audiotestsrc")
>> $hConv = New MediaControl($hPlayer, "audioconvert")
>> ' Set the output sink
>> $hOutput = New MediaControl($hPlayer, Settings["OutputSink",
>> "autoaudiosink"])
>> ' Set the pipeline
>> $hAudio.LinkTo($hConv)
>> $hConv.LinkTo($hOutput)
>>
>> When the output sink is filesink, the preference key look like
>> OutputSink="filesink location=/home/dom/wavegenerator.ogg"
>>
>> And when running it, it fail with
>> Unable to create mediacontrol dans FMain:50
>>
>> which is
>> $hOutput = New MediaControl($hPlayer, Settings["OutputSink",
>> "autoaudiosink"])
>>
>> I try without the location=.., or without the path with just
>> location=wavegenerator.ogg, and get the same result.
>>
>> Is it something I can do to get this to work?
>
> Never mind, I find it.
>
>>
>> Dominique
>>
>> ------------------------------------------------------------------------------
>> Android apps run on BlackBerry 10
>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>> Get your Android app in front of a whole new audience. Start now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience. Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Fabien Bodard
More information about the User
mailing list