Fix family map fullscreen jitter and long recording playback

This commit is contained in:
Codex
2026-10-06 22:46:50 +08:00
parent 7d4329f773
commit 12556bf10f
13 changed files with 92 additions and 14 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ def command(source, authorization, duration):
'-threads', '1', '-filter_threads', '1'] + acceleration + [
'-rw_timeout', '15000000', '-headers', 'Authorization: ' + authorization + '\r\n',
'-analyzeduration', '1000000', '-probesize', '1000000',
'-readrate', '1', '-i', source, '-t', str(duration),
# Recordings are finite HTTP downloads. Pacing their input like a
# live source stalls upstream writes and truncates long responses.
'-i', source, '-t', str(duration),
'-map', '0:v:0', '-map', '0:a:0?', '-sn', '-dn'] + video + [
'-c:a', 'aac', '-ar', '48000', '-ac', '1', '-b:a', '64k',
'-movflags', '+frag_keyframe+empty_moov+default_base_moof',