In my other log, there was no progress in the days when I used the FFMPEG command to extract images of specified frames from the video, in the past, the list of FFMPEG parameter commands I found on the Internet was not complete, and the-SS parameter was missing. so this problem was solved only now.
Today, after printing out the FFMPEG command using FFMPEG-h> ffmpeg.txt, we found this parameter:
-SS time_off set the Start Time Offset
You can use the-SS parameter to process the conversion task from the specified time. For example:
FFmpeg-I test2.asf-y-F image2-SS 08.010-T 0.001-s 352x240 B .jpg
The problem of any frame is solved as long as the time parameter after-SS is generated randomly and within the video validity period.
In addition, the unit of time followed by-SS is second.
2006-06-27Supplement:
In addition, by specifying - SS, and - Vframes can also achieve the same effect.
At this time-The time followed by the SS parameter can be written in two ways: hh: mm: SS or directly written in seconds:
FFmpeg - I test. ASF - Y - F image2 - SS 00 : 01 : 00 - Vframes 1 Test1.jpg
Or
FFmpeg - I test. ASF - Y - F image2 - SS 60 - Vframes 1 Test1.jpg
In this way, the output image is the same.