Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

MPEG4 Encoder w/ Threading

sdhays
Beginner
499 Views
I'm evaluating the MPEG4 encoder included in the Linux IPP5 samples. When I encode using threading (-r option), the program doesn't exit; it hangs until receiving SIGINT. The MPEG4 file is fine, though; it seems that the encoder thread simply never figures out that its work is done. If I don't use the -r option, the program exits with a nice report at the end. Does anyone else have this problem?

Scott
0 Kudos
3 Replies
walkdeath
Beginner
499 Views
I have the same problem~~
0 Kudos
sdhays
Beginner
499 Views
I'd also like to ask if this issue has been resolved in the IPP 5.1 samples, which I'm expecting will come out very soon (Q2 ends this week, doesn't it?).

Scott
0 Kudos
Vladimir_Dudnik
Employee
499 Views

Hi Scott,

yes, we also discovered this issue. It definetely will be fixed in IPP v5.1. But for IPP v5.0 there is quite simple workaround:

you need to modify umc_mpeg4_video_encoder.cpp, line 150
return UMC_OK;
to
return (sts == MP4_STS_NODATA) ? UMC_END_OF_STREAM : UMC_OK;

It should solve this issue.

Regards,
Vladimir

0 Kudos
Reply