Is there a way to execute the ffmpeg using php’s exec function?
Does anyone have a tutorial on how this works? according to dreamhost, the ffmpeg-php alternative they have in their wiki is out of date and will not work without a custom installation of php.
ffmpeg is available as dream host have installed across the board.
all you nned to do is exec(ffmepg …);
that shoudl do the trick
$cmd = ‘/usr/bin/ffmpeg -i /path/to/video/video.mpg -ab 90 -ar 22050 -b 500 -r 15 -s 640x480 /path/to/video/video.flv’;
and it creates the the .flv file, however, the .flv contains no data. It’s 0KB in size.