how to directly render to MP4 for Adobe After Effects - animation

We all know that in Adobe After Effects, compositing does not support direct rendering to MP4, but many animation effects on mobile phones are implemented in MP4

Render your After Effects project as MP4 by adding files to the render queue and then designating Media Encoder as the renderer.
In the output settings, designate MP4 as the file type. You will also have options for compression settings and bitrate.

Related

Control audio volume using physical controls on the phone in webapp

I am using opentok.js in my webapp.
When I open a page with tokbox video stream, I cannot control audio volume using physical audio buttons. Instead they change the ring volume.
When I add tag to the page and I play it, I am able to use physical audio buttons to change volume of that file but not the tokbox video stream.
Perhaps as a workaround it's possible to direct tokbox audio stream to tag? It doesn't seem to be attached to the element that gets created before videoElementCreated event is fired. Because when I don't add this event.element to the DOM, I still hear the sound. Where it is coming from if it's not in the DOM?

Making images slide and resize as the video plays with ffmpeg

I want to create a video where I have multiple images on screen at once which are moving around or resizing as the video plays.
A vastly more advanced version would be like Facebooks https://www.facebook.com/lookback/
All I need, is to move a few images and change their scale, with set start and end times within the video.
I could obviously do this with a video editor but I'd like to just drop some images in a directory and then have a preset script which will then create the video for me.
I've a few months experience with FFMPEG so the directory part is easy, but I'm baffled on the moving bits.
Any suggestions? Many thanks.
For this you might consider the MLT framework which is essentially the open-source video editor which supports scripting.
Considering use swfcombine with pyvnc2swf and ffmpeg.
With SWF you can replace objects into a exist swf file link image or texts.
http://lists.nongnu.org/archive/html/swftools-common/2005-02/msg00116.html
Aftes editing your swf you can render a mp4 file using pyvnc2swf and ffmpeg:
http://imnartist.blogspot.com.br/2011/10/pyvnc2swf-and-ffmpeg-tutorial-convert.html
Unfortunatly ffmpeg don't convert swf yet.
With those tools you can recreate the Facebook Look Back web app for your porpuse using command line and you favorite programming language.
There's an API to do so too :you can use the Stupeflix API to do server side video renderings, using After Effects templates or built-in effects. Find it at http://developer.stupeflix.com/documentation, with a lot of other tools to do image / video processing.

Best format for attaching images in e-mail

The subject pretty much says it all. What is the best and most compatible format for attaching or embedding images in an e-mail? GIF, JPG, PNG, SVG, BMP, (etc.)? Are these read by all modern e-mail clients or are there some gotchas we need to watch out for? What about mobile clients (not browser-based)? How about formats that support alpha channels?
PNGs are not supported by older Lotus Notes (6.5, 7). Using alpha transparency and true color might cause problems (e.g. in older Outlook versions). Stay with the good old GIF and JPG and you are safe. And remember that GIF animations may (a.) play slow on mobiles and that they may (b.) show only the first frame in some email environments (e.g. Outlook 2007+). I would not rely on vector graphics. However, here's an interesting example that includes a fallback image.

ffmpeg: add hyperlink to video?

i am experiment with ffmpeg, making videos from more images and adding watermark, some effect etc.
What I am interested: Is it possible to embed HYPERLINK into video using ffmpeg ?
For example, watermark or something else to be 'clickable' and to redirect to some www location?
Some video file format might support such a thing, but most don't and ffmpeg is unlikely to have support for such an esoteric feature in any case.
So no.

html5 audio for everyone, except for firefox

I found a nice way to use the audio tag, Audio for everybody. It tries first to use the html5 player, then wmp, then flash, then an image.
Unfortunately, the mp3 format isn't supported on firefox even if it's supported by the os, and it displays an X instead of degrading to the flash player.
There's a way to let firefox ignore the html5 player?
ps: converting all my mp3s to ogg it's not an option
I solved using this code: Quick Guide to Implementing the HTML5 Audio Tag (with Fallback to Flash)
The js code will detect lack of mp3 support in opera/firefox, hide the audio and create a flash player
edit: their solution to hide the controls does not work in my firefox, change
document.getElementsById('audio_with_controls').style.display = 'none';
with
var audio = document.getElementById("audio_with_controls");
audio.removeAttribute("controls");

Resources