Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
33 Views

Fail to initialize H264 encoder

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
Highlighted
33 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.

0 Kudos