AMF icon indicating copy to clipboard operation
AMF copied to clipboard

No 10-bit HEVC encode support in FFmpeg?

Open Chipcraft opened this issue 4 years ago • 3 comments

Since basically no documentation exist on the subject, I thought you might be able to give an answer. Is it really the case that it is not possible to encode 10-bit HEVC using FFmpeg? 8-bit HEVC works fine however, p010 pixel format is being refused and apparently, only yuv420p and nv12 are available? Also, there doesn't seem to be any way to otherwise select the output depth.

This is on Navi 21.

Thanks!

Chipcraft avatar Apr 28 '21 16:04 Chipcraft

10bit HEVC encode is not yet integrated into ffmpeg AMF codec.

MikhailAMD avatar Apr 28 '21 17:04 MikhailAMD

Thats quite unfortunate, but thanks for the lightning fast reply Mikhail!

Chipcraft avatar Apr 28 '21 17:04 Chipcraft

Apologies for grave digging, but regarding ffmpeg, it does appear that the version of AMF in ffmpeg is quite old, still. It would be awesome to see an update to ffmpeg's AMF implementation, with features like 10-bit encoding and the new Quality VBR for H264 included, among others. We're all out here cheering yall on! Thanks!

cs9kc avatar Oct 05 '21 01:10 cs9kc

10-bit HEVC support patches were submitted to FFmpeg and are under review. Closing this issue.

https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/ https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/ https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/

rhutsAMD avatar Oct 26 '23 21:10 rhutsAMD

Is there a way to compile FFMPEG with 10Bit HEVC AMF encoder? I have only found ffmpeg build without 10bit AMF support

leleargo avatar Feb 04 '24 07:02 leleargo

Is there a way to compile FFMPEG with 10Bit HEVC AMF encoder? I have only found ffmpeg build without 10bit AMF support

We submitted the patches and are waiting for acceptance. Once they are merged into FFmpeg tree you can get the build from regular sources. You can make a custom FFmpeg build by applying the patches.

MikhailAMD avatar Feb 05 '24 15:02 MikhailAMD