[FFmpeg-devel] [PATCH] Macroblocks modes extraction

Timothée timothee.informatique at regaud-chapuy.fr
Fri Jul 4 16:22:11 EEST 2025


Le 04/07/2025 à 14:36, James Almer wrote :
> On 7/2/2025 7:57 AM, Timothee wrote:
>> Hello,
>>
>> I am working on a modification toextract per-macroblock prediction 
>> modes (H.264 for now). The goal is to make this information available 
>> to vf_codecview and print it in a log file (for now).
>>
>> This are what I have added:
>>
>> 1.
>>
>>     A new H264MBInfostruct holding the prediction modes.
>
> Isn't this what libavutil/video_enc_params.h is for? Or if needed, 
> what it could be extended to handle?

I was focusing on H.264 so it seemed wrong to put it in 
libavutil/video_enc_params.h. But now that I want to make it more 
generic to be compatible with other codecs, that seems to be the correct 
place.

Thanks,

Timothée



More information about the ffmpeg-devel mailing list