Convert Video to mp3
Let's all be honest for a moment: we've all ... not paid for ... music. Whether it was via a file sharing app like Kazaa or Napster, or it was downloading and seeding on bittorrent, or maybe even downloading a music video and ripping its audio, we've all pulled some "gangsta shit" to get a track or two. You should only feel ashamed if it was Nickleback. And hey, there are times when you legitimately want to pull audio from a video...though I can't think of any.
If you do want to pull the audio of a video file, for whatever reason, you can do so easily with ffmpeg. Let's use ffmpeg to take a downloaded YouTube video and rip its audio into and MP3:
ffmpeg -i music-video.webm -vn -ar 44100 -ac 2 -ab 192 -f mp3 music.mp3
Using the command above, we take the source video and output its audio to mp3 with a 192kb/s bitrate.
There are in-browser tools and websites you can use to rip audio from YouTube or other video files, but ffmpeg is quick, simple, and hassle free. You can also replace "mp3" with other audio formats if you so choose!
![9 Mind-Blowing Canvas Demos]()
The <canvas> element has been a revelation for the visual experts among our ranks. Canvas provides the means for incredible and efficient animations with the added bonus of no Flash; these developers can flash their awesome JavaScript skills instead. Here are nine unbelievable canvas demos that...
![An Interview with Eric Meyer]()
Your early CSS books were instrumental in pushing my love for front end technologies. What was it about CSS that you fell in love with and drove you to write about it?
At first blush, it was the simplicity of it as compared to the table-and-spacer...
![NSFW Blocker Using MooTools and CSS]()
One of my guilty pleasures is scoping out the latest celebrity gossip from PerezHilton.com, DListed.com, and JoBlo.com. Unfortunately, these sites occasionally post NSFW pictures which makes checking these sites on lunch a huge gamble -- a trip to HR's office could be just a click away.
Since...
![Save Web Form Content Using Control + S]()
We've all used word processing applications like Microsoft Word and if there's one thing they've taught you it's that you need to save every few seconds in anticipation of the inevitable crash. WordPress has mimicked this functionality within their WYSIWYG editor and I use it...
In case anybody is not into command line, there is a UI for this conversion,
https://addons.mozilla.org/en-US/firefox/addon/media-converter-and-muxer/
Thanks for saving my time!
"ffmpeg -i music-video.webm -vn -ar 44100 -ac 2 -ab 192 -f mp3 music.mp3"above command helped to convert video to audio (Ubuntu machine).