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?