Ok, I've been inspired by the Hak5 podcast to give youtube-dl a shot.
I've got youtube-dl and ffmpeg on my Win7 machine, and I'm working on a .bat to make it easier to use, but I'm running into errors when I try to run my .bat.
Here's the setup: I've put the ffmpeg, youtube-dl, an input text file, and the .bat into a folder called YTDL. Everything works fine if I open a cmd prompt in the YTDL folder and run...
.\youtube-dl --ffmpeg-location %CD%\ffmpeg\bin -a input.txt -x --audio-format mp3 --audio-quality 128K -o %CD%\output\%(title)s.%(ext)s
It puts the lotion in the basket downloads the video, strips the audio to an .mp3, and deletes the downloaded file. With that working, I thought I'd make a .bat so I don't have to copy and paste the command in, but it just won't work. The cmd window pops open and closes with no indication of what's wrong. It doesn't do anything beyond that. No download, no new file, nothing. If I open a cmd prompt in the folder and call the .bat or drag it in and hit enter, I get the same thing. No difference whether running CMD as admin or normal user.
I've built a weekly maintenance batch file that runs without issue, but that was calling programs known natively to windows. I have no other experience to build upon, so I'm at a loss. I'd very much appreciate some help figuring this out so I can check off the practical exercises from my Hak5 lessons :)
My question is; what on earth am I doing wrong?