Created
July 9, 2023 14:20
-
-
Save qant/48e9063b627259f65a985b205573f830 to your computer and use it in GitHub Desktop.
Download youtube video using yt-dlp.exe and ffmpeg.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Create folder /DL/ | |
2. Download yt-dlp.exe y ffmpeg.exe to download and conver files and put inside of /DL/ folder | |
3. Create dl.bat in root of the disk G: in my case | |
open cmd, dl.bat and youtube link as this one | |
The video will download to DL folder | |
Can download vr180 stereoscopic videos, but NOT 360 stereoscopic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd g:\DL\ | |
rem .\yt-dlp.exe -S 'res:4320s' -f "bv*" "%2" --extractor-args "youtube:player_client=android" | |
rem -S 'res:4320s' 20 | |
rem bv*[ext=mp4] | |
rem "bv*+ba/b" | |
.\yt-dlp.exe -f "bv*+mergeall[vcodec=none]" "%2" | |
rem .\yt-dlp.exe -f "ba/b" "%2" | |
rem bv*+ba/b | |
rem .\yt-dlp.exe -J "bv*" "%2" --extractor-args "youtube:player_client=android" > json.txt | |
pause | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment