How can I use the download-dl to download video through url playlist only format mp4 instead format .mkv or .webm ?

I use this command to download videos: youtube-dl -itcv --yes-playlist https://www.youtube.com/playlist?list=....

The result this command are video with extension .mp4 , .mkv or .webm

Best Answer


Like this ( source ).

youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' url