Closed alatteri closed 1 month ago
Hi Alan, unfortunately I don't have much to look into the current state now, but I'll try to add references at least.
Running vainfo I am seeing the format VAProfileHEVCMain444_12 :VAEntrypointVLD listed.
I believe that VLD means decoding, for encoding there must be something like VAEntrypointEncSliceLP or VAEntrypointEncSlice (or maybe also VAEntrypointEncPicture, which seems to apply to MJPEG)
Does this mean hevc_qsv supports 12bit 444, and would no longer need the conversion to x2rgb10le or xv30le.
Even if 12-bit entrypoint was available, still the pixel format of the codec would have probably a different layout than R12L, so some pixfmt change will be required.
If I specify -param lavc-use-codec=x2rgb10le then UG is stable
x2rgb is disabled to fix (or workaround if you wish) the issue GH-341. It is indeed faster, the YUV->RGB conversion is HW accelerated. But, (it used to be that) qsv internally converted to BT.601 limited-range and the metadata were not correctly set. AFAIK, there is no change since then. If you wish to move forward with X2RGB, we'd perhaps need some workaround.
Hi Martin,
Thank you for the response, you are correct regarding VAEntrypointVLD being a decoder.
Probably nothing has changed regarding the colorspace issue, but I wanted to test it under Ubuntu 24.04 to see if anything changed. I have yet to test color accuracy, was going for performance and stability first.
There is listed in vainfo VAProfileHEVCMain12 : VAEntrypointEncSlice --- I wonder if this is 12bit but 420, as there is also VAProfileHEVCMain422_12.
Anyway, VAProfileHEVCMain444_10 and VAProfileHEVCSccMain444_10 still seem to be the most relevant.
Such a shame Intel dropped the ball on colorspace with that platform, otherwise it would be perfect. Small, low power, and cheapest HW accelerated solution.
VAProfileHEVCMain12 : VAEntrypointEncSlice --- I wonder if this is 12bit but 420, as there is also VAProfileHEVCMain422_12.
just FYI, I think that no 12-bit format can be used with QSV in UG right now, see the pixfmt list, the question is just AV_PIX_FMT_QSV
, which stands for hwaccel API, which we do not currently use for QSV.
Hello UG Team,
I am revisiting hevc_qsv on Intel NUC with Xe graphics, on Ubuntu 24.04.
Running
vainfo
I am seeing the formatVAProfileHEVCMain444_12 :VAEntrypointVLD
listed. Does this mean hevc_qsv supports 12bit 444, and would no longer need the conversion to x2rgb10le or xv30le.I am testing a UHD 12bit 444 RGB signal via BMD SDI and only getting around 22fps. If I specify
-param lavc-use-codec=x2rgb10le
then UG is stable @24.