mirror of
https://github.com/simon987/scripts.git
synced 2025-04-04 08:23:05 +00:00
4 lines
767 B
Bash
Executable File
4 lines
767 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
youtube-dl --format "(bestvideo[vcodec^=av01][height>=1080][fps>30]/bestvideo[vcodec=vp9.2][height>=1080][fps>30]/bestvideo[vcodec=vp9][height>=1080][fps>30]/bestvideo[vcodec^=av01][height>=1080]/bestvideo[vcodec=vp9.2][height>=1080]/bestvideo[vcodec=vp9][height>=1080]/bestvideo[height>=1080]/bestvideo[vcodec^=av01][height>=720][fps>30]/bestvideo[vcodec=vp9.2][height>=720][fps>30]/bestvideo[vcodec=vp9][height>=720][fps>30]/bestvideo[vcodec^=av01][height>=720]/bestvideo[vcodec=vp9.2][height>=720]/bestvideo[vcodec=vp9][height>=720]/bestvideo[height>=720]/bestvideo)+(bestaudio[acodec=opus]/bestaudio)/best" --force-ipv4 --ignore-errors --no-continue --no-overwrites --add-metadata --write-info-json --write-annotations --write-thumbnail "$1"
|