Changes between Version 4 and Version 5 of Seeking with FFmpeg
- Timestamp:
- 09/12/2012 09:18:12 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Seeking with FFmpeg
v4 v5 46 46 There is no general rule how to correctly set both time points for -ss options, because those depend on the keyframe interval used when the input was encoded. But, just for the purpose of some orientation, the x264 encoder uses the gop size of 250 (which means 1 keyframe each 10 seconds if the input frame rate is 25 fps). 47 47 48 == Notes == 48 = Notes = 49 50 == Cutting small section == 49 51 50 52 For instance to extract only a small segment in the middle of a movie, it can be used in combination with "-t" which specifies the duration, like -ss 60 -t 10 to capture from second 60 to 70. 53 54 == Timestamp syntax == 55 56 Note that you can use timestamp inputs like 00:02:30 or 150 (mean the same thing). Also if you use a fraction, like 02:30.05 this is interpreted at "5 100ths of a second" not as frame 5 (for instance 02:30.5 would be 2 minutes, 30 seconds, and a half a second).


