Parsing h.264 NAL units from a quicktime MOV file
问题 I'm trying to get h.264 NAL units from a MOV file on the iPhone, in order to RTP h.264 video from the iPhone camera to a server. Apple's API does not allow direct access to the encoded bitstream from the camera output, so I can only access the MOV file, while it's being written. I've parsed the MOV file into Atoms , according to Apple's MOV structure reference but now i need to extract the NAL units from the mdat atom in order to pack it to RTP and stream it. I'd be glad for some help here