Question

I can get individual uncompressed frames from the iPhone's camera in iOS4. What i need is a way to package them up with sound for streaming TO a server. I've been searching for a solution on the internet but I did not found much helping info. There are much more info about playing video streaming on iPhone from a server.

I've been trying to use ffmpeg+libx264 to encode them in a MPEG-TS container with H.264 for video and AAC for audio and sending Wowza media server in real-time, with no much luck. Anyone has any idea to get this to work? Or any other suggestion?

Was it helpful?

Solution

Make sure to use qt-faststart to put the required streaming data at the beginning of the file. Also i am not sure why you would use MPEG-TS container for H.264/AAC, try using the standard MP4.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top