From f9f977702b117582f7bb166ae1190c5cc9a3050d Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Sat, 13 Jun 2020 14:47:36 +0200 Subject: [PATCH] Fix the Watch on Mobile Devices Scripts - Closes #7 --- .../Watch on Mobile Devices Script/Watch on Mobile Devices.sh | 2 +- README.md | 2 +- .../Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh b/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh index 6bc1fa2..c525fdf 100755 --- a/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh +++ b/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh @@ -6,4 +6,4 @@ # # -youtube-dl --format "(bestvideo[vcodec=avc1][height>=1080][fps>30]/bestvideo[vcodec=avc1][height>=1080]/bestvideo[vcodec=avc1][height>=720][fps>30]/bestvideo[vcodec=avc1][height>=720]/bestvideo)+(140/bestaudio)/best" --verbose --force-ipv4 --sleep-interval 5 --max-sleep-interval 30 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --all-subs --sub-format "srt" --embed-subs --output "%(uploader)s - %(upload_date)s - %(title)s [%(id)s].%(ext)s" --merge-output-format "mkv" --batch-file "Source - Watch on Mobile Devices.txt" +youtube-dl --format "(bestvideo[vcodec=avc1][height=1080][fps>30]/bestvideo[vcodec=avc1][height=1080]/bestvideo[vcodec=avc1][height=720][fps>30]/bestvideo[vcodec=avc1][height=720]/bestvideo)+(140/bestaudio)/best" --verbose --force-ipv4 --sleep-interval 5 --max-sleep-interval 30 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --all-subs --sub-format "srt" --embed-subs --output "%(uploader)s - %(upload_date)s - %(title)s [%(id)s].%(ext)s" --merge-output-format "mkv" --batch-file "Source - Watch on Mobile Devices.txt" diff --git a/README.md b/README.md index a263ddf..52d2595 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Three different type of scripts are included depending of what you want to downl `--format "(bestvideo[vcodec=av01][height>=4320][fps>30]/bestvideo[vcodec=vp9.2][height>=4320][fps>30]/bestvideo[vcodec=vp9][height>=4320][fps>30]/bestvideo[vcodec=av01][height>=4320]/bestvideo[vcodec=vp9.2][height>=4320]/bestvideo[vcodec=vp9][height>=4320]/bestvideo[height>=4320]/bestvideo[vcodec=av01][height>=2880][fps>30]/bestvideo[vcodec=vp9.2][height>=2880][fps>30]/bestvideo[vcodec=vp9][height>=2880][fps>30]/bestvideo[vcodec=av01][height>=2880]/bestvideo[vcodec=vp9.2][height>=2880]/bestvideo[vcodec=vp9][height>=2880]/bestvideo[height>=2880]/bestvideo[vcodec=av01][height>=2160][fps>30]/bestvideo[vcodec=vp9.2][height>=2160][fps>30]/bestvideo[vcodec=vp9][height>=2160][fps>30]/bestvideo[vcodec=av01][height>=2160]/bestvideo[vcodec=vp9.2][height>=2160]/bestvideo[vcodec=vp9][height>=2160]/bestvideo[height>=2160]/bestvideo[vcodec=av01][height>=1440][fps>30]/bestvideo[vcodec=vp9.2][height>=1440][fps>30]/bestvideo[vcodec=vp9][height>=1440][fps>30]/bestvideo[vcodec=av01][height>=1440]/bestvideo[vcodec=vp9.2][height>=1440]/bestvideo[vcodec=vp9][height>=1440]/bestvideo[height>=1440]/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"` : Tell youtube-dl to download the best quality available prioritizing the most compressed/recent codecs. (Original idea by [Veloldo](https://redd.it/c6fh4x), partial implementation of 1440p and 4320p by [miko](https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts/commit/3763eb7a2291754cfd2bccfab65449ba9d758887)([Merge Request on Gitlab](https://gitlab.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts/-/merge_requests/2)). -(Watch on Mobile Script) `--format "(bestvideo[vcodec=avc1][height>=1080][fps>30]/bestvideo[vcodec=avc1][height>=1080]/bestvideo[vcodec=avc1][height>=720][fps>30]/bestvideo[vcodec=avc1][height>=720]/bestvideo)+(140/bestaudio)/best"` : Tell youtube-dl to download old video and audio format that are support by every mobile devices. +(Watch on Mobile Script) `--format "(bestvideo[vcodec=avc1][height=1080][fps>30]/bestvideo[vcodec=avc1][height=1080]/bestvideo[vcodec=avc1][height=720][fps>30]/bestvideo[vcodec=avc1][height=720]/bestvideo)+(140/bestaudio)/best"` : Tell youtube-dl to download old video and audio format that are support by every mobile devices. (Audio Only Scripts) `--format "(bestaudio[acodec=opus]/bestaudio)/best"` : Tell youtube-dl to download best audio quality available prioritizing the most compressed/recent codecs. diff --git a/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 b/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 index da3738a..9f10928 100755 --- a/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 +++ b/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 @@ -6,4 +6,4 @@ # # -youtube-dl --format "(bestvideo[vcodec=avc1][height>=1080][fps>30]/bestvideo[vcodec=avc1][height>=1080]/bestvideo[vcodec=avc1][height>=720][fps>30]/bestvideo[vcodec=avc1][height>=720]/bestvideo)+(140/bestaudio)/best" --verbose --force-ipv4 --sleep-interval 5 --max-sleep-interval 30 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --all-subs --sub-format "srt" --embed-subs --output "%(uploader)s - %(upload_date)s - %(title)s [%(id)s].%(ext)s" --merge-output-format "mkv" --batch-file "Source - Watch on Mobile Devices.txt" +youtube-dl --format "(bestvideo[vcodec=avc1][height=1080][fps>30]/bestvideo[vcodec=avc1][height=1080]/bestvideo[vcodec=avc1][height=720][fps>30]/bestvideo[vcodec=avc1][height=720]/bestvideo)+(140/bestaudio)/best" --verbose --force-ipv4 --sleep-interval 5 --max-sleep-interval 30 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --all-subs --sub-format "srt" --embed-subs --output "%(uploader)s - %(upload_date)s - %(title)s [%(id)s].%(ext)s" --merge-output-format "mkv" --batch-file "Source - Watch on Mobile Devices.txt"