Good day! Problem when converting from avi to flv.
<?php $input = "video.avi"; $output = "video.flv"; $ffmpeg = new ffmpeg_movie($input); system("ffmpeg -i $input -ar 44100 -f flv $output"); ?>
The call system and ffmpeg occurs, because if you specify the wrong name in the $ input , then php swears, they say, the file is not found. However, the video.flv file is not created. What cant, I do not understand! And which is better FLV or SWF?
$input
and want something (video.flv
) to appear anyway? - drdaeman pm