Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Fail to initialize H264 encoder

danielwang1971
Beginner
322 Views

Hi

I have a problem  for H264 encoder  with image size 2448 * 2448.

When I compression H264 stream first time , works well.

But MFXVideoENCODE:: Init() return MFX_ERR_MEMORY_ALLOC error when I try to compress second time.

And Ifcompress Full HD image works well without any problem.

Do you have any idea?

Best regards,

0 Kudos
1 Reply
Seunghyuk_P_Intel
322 Views

Hi Daniel,

We need more detail information, like which version of mediasdk, script information you executed, platform.

And if you did not test this with mediasdk samples (ex:sample_encode), please check whether this is working or not from samples, first.

c:\> sample_encode h264 -i "in.yuv" -o "out.264" -w 2448 -h 2448 -hw -d3d -vbr -b 100000 -g 30

Regards,

Peter.

Reply