copy audio and video codec on recording

This commit is contained in:
deflax 2024-01-13 03:04:22 +02:00
parent 7272b96cc7
commit 62a4aa9596

View file

@ -169,8 +169,9 @@ def exec_recorder(stream_id, stream_hls_url):
FFmpeg()
.option("y")
.input(stream_hls_url)
.output(output, vcodec="copy")
)
.output(output,
{"codec:v": "copy", "codec:a": "copy", "bsf:a": "aac_adtstoasc"},
))
@ffmpeg.on("progress")
def on_progress(progress: Progress):