Hi! Thanks for visiting my blog. If you've received any value from my content would you mind supporting my new startup by downloading our browser add-on? It's called PriceBlink and makes online shopping a breeze. You can watch it in action here and download it for Chrome, Firefox, IE, or Safari by going to PriceBlink.com. Thank you and I hope you enjoy!

Extracting Frame at Specific Time Using FFmpeg

Jan 15

After much trial and error I’ve finally figured out how to extract a specfic frame from a video file using FFmpeg. The command to accomplish this looks like:

ffmpeg -i swing.avi -ss 6.0 -t 0.001 -y -f singlejpeg swing.jpg

While I’m not sure how to specify an exact frame number, you can specify a start time offset (-ss). You also need to specify the duration (-t), which in most cases will be 0.001.

I’ve received a few emails from FFmpeg users that can’t seem to get this to work. Give this a try and please let me know if you run into any problems.

No comments

Trackbacks/Pingbacks

  1. [db75] » Blog Archive » FFmpeg mjpeg Argument - [...] I recently posted about extracting jpeg frames from video files.  I received an email from a reader who was ...

Leave a Reply