Skip to content

Commit

Permalink
Added 'nostdin' launch parameter to ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckBoss committed Feb 7, 2021
1 parent cb00898 commit f3a3d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JJMumbleBot/lib/audio/audio_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def create_audio_thread(audio_lib_path: str, audio_lib_type, uri: str, skipto: i
params.extend(["-loglevel", "quiet"])
if use_reconnect:
params.extend(["-reconnect", "1", "-reconnect_streamed", "1", "-reconnect_delay_max", "2"])
params.extend(["-i", uri, "-ss", f"{skipto}", "-acodec", "pcm_s16le", "-f", "s16le",
params.extend(["-nostdin", "-i", uri, "-ss", f"{skipto}", "-acodec", "pcm_s16le", "-f", "s16le",
"-ab", "192k", "-ac", "2"])
if stereo:
params.extend(["-ar", "48000", "-threads", "8", "-"])
Expand Down

0 comments on commit f3a3d5f

Please sign in to comment.