Thread: L-SMASH Source
View Single Post
Old 31st August 2021, 02:47   #1374  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 595
"The issue arises when hardware decoding (NVIDIA CUVID) is employed"

This is normal, ffmpeg also defaults to pixel format nv12 when you decode avc with -c:v h264_cuvid -i or with -hwaccel nvdec.

You can just specify ffplay -s 1920x1080 -pix_fmt nv12 file.yuv (you also need to set the matrix at least with -vf scale=in_color_matrix) and it will work. There is no need to use yuv420p10.

Maybe it is a good idea to already move to p010 and p016. Those are now what is used on linux too.
Balling is offline   Reply With Quote