I think you can use exec, passthru, shell_exec or some other similiar
function from the php side to run the program on the server as an external
process (I never did that, but with the proper permissions, I believe it's
possible). So, you would tell this program to extract the audio data to some
file and when it returns, you could pass the path of the new mp3 to the
flash app for it to load it.


Cheers
Juan Pablo Califano



2008/10/8, BOYD SPEER <[EMAIL PROTECTED]>:
>
> Thanks , Juan!
> can a php script interact with this converter (or how would you hook into
> this from a .swf that is running on a client machine?) I would like to save
> a streaming audio on Red5 streaming server and then quickly do the
> conversion and play it as an.mp3 so I can use the new sound api to draw an
> image of the sound. (I can't seem to get this to happen with the native
> nelly moser / flv files. )
>
> -Boyd
>
>
> ----- Original Message -----
> From: Juan Pablo Califano <[EMAIL PROTECTED]>
> Date: Wednesday, October 8, 2008 11:20 am
> Subject: Re: [Flashcoders] can audio be extracted from .flv (audio only)
> and converted to .mp3 using AS3?
> To: Flash Coders List <[email protected]>
>
> > I've tried (but not used extensively) Moyea FLV Converter SDK
> > for extracting
> > Nellymoser encoded audio. I has a command line interface so you can
> > use it programmatically
> > from the server side. I tried with .NET and I think it's Windows only,
> > though, so if you're running php on Linux, it's probably not an
> > option. I
> > think the trial limits the extracted sample to 30 secs or
> > something like
> > that.
> >
> > http://www.flvsoft.com/flv_converter_sdk/
> >
> >
> > Cheers
> > Juan Pablo Califano
> >
> >
> > 2008/10/8, BOYD SPEER <[EMAIL PROTECTED]>:
> > >
> > >
> > > Can audio be extracted from .flv (audio only) and converted to
> > .mp3 using
> > > AS3 / php?
> > > alternately...
> > > Is it possible to play a streaming sound from an .flv
> > file on FMS or Red5
> > > and use SpectrumAnalyzer class to display an image created
> > from the
> > > byteArrays in the sound channels? How could you pass the data
> > from the
> > > streaming sound to the spectrum analyzer instance? (Does not
> > seem to work
> > > when passing a stream... needs a URLLoader ...).
> > > -Boyd
> > > _______________________________________________
> > > Flashcoders mailing list
> > > [email protected]
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to