On Tue, Aug 4, 2015 at 12:36 PM, Ronald S. Bultje <rsbul...@gmail.com> wrote: > Hi, > > On Tue, Aug 4, 2015 at 4:49 AM, PROMONET Michel < > michel.promo...@thalesgroup.com> wrote: > >> Hi, >> >> But h264.h not seems to be a public include. >> Thanks, I will looking in this direction. > > > It isn't, we never expose much of codec internals. But I'm pretty sure > you'll need codec internals for this kind of stuff, so I'd just compile > against a local/static version of ffmpeg and go this route. The public API > won't get you far for such highly codec-specific stuff... >
Parsing the SPS up to the point to get the width/height isn't that hard, grab the H264 specs from the web and implement it - its pretty trivial. Or reference the avcodec h264 code to see how its parsed. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel