The below command creates jpeg out of .mpg, but fails to create jpeg out of .flv.
How can I do that?
$ffmpegpath = FFMPEG_PATH;
$input = "video_file/orig/fdgdf.mpg";//Lady.flv";
$output = "video_file/thumb/kuni.jpeg";
$command = "$ffmpegpath -i $input -an -ss 00:00:$fromdurasec -r 1 -vframes 1 -s 80x80 -f mjpeg -y $output";