Force youtube-dl to download .MP4 files
In order to get youtube-dl to download a video or playlist as a mp4 without needing to first ID the video’s code using the -F option use the following options:
--format "bestvideo+bestaudio[ext=m4a]/bestvideo+bestaudio/best" --merge-output-format mp4