youtube-dl :- Convert Downloaded Video to Audio

Background

By default artifacts downloaded from YouTube comes across as video.

Lineage

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

youtube-dl

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.

Prerequisites

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

Script

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


dlvideo https://youtu.be/csmart

Output

convert_20181119_0654AM.PNG

Download List

Outline

  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!

)

endlocal

Sample Invocation


dlvideoInList.cmd

 

Quotes

VideoHelp

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

Link
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

Dedicated to Fiona Glaser.

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

ClipConverter is not available for videos containing music

Background

Trying to download a music video on YouTube for a friend of mine.  He needs the video as an audio, mp3.

And, not as a video.

Clip Converter

My go to tool is Clip Converter and so launched a browser, entered the video’s URL and chose the artifact type, mp3.

Error Message

Image

error.ClipConverterIsNotAvailableForVideosContainingMusic.20181118.0558PM

Textual


ClipConverter is not available for videos containing music.

 

Remediation

Outline

  1. Web Site
    • savefrom.net
  2. Application
    • Console
      • Vendor :- rg3.github.io/youtube-dl
        • Application :- youtube-dl

Processing

savefrom.net

Usage

Outline
  1. Enter URL
    • Enter video’s URL
    • Click the > button
  2. Choose Artifact Type
  3. Media Streamed
    • Right click media and choose “Save As
Processing
Enter URL

Launched web browser and entered video’s URL.

enterURL.20181118.0622PM.PNG

Choose Artifact Type

Choose Artifact type

download.20181118.0624PM

rg3.github.io/youtube-dl

youtube-dl

Download

Download application from here :-

https://rg3.github.io/youtube-dl/download.html

Usage
Syntax

youtube-dl.exe [youtube-url]

Sample

youtube-dl.exe https://youtu.be/v

Output

usage.20181118.0608PM.PNG

 

Did Not Work

Outline

  1. Web Site
    • OnlineVideoConverter
  2. Application
    • GUI
      • Vendor :- Hexotic Software
        • Application :- YouTube Downloader

 

Processing

OnlineVideoConverter

Usage

Visited URL ( https://www.onlinevideoconverter.com/ ) and entered video’s URL.

Received message shown below.

Images

This Video cannot be converted
Image

OnlineVideoConverter.ThisVideoCannotBeConverted.PNG

Textual

This video cannot be converted. Please try another link.

 

Hexotic Software

Youtube Downloader

YoutubeDownloader.Warning.20181118.0649PM

 

Usage