BBC recommended settings for the EX1/EX3 | Main | ScreenFlow 1.5 adds extra awesome to the party
February 18, 2009
Command line tool to split H264 files
Please note, this blog has been archived and now lives at www.discretecosine.comHere's a quick hack of an application to take an H264 (or any quicktime really) and spit out a new subclip.
This is based on the code from Codeshop, and I'm not implying any ownership. All I did was write a little wrapper for their moov code.
The zip includes the code, xcode project and a built binary. Command line usage is "./H264Parser <file> <start in seconds> <end in seconds>". Output is dumped to stdout, so you probably want to redirect it to a file with > output.mov. Progress info goes to stderr.
Output is throttled, but you can turn that off by commenting out the usleep.
This probably isn't a very useful application to many, but if you want to implement pseudo H264 streaming to Flash without a browser mod, you can probably think of some clever uses ... (IE, pass the output to a client side flash player).
Posted by at February 18, 2009 1:41 PM | News