12
Dec
2008
1
| ffmpeg -i /my_video_file_dir/video.flv -y -f image2 -ss 8 -sameq -t 0.001 -s 320*240 /image_dir/screenshot.jpg |
320*240 : image dimension is 320 pixels width and 240 pixels height
-ss 8 : screenshot will be taken at 8 second after video starts.
Tags: ffmpeg, screenshot, video
Posted in Linux
Big ups, this has helped me!
Wow, thanks!
How can I control the quality of the screenshot image?
Hi Snowcore,
“-sameq” means use the same quality of the source video.
I read the long “man ffmpeg”, I couldn’t find where to adjust the quality other than just “-sameq”
Hello,
Your code does the trick. Thanks. Does ffmpeg allows the user to take a snapshot of a movie directly by accessing a DVD disc or a video_ts folder in a similar way? If yes, how, please?