Add video stream copy remuxing

This commit is contained in:
ajp_anton committed 2026-07-22 22:51:00 +00:00
1 parent 49296d6f45
commit d60ce51b14
7 files changed
+404 -68

No files matched your search

+11
View File
@@ -13,6 +13,17 @@ def normal_deleted_frame_count(timeline: OutputTimeline) -> int:
return missing_source_frames(timeline.consumed_source_frames)
def preserves_entire_source_timeline(timeline: OutputTimeline) -> bool:
return (
not timeline.beginning_trimmed
and not timeline.ending_trimmed
and not timeline.dropped_frame_count
and len(timeline.frames) == timeline.source_frame_count
and [frame.source_frame for frame in timeline.frames]
== list(range(timeline.source_frame_count))
)
def missing_source_frames_between_kept(timeline: OutputTimeline) -> int:
return missing_source_frames([frame.source_frame for frame in timeline.frames])