[FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2025-07-20 Thread basj
Hi, Out of curiosity, has there been any progress since 1 year about this topic? Really, millions of CPU-hours are probably wasted to reencode already-perfectly-encoded content, just for cutting purposes. For example, is there a way to cut a AVI or MKV H264 video with a specific starting point

[FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2024-08-20 Thread basj
>> 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 ;) > >Only do remux without trans

[FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2024-08-14 Thread basj
> > 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 > necessar

[FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2024-08-13 Thread basj
A little bump, does anyone have an idea about this? Do you think it would be worth developing a command-line option so that exact cutting with minimal re-encoding would be easier? Linked: https://superuser.com/questions/1850814/cut-a-video-with-ffmpeg-with-no-or-minimal-reencoding ___

[FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2024-08-05 Thread basj
copy -reencodebeforekeyframe output.mp4 Thanks, Basj ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] Feature to cut a video (-ss) with timings non aligned on keyframes, with minimal re-encoding

2024-08-01 Thread basj
copy -reencodebeforekeyframe output.mp4 Thanks, Basj ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".