Fix family map fullscreen jitter and long recording playback
This commit is contained in:
+3
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user