im using x264vfw to encode h264. FOURCC set to avc1 other setting I just left default. I just took the extraData from x264vfw for my avcc, it make the movie can be play in many media player. But mp4box cannot parse it for "avcC has some extra bytes". And I know avcC has sth to do with MPEG2VIDEOINFO's dwSequenceHeader, But unfortunately I can only get VIDEOINFOHEADER struct from x264vfw. So. I steal this: Code: