[Libav-user] Decoding Stream (I-Frame B-Frame and P-Frame)
Alex Cohn
alexcohn at netvision.net.il
Wed Sep 14 17:09:50 CEST 2011
After you have your packet (using av_read_frame(fmt_ctx, &packet)),
you can look at packet.flags. AV_PKT_FLAG_KEY will say that the frame
is I-Frame. Regarding P and B, you should look inside packet.data.
I recommend a free tool, "H.264 Video ES Viewer", that lets you easily
parse and understand h264 streams to depth.
Sincerely,
Alex
On Wed, Sep 14, 2011 at 15:30, mounir younes <mounir.younes at gmail.com> wrote:
> Hello everyone, I am new to FFMPEG and I am currently seeking a way to
> decode a stream into I-Frame, B-Frame, P-Frame. How is it possible to decode
> the stream and get the different frames. I am currently working on h264
> (MPEG4 AVC) and android. Can someone provide me with some help?
>
> Thank you in advance.
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
More information about the Libav-user
mailing list