youtube-dl

To download a video list in webm format, extract audio and keep the original video file: youtube-dl -f 43 --extract-audio -k "https://www.youtube.com/playlist?list=AlphanUmerIcCodeofTheList" Download a video list in preferably free format, otherwise non-free, extracting audio and keeping original video file: youtube-dl --prefer-free-formats --extract-audio -k Download a video list in preferably free format, otherwise non-free, extracting audio and keeping original video file, restricting the files names to alphanumeric characters and dashes: youtube-dl --prefer-free-formats --extract-audio -k --restrict-filenames http://www.youtube.com/playlist?list=LIstCode -o ~/outputDir/%\(title\)s-%\(id\)s.%\(ext\)s ...

March 13, 2020 · Alberto Casado

avconv

Extract audio from a video To see the audio streams in the file: avconv -i video_in.webm To extract stream 1: avconv -i video_in.webm -map 0:1 -acodec copy -vn audio_out.ogg or avconv -i orig.webm -c:a libvorbis -b:a 128k -vn target.ogg Convert an flv of wmv video to webm (vorbis) avconv -i ./input_file.flv -y -c:v libvpx -b:v 450k -c:a libvorbis -b:a 128k ./output_file.webm Convert an mp3 audio to ogg (libvorbis) avconv -i in.mp3 -map 0:0 -codec libvorbis -format ogg out.ogg Convert .avi to .webm, And select only video track 0, audio track 2, bitrate 800 and framerate 24: ...

March 9, 2020 · Alberto Casado