Aviad, There is some code in mpeg4ip which works on H264 frames as well. It could parse VOL header and give you some header information without decoding the frame. You may find it in <MPEG4IP Code>/util/mpeg4vol/main.cpp.
Hope it helps. Roozbeh Zabihollahi CTO - iPronto Systems Mobile: +98 912 323 3970 http://www.ipronto.net --- On Wed, 4/15/09, aviad rozenhek <[email protected]> wrote: > From: aviad rozenhek <[email protected]> > Subject: Re: [libav-user] parsing h264 without decoding it > To: "Libav* user questions and discussions" <[email protected]> > Date: Wednesday, April 15, 2009, 9:41 AM > On Wed, Apr 15, 2009 at 18:59, Alex > Giladi <[email protected]> > wrote: > > > Parse the slice header. > > > > how? with what api? > > AVFormatContext input; > /// open the file > /// ... > > /// now read a packet > AVPacket packet; > av_read_frame(&input, &packet) > > /// now, how do I use libav* to parse the packet? > /// av_parser_parse? can you provide an example? > > Much thanks, > Aviad > > > -- > Aviad Rozenhek > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
