1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-01-19 21:31:16 +00:00

[ModifyChapters] add --round-cuts-to-keyframes option

This commit is contained in:
Quantum
2024-12-25 19:45:05 -05:00
parent 3905f64920
commit cfc29f62c8
5 changed files with 122 additions and 6 deletions

View File

@@ -677,6 +677,7 @@ def get_postprocessors(opts):
'remove_ranges': opts.remove_ranges,
'sponsorblock_chapter_title': opts.sponsorblock_chapter_title,
'force_keyframes': opts.force_keyframes_at_cuts,
'round_to_keyframes': opts.round_cuts_to_keyframes,
}
# FFmpegMetadataPP should be run after FFmpegVideoConvertorPP and
# FFmpegExtractAudioPP as containers before conversion may not support