Convert webm to mp4
There's an upcoming Mozilla trip to Hawaii on the cards and, in trying to be a good family man, I'm bringing my wife and two young sons. Glutton for punishment? Probably. Anyways, I've been feverishly downloading cartoons from YouTube using youtube-dl to put onto our new iPad to keep my oldest son occupied during the long flight.
It seems as though YouTube preserves the original video format, since sometimes youtube-dl provides a webm and other times a mp4. Since mp3s are iOS' best friend, I've needed to convert the webm files to mp4. The following ffmpeg command will make that happen:
ffmpeg -i "Spider-Man.webm" -qscale 0 "Spider-Man.mp4"
The qscale 0
directive instructs ffmpeg not to adjust quality of the video during conversion. And with this conversion I can now properly transfer the videos onto my iPad.
Check out my media tutorials for more magic when it comes to video, audio, and images. You're sure to learn a few tricks along the way.
![Responsive and Infinitely Scalable JS Animations]()
Back in late 2012 it was not easy to find open source projects using requestAnimationFrame()
- this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...
![Creating Scrolling Parallax Effects with CSS]()
Introduction
For quite a long time now websites with the so called "parallax" effect have been really popular.
In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a...
![MooTools dwCheckboxes Plugin]()
Update / Fix: The checkboxes will no longer toggle when the "mouseup" event doesn't occur on a checkbox.
Every morning I wake up to a bunch of emails in my Gmail inbox that I delete without reading. I end up clicking so many damn checkboxes...
![Fancy FAQs with MooTools Sliders: Version 2]()
A little over a year ago I authored a post titled Fancy FAQs with MooTools Sliders. My post detailed a method of taking boring FAQs and making them more robust using the world's best JavaScript framework: MooTools. I've taken some time to...
Hello,
Have a look at this : https://www.onlinevideoconverter.com/firefox-addon
This Grease adds a “convert” video to Youtube. Everything is processed on their server and it’s pretty fast !
What about using the
--list-formats
argument with youtube-dl and download the MP4 that suits your needs?Suggested code doesn’t work (10/22/17), Ubuntu 16.04.3 amd64
“The encoder ‘aac’ is experimental but experimental codecs are not enabled, add ‘-strict -2’ if you want to use it.”
It now says “Please use -q:a or -q:v, -qscale is ambiguous”.
I guess
-q:v 0
would be the new substitute.