Downloading a video is very simple. All you need to do is give youtube-dl a URL, and it'll do the rest. The file names aren't the best, but you can easily rename them. You can specify a file format, and youtube-dl will use FFMPEG to convert the video automatically.