Created
July 10, 2026 23:25
-
-
Save pjobson/eb67271ccbfc01e2486549091901e22d to your computer and use it in GitHub Desktop.
yt-dlp music video script
This file contains hidden or 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
| #!/bin/bash | |
| # You'll need to update: | |
| # * path to python3 | |
| # * path to yt-dlp | |
| # * path to ffmpeg | |
| # * download archive path | |
| /opt/python/3.14.6/bin/python3 \ | |
| /home/pjobson/.local/bin/yt-dlp \ | |
| --cookies-from-browser firefox \ | |
| --ffmpeg-location /opt/video/bin/ffmpeg -S vcodec:h264,res,acodec:m4a \ | |
| --download-archive /dvr/media/MusicVideos/downloaded.txt \ | |
| --remux-video mkv \ | |
| --merge-output-format mkv \ | |
| --js-runtimes node "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment