Skip to content

Commit

Permalink
Use copyts and copytb #1287
Browse files Browse the repository at this point in the history
Thanks @cdoolin!
  • Loading branch information
mrlt8 committed Aug 16, 2024
1 parent 370a138 commit 7d43a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/wyzebridge/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_ffmpeg_cmd(
+ (["-map", "1:a", "-c:a", audio_out] if audio_in else [])
+ (a_options if audio and audio_out != "copy" else [])
+ ["-fps_mode", "passthrough", "-flush_packets", "1"]
+ ["-rtbufsize", "1"]
+ ["-rtbufsize", "1", "-copyts", "-copytb", "1"]
+ ["-f", "tee"]
+ [rtsp_ss + livestream]
)
Expand Down

0 comments on commit 7d43a63

Please sign in to comment.