Combine Audio and Video with ffmpeg
We have audio. We have video. We appreciate each of those media on their own but you can create an awesome work of art if you combine the two. After all, how could you watch a sports highlight video without setting the visuals to some obscure techno track? Blasphemy.
My favorite A/V utility, ffmpeg, allows you to merge an audio file and a video file into one brilliant piece of art:
ffmpeg -i video.mp4 -i audio.m4a -c:v copy -c:a copy output.mp4
You can even use an animated GIF for the video piece:
ffmpeg -i video.gif -i audio.m4a -c:v copy -c:a copy output.mp4
Banter aside, there are many good cases for combining an audio track with a video track, many examples being seen on YouTube. Happy media creation!
One of the worst kept secrets about AJAX on the web is that the underlying API for it,
XMLHttpRequest, wasn't really made for what we've been using it for. We've done well to create elegant APIs around XHR but we know we can do better. Our effort to...
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...
My favorite technological piece of Google Plus is its image upload and display handling. You can drag the images from your OS right into a browser's DIV element, the images upload right before your eyes, and the albums page displays a sexy photo deck animation...