Skip to content

Commit

Permalink
tweak ffmpeg buffer #388
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Jan 9, 2024
1 parent 7ac3ed4 commit 37c7a7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/wyzebridge/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def get_ffmpeg_cmd(
+ re_encode_video(uri, is_vertical)
+ (["-map", "1:a", "-c:a", audio_out] if audio_in else [])
+ (a_options if audio and audio_out != "copy" else [])
+ ["-max_muxing_queue_size", "1", "-max_delay", "0.1", "-rtbufsize", "32"]
+ ["-f", "tee"]
+ [rtsp_ss + get_record_cmd(uri, audio_out, record) + livestream]
)
Expand Down

0 comments on commit 37c7a7a

Please sign in to comment.