[Gambas-user] MP3

Héctor Fernández López trorrr at ...397...
Sat May 29 03:09:03 CEST 2004


El Sábado, 29 de Mayo de 2004 03:01, Héctor Fernández López escribió:
> El Martes, 25 de Mayo de 2004 18:43, Benoit Minisini escribió:
> > On Tuesday 25 May 2004 14:21, Tim Hanschen wrote:
> > > I read a bit docu... there is a remote interface for mpg321
> > > available... you can set mpg321 in an interactive mode. That means that
> > > you can type in a command for stop, ff or rew, but I do not know how to
> > > send these "keys" from gambas... I tried to write it to stdout, but
> > > that did not work.. ;-(
> > >
> > > - Tim -
> >
> > Something like that:
> >
> > DIM hProcess AS Process
> >
> > EXEC [ "mpg321", "options" ] FOR READ WRITE AS #hProcess
> >
> > ...
> >
> > PRINT #hProcess, "The keys";
> >
> >
> > PUBLIC SUB Process_Read()
> >
> >   DIM sRead AS String
> >
> >   READ #hProcess, sRead, -256
> >
> >   PRINT "mpg321 sent: "; sRead
> >
> > END
> >
> >
> > Look at the examples that use external programs, like the video player
> > that uses mplayer and send it commands.
> >
> > Regards,
>
> Hi, there is some argument in mpg123 that allows to play a soundfile
> starting in the 34th second, as example?
>
Sorry, i've found an argument in the mpg123 man page that makes mpg123 skip 
'n' first frames when i sent the previous mail.  The question is answered.  
Bye.
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id149&alloc_id66&op=Click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list