Sunday, September 9, 2012

Youtube Video to MP3

  1. Download script youtube-dl from
  2. Make sure we have ffmpeg installed
  3. Write a small script with content as below:

youtube-dl --extract-audio --audio-format mp3 -v -t "$1"

For example, to download and extract the audio and save it as MP3 (assuming the small script above has been saved as utube":



concatenate multiple MP3 files to become one mp3:

mp3wrap <file1> <file2> ... <output>

To downmix the result file to a mono-aural:

lame -m s -a <file> <downmix.mp3>

to copy the ID3 data from the original file to the output file

id3cp <mp3 source> <mp3 dest>

No comments:

Post a Comment