On Mon, Aug 3, 2009 at 6:07 AM, Steve Jiekak<[email protected]> wrote: > Thanks Josh, > I can use it, but I got segfault when I try ... I don't know how/when to use > the APi correctly... > The functions I am interested in are > ff_h264_decode_seq_parameter_set, > ff_h264_decode_picture_parameter_set > > > On Sun, Aug 2, 2009 at 1:31 AM, Josh Allmann <[email protected]>wrote: > >> >> This is a hack, but #include h264.h from the ffmpeg source. That's how >> I got h264 context information into my app.
Yeah, those functions aren't part of the public API. I can't do much about the segfaults from here, but a quick session with a debugger should tell you what the problem is. You should be able to get the SPS and PPS info from the context after decoding each frame. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
