Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

Sample MPEG2 Encoder Problem

merb137
Beginner
116 Views

I've been playing around with the sample mpeg2 encoder provided with the IPP 5.1 samples and I'm seeing a weird thing. If I compile the sample code (umc_video_enc_con) and codec in debug mode (_DEBUG instead of NDEBUG), then an assertion is thrown from line 149 in umc_mpeg2_enc_me.h. Ignoring the assertion cause the debugger todetect a corrupted heap a few lines later (line 160).

When I build in release mode, everything runs fine and a correct mpeg file is produced. Has anyone else seen this problem and know of a solution?

0 Kudos
2 Replies
Vladimir_Dudnik
Employee
116 Views

Hello,

thanks for informing about that issue, we will check the codec. Could you also specify what parameters did you use for your test? Might be you specified too many frames (which were not available in input YUV file)?

Regards,
Vladimir

Leonid_K_Intel
Employee
116 Views

In umc_mpeg2_enc_me.h in lines 157-158:

me_matrix_w = limit_right + 0 - limit_left;
me_matrix_h = limit_bottom + 0 - limit_top;

try to change 0 to 1. If it doesn't help, please provide us command line parameters and par-file. Is it always happening? I mean with different parameters, like frame size, search ranges, GOP structure?

Thanks

Reply