Closed Luni-4 closed 2 months ago
Hmm to what end? It already has per-plane strides, and AVFrame themselvess doesn't expose them directly either. If you want them, they're accessible the same way they are from AVFrame - av_pix_fmt_desc_get
on the format from the FFMS_Frame.
I would like to retrieve all planes data taking into account the subsampling, but without using FFmpeg
. I have found this example, but it uses the descriptor from FFmpeg
. Could you please provide a piece of code which only uses ffms2
? Thanks in advance!
You have to use FFmpeg to get that information. There's no reason for us to reimplement things
I see. In my case, it would just be helpful to expose the output of the FFMpeg functions as FFMS_Frame
fields, in this it is not necessary to import FFMpeg
as dependency at all.
It would be helpful to expose
log2_chroma_h
andlog2_chroma_w
values asFFMS_Frame
fields. This could help in retrieving frame data.