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!
![5 Awesome New Mozilla Technologies You’ve Never Heard Of]()
My trip to Mozilla Summit 2013 was incredible. I've spent so much time focusing on my project that I had lost sight of all of the great work Mozillians were putting out. MozSummit provided the perfect reminder of how brilliant my colleagues are and how much...
![5 HTML5 APIs You Didn’t Know Existed]()
When you say or read "HTML5", you half expect exotic dancers and unicorns to walk into the room to the tune of "I'm Sexy and I Know It." Can you blame us though? We watched the fundamental APIs stagnate for so long that a basic feature...
![CSS :target]()
One interesting CSS pseudo selector is :target. The target pseudo selector provides styling capabilities for an element whose ID matches the window location's hash. Let's have a quick look at how the CSS target pseudo selector works!
The HTML
Assume there are any number of HTML elements with...
![Create a Context Menu with Dojo and Dijit]()
Context menus, used in the right type of web application, can be invaluable. They provide shortcut methods to different functionality within the application and, with just a right click, they are readily available. Dojo's Dijit frameworks provides an easy way to create stylish, flexible context...
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).