mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-20 13:07:52 +09:00
remove audio from yt video
This commit is contained in:
1 parent
c062063258
commit
af462ee4a7
3 files changed
+3
-2
No files matched your search
@@ -3,6 +3,7 @@ Date: 2024.06.02
|
||||
- Changes:
|
||||
- Better linebreak calculation
|
||||
- Remove cache folder when finished
|
||||
- Remove audio from yt video
|
||||
|
||||
# Version: 0.0.10
|
||||
Date: 2024.05.01
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
class Settings:
|
||||
APP_VERSION = "0.0.11-dev2"
|
||||
APP_VERSION = "0.0.11-dev3"
|
||||
|
||||
create_midi = True
|
||||
create_plot = False
|
||||
|
||||
@@ -74,7 +74,7 @@ def download_youtube_video(url: str, clear_filename: str, output_path: str) -> N
|
||||
|
||||
print(f"{ULTRASINGER_HEAD} Downloading Video")
|
||||
ydl_opts = {
|
||||
"format": "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4",
|
||||
"format": "bestvideo[ext=mp4]/mp4",
|
||||
"outtmpl": output_path + "/" + clear_filename + ".mp4",
|
||||
}
|
||||
start_download(ydl_opts, url)
|
||||
|
||||
Reference in new issue
Block a user