On Thu, Feb 02, 2017 at 11:48:49AM +0100, Michael Niedermayer wrote: > On Thu, Feb 02, 2017 at 11:26:26AM +0100, Timo Rothenpieler wrote: > > >> In the mean time, common 12 bit content (YUV420P12 or P016) will be > > >> correctly converted to P010 for nvenc. > > > > > > What does this change have to do with 4:2:0 content? > > > > Apparently swscale decides that any kind of 12 or 16 bit content, even > > if 4:2:0, whould be converted to YUV444P16 instead of downsampling it to > > P010. > > The code decididing pix fmts is in libavutil > av_find_best_pix_fmt_of_2() and code using that (if i guess correctly > where the choice is made)
maybe i worded this unclear, iam not sure thats the only path pixel format decissions are made in but this should be the main one If the function makes a mistake instead of teh formats available to it being restricted by something then fixing it could be an easy solution [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No human being will ever know the Truth, for even if they happen to say it by chance, they would not even known they had done so. -- Xenophanes
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel