fix(ffmpeg): prevent terminal window flash on Windows during media conversion
This commit is contained in:
@@ -1692,6 +1692,8 @@ class Download:
|
||||
ffmpeg = (
|
||||
FFmpeg(executable=self.settings.data.path_binary_ffmpeg)
|
||||
.option("y")
|
||||
.option("hide_banner")
|
||||
.option("nostdin")
|
||||
.input(url=path_file)
|
||||
.output(url=path_file_out, codec="copy", map=0, loglevel="quiet")
|
||||
)
|
||||
@@ -1712,6 +1714,8 @@ class Download:
|
||||
path_media_out = path_media_src.with_suffix(AudioExtensions.FLAC)
|
||||
ffmpeg = (
|
||||
FFmpeg(executable=self.settings.data.path_binary_ffmpeg)
|
||||
.option("hide_banner")
|
||||
.option("nostdin")
|
||||
.input(url=path_media_src)
|
||||
.output(
|
||||
url=path_media_out,
|
||||
|
||||
@@ -43,8 +43,8 @@ class Settings:
|
||||
cover_album_file: bool = True
|
||||
extract_flac: bool = True
|
||||
downloads_simultaneous_per_track_max: int = 20
|
||||
download_delay_sec_min: float = 3.0
|
||||
download_delay_sec_max: float = 5.0
|
||||
download_delay_sec_min: float = 1.0
|
||||
download_delay_sec_max: float = 3.0
|
||||
album_track_num_pad_min: int = 1
|
||||
downloads_concurrent_max: int = 3
|
||||
symlink_to_track: bool = False
|
||||
|
||||
Reference in New Issue
Block a user