1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

OMFG ARE YOU SERIOUS

This commit is contained in:
Steffo 2019-04-17 23:23:33 +02:00
parent 659e0e1965
commit a1ce7a055b

View file

@ -27,7 +27,7 @@ class RoyalPCMFile(YtdlFile):
log.info(f"Preparing {self.video_filename}...")
# Convert the video to pcm
ffmpeg.input(f"./{self.video_filename}") \
.output(self.audio_filename, format="s16le", acodec="pcm_s16le", ac=2, ar="48000") \
.output(self.audio_filename, format="s16le", ac=2, ar="48000") \
.overwrite_output() \
.run(quiet=not __debug__)
# Delete the video file