[FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding
basj at gget.it
basj at gget.it
Wed Aug 14 13:05:39 EEST 2024
> > Do you think it would be worth developing a command-line option so that exact cutting with minimal re-encoding would be easier?
>
> How do you plan to figure out the options needed to be passed to each
> and every encoder, so that it'll produce compatible output to enable the
> necessary concatenation of old and new encoded data?
>
> That's by far the biggest roadblock I see with this.
I see. You're right, then this technique is probably a dead-end...
More generally, which is the recommanded way to cut a video with a specific starting point and specific length, with minimal re-encoding?
Millions of hours of CPU-time are probably wasted to reencode already-perfectly-encoded content, just for cutting ;)
Are there already promising dev attempts in the direction of a feature able to cut with minimal re-encoding?
More information about the ffmpeg-devel
mailing list