Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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";
share|improve this question

1 Answer 1

ffmpeg -i video.flv -an -ss 00:00:03 -an -r 1 -vframes 1 -y %d.jpg 

source

share|improve this answer
    
No its not working –  Ipsita Dec 2 '10 at 9:35
    
Ipsita was probably using an outdated version of ffmpeg, the command here does indeed work perfectly well. –  evilsoup Jan 24 '13 at 22:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.