...

View Full Version : ffmpeg - php?



amir
11-10-2006, 06:33 PM
anyone have any experience using ffmpeg-php to convert various video formats to FLV ?

batch processing?

anything?

Nicklas
11-10-2006, 08:19 PM
Well, I guess you would have to loop thru the files and convert them one by one.

ex:

foreach($array as $filename) {

$to_flv = preg_replace('/(avi|mpeg|wmv)$/', 'flv', $filename);
exec("START c:/ffmpeg/ffmpeg -i $filename $to_flv");

}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum