Generate MP4 header
Hello. I'm working on video converting script. What I'm trying to achieve is ability to start downloading converted MP4 video (x264+aac) before converting is complete.
However when I try to redirect output of ffmeg or mencoder to STDOUT I got "muxer doesn't support non seekable output".
So the question is: how to generate MP4 header knowing source video properties (duration, number of frames, dimensions, etc)? What tools can be used to create such a header and append converted streams to it?
|