On Wed, Dec 26, 2012 at 6:35 AM, Brian Chi <[email protected]> wrote:
> Yes, I read all frames, most return value of function 
> "ff_avc_parse_nal_units" is 0.
> i think maybe the problem is about NAL, will the NAL layer of H264 frame be 
> detached in the function "av_read_frame".
> So in the "ff_avc_parse_nal_units", it can't find start code(0x000001), and 
> discard the frame.

Packets in mp4 are not stored in annex B format, you will never see
0x000001 start codes there. See
http://msdn.microsoft.com/en-us/library/windows/desktop/dd757808(v=vs.85).aspx
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to