What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » FFMPEG-PHP: converting videos

FFMPEG-PHP: converting videos
Author: Message:
Weyzza
Veteran Member
*****

Avatar
SoCal sunset > *

Posts: 1170
Reputation: 29
– / Male / –
Joined: May 2003
O.P. FFMPEG-PHP: converting videos
I want to convert any videos to FLV format.
code:
<?php
convertToFlv( "test.avi", "test.flv" );

function convertToFlv( $input, $output ) {
   echo "Converting $input to $output<br />";
   $command = "ffmpeg -i $input -s 320x240 -ar 44100 -r 12 $output";
   echo "$command<br />";
   shell_exec( $command );
   echo "Converted<br />";
}
?>
For some reason, it doesn't output anything.
What am I missing here?

ffmpeg
ffmpeg support (ffmpeg-php)     enabled
ffmpeg-php version              0.5.0
libavcodec version              Lavc51.32.0
libavformat version             Lavf51.8.0
Registered 7642 days, 21 hours, 43 minutes, 27 seconds ago.
Happy Birthday, WDZ

03-06-2007 07:42 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
FFMPEG-PHP: converting videos - by Weyzza on 03-06-2007 at 07:42 PM
RE: FFMPEG-PHP: converting videos - by WDZ on 03-06-2007 at 07:53 PM
RE: FFMPEG-PHP: converting videos - by Weyzza on 03-06-2007 at 08:03 PM
RE: RE: FFMPEG-PHP: converting videos - by WDZ on 03-06-2007 at 08:38 PM
RE: RE: RE: FFMPEG-PHP: converting videos - by Weyzza on 03-06-2007 at 08:54 PM
RE: FFMPEG-PHP: converting videos - by WDZ on 03-06-2007 at 09:11 PM
RE: FFMPEG-PHP: converting videos - by mysoogal on 05-03-2009 at 08:55 PM
RE: FFMPEG-PHP: converting videos - by Dr4g0n on 05-09-2009 at 03:28 PM
RE: FFMPEG-PHP: converting videos - by -dt- on 05-09-2009 at 03:36 PM
RE: FFMPEG-PHP: converting videos - by Dr4g0n on 05-09-2009 at 03:42 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On