Skip to main content
edited tags
Link
evilsoup
  • 13.6k
  • 3
  • 61
  • 81
Source Link
Min Sun
  • 21
  • 1
  • 2

how can I extract from video using ffmpeg with timestamps information

I am using ffmpeg to extract frame and save it into jpg files as follow.

ffmpeg -i video.avi -r 1 -f image2 -q 1 %05d.jpg

However, how can I get the timestamps information of each extracted frame. For example, I would like to save the jpg file with filename as hh_mm_ss.jpg?