/eyebrew moves up
Interessting. Uhm... What do you think about the x.264 alternative? I mean... all you need is a Lagarith (it should be a looseless codec) file and a mp3 or m4a audio stream and mix it all together with a script.
http://aflux.deltaanime.net/Zero1/MP4/x264.html
This guide tells you a lot about it and isn´t too hard to understand. In the end only a few parameters really "matter":
--crf 18 or something between untill 21
18, means bigger filesize and higher quality and everything higher means a lower filesize and lower quality. Thats all.
Of course afterwards you have to mux audio + video in mp4box.