Assuming you figure out the downloading part, I find 'ffmpeg' on Linux to be quite handy doing the conversion.
If you don't have Linux, either set up an old box with it and put it on your network, or get VMware installed on Windows, then create a VM, install Linux there, and you're golden.