Le ven. 5 avr. 2019 à 14:03, Simon Brown <[email protected]> a écrit :
> >> >> Ok, Thanks! >> >> But can you tell me how to get the frame pixel format, please? >> I use frame->format but the output is only zero (0) value. >> >> Regards >> >>> >>> I have: > > av_get_pix_fmt_name(frame->format) > > to get a format name, but also: > > pix_fmt = video_dec_ctx->pix_fmt; > > This should still apply in current version. pix_fmt is of type "enum > AVPixelFormat". > Try: > https://libav.org/documentation/doxygen/master/structAVCodecContext.html#a0425c77b3d06d71e5db88b1d7e1b37f2 > for more information on that or other options. > > Cheers, > Simon > > Ok Thanks! But can you give me some explaination about the meaning of macroblock luminance (mb_mean) and macroblock variance (mb_var), please? Regards > _______________________________________________ > Libav-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe".
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
