YouTube – Video download using youtube-dl


Noticed that in the past when I covered using youtube-dl it was expressly to convert the downloaded video to audio.

The script is slightly more complicated as it included the conversion to audio arguments.


In this post, will cover straight forward download.



@echo off

set "_app=youtube-dl.exe"
set "_option=-f mp4"

%_app% %_option% "%1"

youtube-dl :- Convert Downloaded Video to Audio


By default artifacts downloaded from YouTube comes across as video.


  1. YouTube – Upload – “Stuck at Processing 95%”
    Date Published :- 2016-Jan-29th
  2. ClipConverter is not available for videos containing music
    Date Published :- 2018-Nov-18th


For example, youtube-dl downloads comes across as mp4.

Let us convert our downloaded video to audio.

Better yet, let us have youtube-dl perform a conversion post the download.


Please download the following:-

  1. FFMpeg
    • Original author(s) :-
      • Fabrice Bellard
    • Definition
      • Wikipedia
        • Link
        • FFmpeg is a free software project consisting of a vast software suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the FFmpeg program itself, designed for command-line-based processing of video and audio files, and widely used for format transcoding, basic editing (trimming and concatenation), video scaling, video post-production effects, and standards compliance (SMPTE, ITU). FFmpeg includes libavcodec, an audio/video codec library used by many commercial and free software products, libavformat (Lavf), an audio/video container mux and demux library, and the core ffmpeg command line program for transcoding multimedia files.
        • FFmpeg is part of the workflow of hundreds of other software projects, and its libraries are a core part of software media players such as VLC, and has been included in core processing for YouTube and the iTunes inventory of files. Codecs for the encoding and/or decoding of most of all known audio and video file formats is included, making it highly useful for the transcoding of common and uncommon media files into a single common format.
    • Download Sites


Download Singular

Script – dlvideo.cmd

set "_app=youtube-dl.exe"
set "_format=mp3"
set "_quality=0"

set "_option=--extract-audio --audio-format %_format% --audio-quality %_quality% --keep-video "

%_app% %_option% %1

Sample Invocation




Download List


  1. Prepare text file
    • urllist.txt
      • Lists URL
  2. Prepare Script
    • dlvideoInList.cmd
      • for ( Commands )

Script – dlvideoInList.cmd

@echo off

setlocal enabledelayedexpansion

set "_filename=youtubeURLList.txt"

for /f "tokens=*" %%a in ('type %_filename%') do (

set line=%%a

echo !line!

call dlvideo.cmd !line!



Sample Invocation





Home / Forum / Video / Video Conversion / Need help with ffmpeg

Sorry, no clue what the other folks in this forum do.
Personally I would probably post in the ffmpeg developer mailing list and ask if there’s someone interested.
(I know that Fiona Glaser did consultant jobs a while back, but I’m not sure if she is still doing that. Side note: Don’t get confused DarkShakiri, Jason Garrett-Glaser, Fiona Glaser are all the same person.)


Dedicated to Fiona Glaser.

For the pretentious, Girls code and they do it well too.