copy audio and video codec on recording
This commit is contained in:
parent
7272b96cc7
commit
62a4aa9596
1 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue