[FFmpeg-devel] [PATCH 3/6] Add AV_PIX_FMT_NV12T.

Alexis Ballier aballier at gentoo.org
Fri Nov 21 08:45:47 CET 2014

On Thu, 20 Nov 2014 18:42:19 +0100
wm4 <nfxjfg at googlemail.com> wrote:
> I think this should be rejected. It's far too special to be useful in
> general, and it's not even pixel- or line-addressable (Z-shaped tiles,
> seriously?). It's pretty much a raw codec, not a pixel format.

How do you put this in an AVFrame then ?

> Also, doesn't libv4l2 handle converting this to something sane
> transparently?

"transparently" yes, but in sw. A <10W arm soc wouldn't like to
"transparently" convert 1080p at 25fps like that

also, last time I checked, libv4l2 didnt support NV12MT

> If this is needed for the m2m filter, then maybe it should be part of
> the v4l2 libavdevice.

I don't understand this.

This is needed for HW decoding on MFCv5: it is the only format decoders
can produce. To use it in your application, you send it to the m2m
filter to get something sane.


More information about the ffmpeg-devel mailing list