Let's say we have an FLV-wrapped video (under the container, it's h.264 and aac)
The goal is to read it and, on the fly, send it out* as MP4 in a way that can be streamed in Safari/iOS
Are there any libs out there that can help with this? I'm looking into ffmpeg, but I haven't figured it out yet, and I'm not sure if it's really what I need (if I needed a utility to go file->file it's perfect, no doubt, but as a library to use on a chunk by chunk basis, not sure yet if it's the right place to break my teeth over or not)
EDIT: Assume we're talking on-demand, i.e. duration is known and all headers can be scanned before initial read/write