Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Sat, 15 Feb 2014 02:49:14 +0100, Benoît Minisini a écrit : > Le 15/02/2014 02:23, Dominique Michel a écrit : > >> > >> That solve the duration issue with mplayer and alsaplayer: > >> $hAudio["is-live"] = "1" > >> but not the 0 length file issue. > > > > That solve it only partly. Both pla

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Tobias Boege
On Sat, 15 Feb 2014, Beno?t Minisini wrote: > Le 15/02/2014 02:23, Dominique Michel a ?crit : > >> > >> That solve the duration issue with mplayer and alsaplayer: > >> $hAudio["is-live"] = "1" > >> but not the 0 length file issue. > > > > That solve it only partly. Both players play it with th

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Benoît Minisini
Le 15/02/2014 02:23, Dominique Michel a écrit : >> >> That solve the duration issue with mplayer and alsaplayer: >> $hAudio["is-live"] = "1" >> but not the 0 length file issue. > > That solve it only partly. Both players play it with the wanted > duration, but they display a file length of 0 s

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Sat, 15 Feb 2014 00:38:43 +0100, Dominique Michel a écrit : > Le Fri, 14 Feb 2014 23:42:51 +0100, > Dominique Michel a écrit : > > > Le Fri, 14 Feb 2014 19:37:53 +0100, > > Fabien Bodard a écrit : > > > > > and ? it's? > > > > It's to add > > $hOutput["location"] = "wavegenerator.flac"

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Fri, 14 Feb 2014 23:42:51 +0100, Dominique Michel a écrit : > Le Fri, 14 Feb 2014 19:37:53 +0100, > Fabien Bodard a écrit : > > > and ? it's? > > It's to add > $hOutput["location"] = "wavegenerator.flac" > > > $hPlayer = New MediaPipeline > $hAudio = New MediaControl($hPlayer, "audi

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Fri, 14 Feb 2014 19:37:53 +0100, Fabien Bodard a écrit : > and ? it's? It's to add $hOutput["location"] = "wavegenerator.flac" $hPlayer = New MediaPipeline $hAudio = New MediaControl($hPlayer, "audiotestsrc") $hConv = New MediaControl($hPlayer, "flacenc") $hOutput = New MediaContr

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Fabien Bodard
and ? it's? 2014-02-14 16:33 GMT+01:00 Dominique Michel : > Le Fri, 14 Feb 2014 11:51:08 +0100, > Dominique Michel 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 >> >> $hPla

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Fri, 14 Feb 2014 11:51:08 +0100, Dominique Michel 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, "au

[Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
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