26 Jan
2022
26 Jan
'22
10:30 p.m.
Am Mi., 26. Jan. 2022 um 09:33 Uhr schrieb Xiang, Haihao <haihao.xiang-at-intel.com@ffmpeg.org>:
Did you already explain why you cannot use P016 or in which situation it would create a different output?
$ ffmpeg -hwaccel vaapi -f rawvideo -pix_fmt p016 -s 1920x1080 -i input.yuv -vf "hwupload,format=vaapi" -c:v hevc_vaapi -f null -
If using P016, how will we know the input is 12bit indeed
Thank you for explaining this, at least I didn't realize this reason earlier! I hope we can find another solution than to add an additional pix_fmt. I believe I had suggested an additional property bit_depth for raw video a long time ago. Carl Eugen