Originally posted by jpp72
View Post
My mistake when looking at the original template example I was copying from, not appreciating that it's different when typing it into a command prompt window and running it from a BAT file.
Many thanks for this note.
I also looked closely at your own command and investigated the operands against the documentation. Very useful and informative. I've adapted my own command as I feel appropriate.
I also looked at your structuring for the output filename, and what it would produce. I have now adapted it as well. Initially I had that "%%(ext)s" suffix but after trying it realized that it would insert an extra "webm" into the downloaded filename where I decided it had no value. I was remuxing into an MKV which would be the new extension and felt seeing "webm" served no purpose. So I've now removed that operand from my command.
So now here is my command: Note that I will change the final hardcoded URL-providing parameter I currently have, to be a symbolic parameter as you have (i.e. "%url%"), so that I can then really use this DOWNLOAD.BAT command from a command line pasting in the real URL for whatever I wish to download.
Code:
yt-dlp --ignore-config -f bestvideo+bestaudio/best --embed-metadata --concurrent-fragments 10 -P f:\YTDLP-Videos -o "%%(title)s.%%(height)sp WEB-DL" --remux-video mkv "https://www.youtube.com/watch?v=zE5WdeWyuj4"
NOTE: Clearly 4K Video Downloader is erroneously creating incorrect and misleading metadata inside its own downloaded file that MediaInfo shows as "Constant 24.000 FPS" if it truly is "Constant 23.976 (24000/1001) FPS".
Again, thank you very much for all the guidance.
Comment