Menu

HEVC_AMF / 10-Bit Encoding

Anonymous
2023-10-13
2023-10-16
  • Anonymous

    Anonymous - 2023-10-13

    Will or can the HEVC_AMF encoder support Profile 10 or 10-Bit HEVC? I've installed the full version of ffmpeg into the ffmpeg Batch folder but can't seem to get the two things together. I'm a little vauge on terminology but I think I'm asking the correct question. Thanks!

     
  • Abel

    Abel - 2023-10-15

    Hi, it should work fine, you can use the wizard to play with hevc_amf parameters, basically -profile and pixel format, for example:

    -profile main / main10 (main10 is not available in the wizard, just write it down in parameters)
    -pix-fmt yuv420p10le

     
  • Anonymous

    Anonymous - 2023-10-15

    The first preset will work fine:

    -map 0 -c:v hevc_amf -profile:v main -quality balanced -rc cqp -qp_p 25 -qp_i 25 -pix_fmt yuv420p10le -profile:v main -quality balanced -rc cqp -qp_p 25 -qp_i 25 -pix_fmt yuv420p10le -vf "scale=640:480,crop=ih/3*4:ih" -c:a aac -b:a 128K -filter:a loudnorm

    ...but when I change it to this...

    -map 0 -c:v hevc_amf -profile:v main10 -quality balanced -rc cqp -qp_p 25 -qp_i 25 -pix_fmt yuv420p10le -profile:v main10 -quality balanced -rc cqp -qp_p 25 -qp_i 25 -pix_fmt yuv420p10le -vf "scale=640:480,crop=ih/3*4:ih" -c:a aac -b:a 128K -filter:a loudnorm

    ...it gives me the attached errors when I test the preset. The first main10 will do fine but when I change the second main to main10 is when I get the errors.

    Can you tell me what I'm doing wrong? Thank you for your time!

     
  • Abel

    Abel - 2023-10-16

    Hi, there are repeated parameters for some reason.. I've checked that hevc_amf only supports main and high profiles. Bit depth should be accomplished by using the pixel format, and also high profile, I don't have a compatible card to test:

    -map 0 -c:v hevc_amf -profile:v high -quality balanced -rc cqp -qp_p 25 -qp_i 25 -pix_fmt yuv420p10le -vf "scale=640:480,crop=ih/3*4:ih" -c:a aac -b:a 128K -filter:a loudnorm

     
  • Anonymous

    Anonymous - 2023-10-16

    Yeah, that's what I was afraid of. I replaced the version of ffmpeg in the Batch folder with the full version and I can get HEVC 10-bit using the yuv42p10le & main10 profile by adjusting the parameters but I have to use the libx265 encoder & can only do 1 file at a time or all my CPU cores go to 100%. Oh well... Just slower going. Thanks for the information and trying to help me!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.