Help me!
It's aways returned MFX_ERR_INVALID_VIDEO_PARAM with mfxExtHyperModeParam,
auto ret = MFXVideoENCODE_Init(m_session, par);
I can't use hyper encode on my computer.
there is my computer info:
連結已複製
Hi,
Thank you for posting in Intel Communities. We would like to have some information from your end to resolve your issue.
1) OS details & Processor details
2) Did you make any modifications to already available code? Please attach the code.
3) Did you follow this documentation? If not, please try all the steps and see if the issue still persists. https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/doc/HyperEncode_FeatureDeveloperGuide.md
Regards,
Alekhya
Hi,
We got an update from the admin team. Hyper Encode supports HEVC. However, a very well-known issue with our API is that it is very picky about parameters.
Please follow the command line given in the documentation(https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/doc/HyperEncode_FeatureDeveloperGuide.md#running-sample_encode-with-onevpl-runtime) for Hyper Encode. sample_encode command line with the given parameters is known to work.
Regards,
Alekhya
I tried the following three sample_encode command line, only sample_encode command line with h265 return not supported.
./sample_encode av1 -i input.yuv -o output.h264 -dGfx -dual_gfx::on -w 1920 -h 1080 -nv12 -idr_interval 0 -d3d11 -async 30 -g 30 -r 1 -u 4 -lowpower:on -perf_opt 10 -n 2000
./sample_encode h264 -i input.yuv -o output.h264 -dGfx -dual_gfx::on -w 1920 -h 1080 -nv12 -idr_interval 0 -d3d11 -async 30 -g 30 -r 1 -u 4 -lowpower:on -perf_opt 10 -n 2000
./sample_encode h265 -i input.yuv -o output.h264 -dGfx -dual_gfx::on -w 1920 -h 1080 -nv12 -idr_interval 0 -d3d11 -async 30 -g 30 -r 1 -u 4 -lowpower:on -perf_opt 10 -n 2000
The following pictures are the test results, and the attachment is my computer information:
how can I make the discrete graphics card the main adapter?
./sample_encode h265 -i input.yuv -o output.h264 -dGfx -dual_gfx::on -w 1920 -h 1080 -nv12 -idr_interval 0 -d3d11 -async 30 -g 30 -r 1 -u 4 -lowpower:on -perf_opt 10 -n 2000
I'm sorry my English is not very good, can you give me some advice if you can understand my description.
Hello,
Thanks for your patience. We investigated this case and here is my response:
Currently, in the sample_encode example, "-idr_interval 0" is not supported by HEVC Hyper Encode. Please try the following command instead:
./sample_encode h265 -i input.yuv -o output.h264 -dGfx -dual_gfx::on -w 1920 -h 1080 -nv12 -idr_interval 1 -d3d11 -async 30 -g 30 -r 1 -u 4 -lowpower:on -perf_opt 10 -n 2000
Thanks,
Rupak
