[FFmpeg-devel] Suggestion: Cache for seeking?
myLC at gmx.net
myLC at gmx.net
Tue Jul 13 12:58:16 EEST 2021
When cutting a long video from the command-line using
ffmpeg, seeking takes minutes. Since one rarely gets the
cut-points 100% correct the first time, it does take minutes
every time you try again with adjusted values.
Can't ffmpeg simply keep a small cache (in tmp) providing it
with the entry points? Just take the filename, size and time
stamps. If the file is unchanged, the next seeking (for
cuts) to a similar region should only take a split-second.
There could be an option for this. If so, I suggest it
should be on by default.
More information about the ffmpeg-devel
mailing list