[libav-api] h.264 avcodec_decode_video2
michaelni at gmx.at
Tue Oct 11 23:03:06 CEST 2011
On Tue, Oct 11, 2011 at 03:33:39PM +0200, Stefan Lederer wrote:
> is there somewhere an example how to decode Iso Base Media File Format with
> h.264 using avcodec_decode_video2.
for the ISO base media format you need a demuxer. See libavformat from
you need to use av_read_frame() and feed the result (from the video
stream) into avcodec_decode_video2()
> I found this example, but it doesn't work:
This is quite outdated
the current is available at
but as said its not enough on its own. you can see ffmpeg.c, ffplay.c
or ffprobe.c as examples, they might be a bit complex though.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the libav-api