I have written an application to step through (and alter) each frame of a video using AVFramework's AVAssetReader and AVAssetWriter. It works great, but I need to be able to encode the video to MPEG4. Is there a way to change the output encoding for AVAssetWriter to something other then H264? If not, is there a way I can use AVAssetExportSession with AVAssetWriter (without writing to a temporary file)?
Is there a better way to be doing this all together?
The application needs to read a source video, process every frame and write out to either H264 or MPEG4. (OSX)