I know it's a bit late to answer this post.. But ;)
When you use ffmpeg (which works great) you should use flvtool2 to insert
the metadata like duration etc.
It kan be found at: http://www.inlet-media.de/flvtool2
A simple php sollution to execute ffmpeg and then the flvtool2 would be (if
you have the rights):
$shell = '/usr/bin/ffmpeg -i '.$uploadedfile.' -acodec mp3 -ab 96 -f flv -s
320x240 -ar 44100 -pass 2 -b 400 -r 25 -y '.$outputfile.' ; flvtool2 -U
'.$outputfile;
$output = exec($shell);
The ; seperator can be used in the commandline to execute another process
when the first is finished.
You can easily test it on your box with something like: "ls ; ls -l"
Greetz,
Bernard
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens ::: curdiss
> Verzonden: zaterdag 10 juni 2006 0:01
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Server app for video to swf conversion?
>
> seems like there has been much talk about FFMEG for server
> side solutions.
>
> http://soenkerohde.com/tutorials/ffmpeg
>
>
> Best, Curt
>
>
> On 6/9/06, Arlo Jamrog <[EMAIL PROTECTED]> wrote:
> > Hi all-
> >
> > I'm doing a user-upload based section of a site where the
> video they
> > upload gets converted to a swf for approval on a backend.
> Can anyone
> > point me toward a module or application that can do this? It's a
> > linux server. Thanks!
> >
> > -a
> >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com