Remove Audio From Video
Sometimes I want to display live motion without the audio, since the audio is either bad quality or it's just extra load, which is especially important on mobile. You could probably argue converting the video to GIF is more appropriate, but GIFs can be larger and more taxing on the device. You also cannot pause or control animated GIFs.
The better solution may be to remove the audio from a video:
./ffmpeg -i MusicVideo.webm -vcodec copy -an MusicVideoNoAudio.webm
The -an
option removes the the audio from the input file, producing a video without any audio. The sample file below went from 5.4MB
to 4.1MB
and now you don't hear the annoying wind in the background.
CSS animations are a lot of fun; the beauty of them is that through many simple properties, you can create anything from an elegant fade in to a WTF-Pixar-would-be-proud effect. One CSS effect somewhere in between is the CSS flip effect, whereby there's...
CSS and JavaScript: the lines seemingly get blurred by each browser release. They have always done a very different job but in the end they are both front-end technologies so they need do need to work closely. We have our .js files and our .css, but...
David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...
Hey everyone! Before we get started, I just want to say it's damn hard to pick this few favorites on CodePen. Not because, as a co-founder of CodePen, I feel like a dad picking which kid he likes best (RUDE). But because there is just so...
If you wanted to you can extract the audio from the video. If you needed the audio for something else.
Thanks for the tutorial!