Il 19/03/2012 11:54, Carl Eugen Hoyos ha scritto:
> Zanelli Franco<fzanelli@...>  writes:
>
>> int got_picture;
>> int len = avcodec_decode_video2(codecCtx, avFrame,&got_picture, avPacket);
>>
>> at this point, is it possible to get the input frame type (intra, P or B
>> frame)?
> Did you try to read avFrame->pict_type ?
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user

no, i didn't.
I tried avFrame->type and it got always the same value. I didn't see 
that parameter.
thank you

franco
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to