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

Jean-Baptiste Kempf jb at videolan.org
Fri Nov 21 10:15:29 CET 2014


On 21 Nov, Alexis Ballier wrote :
> > So you have a format outputted that is of no use, except if you use
> > the filter.
> 
> On MFCv5 yes; I don't assume because I'm working on this that it is the
> only one :)

So, basically, noone can display it, reencode or do anything with it,
without the filter.
Therefore, you should not introduce a new fmt for this.

> MFCv6 and newer don't even understand nv12mt and can output standard
> nv12:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c#n35

This is yet another good reason to NOT introduce a new weird pix-fmt
that will stay in FFmpeg for the next 10 years.

> I've been using it to convert yuv output of an usb cam to nv12 fed to
> the mfc hw enc so that I can stream H263 while leaving the cpu
> free for other things.

Then keep the weird format internal.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the ffmpeg-devel mailing list