[FFmpeg-devel] Request for assistance with adding new pixel format (NV12_8L128) in FFmpeg

Le Bao Tin Ha lebaotin.ha at savoirfairelinux.com
Wed Feb 8 11:47:32 EET 2023

Hello, you can found the explanation here:


"V4L2_PIX_FMT_NV12M_8L128 is similar to V4L2_PIX_FMT_NV12M but stores pixels in 2D 8x128 tiles, and stores tiles linearly in memory. The image height must be aligned to a multiple of 128. The layouts of the luma and chroma planes are identical.

V4L2_PIX_FMT_NV12_8L128 is similar to V4L2_PIX_FMT_NV12M_8L128 but stores two planes in one memory."

----- Original Message -----
From: "Kieran Kunhya" <kierank at obe.tv>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
Sent: Monday, February 6, 2023 7:15:22 PM
Subject: Re: [FFmpeg-devel] Request for assistance with adding new pixel format (NV12_8L128) in FFmpeg

On Mon, 6 Feb 2023 at 15:43, Le Bao Tin Ha <lebaotin.ha at savoirfairelinux.com>

> I hope this email finds you well. I am currently working on the Toradex
> Apalis iMX8QM board and I am trying to perform a hardware decode using the
> Amphion driver with ffmpeg h264_v4l2m2m codec. The decoder outputs a pixel
> format (NV12_8L128, a linear 8x128 NV12 based tiles) that is not supported
> yet by FFmpeg.


Are you able to provide more information about this nonstandard pixel

ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-devel mailing list