I'll put my questions up front, and explanation (for those interested) below:
1) In the current state of h264 encoder/decoder, is there a way in which to get access to the information from the slice header of a NAL unit without doing actual decoding of the frame? (and by this I mean one or two function calls) 2) if the answer to #1 is no, what approach would you recommend? Copying the relevant portions of h264.h/c to a new file? Using the functions in golomb.c/h to parse the header myself? Something else I may have missed? Detailed explanation follows. I am working on a project in which I need access to the internals of the H264 format. Specifically, I need access to the information in the slice header. I have read through the ITU spec, and I really don't want to re-create a NAL parser from scratch. I would prefer to use the code already written in libavcodec. However, from my study of the code, it appears to be geared much more towards decoding the content (which makes sense in most cases) than for providing easy access to the parsed content. I don't see an immediately obvious way in which to use the code as-is to get access to the partially parsed data (aka, I want to parse the header of the NAL unit, but I don't want to actually decode the slice, just get information from the header). However, before I start tearing into things, I thought I would ask here to see if I have missed something obvious. Any relevant insight will be greatly appreciated. -- Grant Robinson [email protected] _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
