[Libav-user] Find Type Frame IPB MPEG - Need Help

Zanelli Franco fzanelli at tecnosens.it
Mon Mar 5 08:52:03 CET 2012

Using ffmpeg apies:
AVFormatContext *fc;
// ... initialize fc, start streaming and read frame
int type = fc->cur_st->parser->pict_type;
if (type == AV_PICTURE_TYPE_I){
    // picture is an Intra frame

Il 03/03/2012 08:10, Yulius Candra ha scritto: 

Dear All,

Hello, I
Currently i am working project Video Streaming Encryption with file video format MPEG,
then frame that i want to encrypt are just Frame I from MPEG.

Therefore I am want to using .FFMPEG libarry to get the picture/frame,
but i dont know to find type frame I P B form MPEG file video. SO i need yours help  :D<http://www.aforgenet.com/forum/images/smilies/icon_e_biggrin.gif> to find Frame I.

Addtional Information,,I using C# .net.
Thanks for your help!

	Libav-user mailing list
	Libav-user at ffmpeg.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120305/2fbe069c/attachment.html>

More information about the Libav-user mailing list