add faststart

This commit is contained in:
j 2025-05-21 14:23:23 +01:00
commit a227d7d258

View file

@ -623,7 +623,7 @@ def render_all(options):
"-i", fragment_prefix / "front.mp4",
"-i", fragment_prefix / audio_front,
copy, "copy",
'-movflags', '+faststart',
"-movflags", "+faststart",
fragment_prefix / "front-mixed.mp4",
])
cmds.append([
@ -632,7 +632,7 @@ def render_all(options):
"-i", fragment_prefix / "back.mp4",
"-i", fragment_prefix / audio_back,
"-c:v", "copy",
'-movflags', '+faststart',
"-movflags", "+faststart",
fragment_prefix / "back-audio.mp4",
])
for cmd in cmds:
@ -725,6 +725,7 @@ def render_all(options):
"-i", base_prefix / "front.mp4",
"-i", base_prefix / "audio-5.1.mp4",
"-c", "copy",
"-movflags", "+faststart",
base_prefix / "front-mixed.mp4",
])
cmds.append([
@ -733,6 +734,7 @@ def render_all(options):
"-i", base_prefix / "back.mp4",
"-i", base_prefix / "audio-back.wav",
"-c:v", "copy",
"-movflags", "+faststart",
base_prefix / "back-audio.mp4",
])
for cmd in cmds: