Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Calculate PSNR in MPEG-4

transcoding
Beginner
164 Views
Hello guys,

I need to calculate the PSNR in MPEG-4 v5.3 because there's no metric that's implemented under IPP MPEG-4.

Have anyone tried before to do this? Do you have any idea?

BR,
0 Kudos
6 Replies
Chao_Y_Intel
Employee
164 Views


Hello,

The easy way is to decode the bit stream from the encoder's output, then calculate each frame difference with original YUV data.

NormDiff_L2, and NormDiff_L1 may help to calculate the difference.

Thanks,
Chao


transcoding
Beginner
164 Views
Hello,

To my knowledge, there's only H.264 decoder in IPP v5.3. Am I right?

Please, can you give me an example of how can I use NormDiff_L2? Is it a function?

Thank you!
transcoding
Beginner
164 Views
I agree with you when you say that NormDiff_L2 and NormDiff_L2 and NormDiff_L1 may help, but the problem is that none of the functions TransMacroBlockIntra_MPEG4 or TransMacroBlockInter_MPEG4 is called!!!

What do you suggest plese?
Chao_Y_Intel
Employee
164 Views

Hi,

MPEG4 decoder is included UMC sample code. You can use sample to decode the video.

NormDiff_L2 and NormDiff_L2 and NormDiff_L1 are used for computing PNSR of two decoded videos.

Thanks,
Chao

transcoding
Beginner
164 Views
Quoting - Chao Y (Intel)
MPEG4 decoder is included UMC sample code. You can use sample to decode the video.

NormDiff_L2 and NormDiff_L2 and NormDiff_L1 are used for computing PNSR of two decoded videos.

Hi,
I found that we can call MPEG4 decoder only using simple_player. Is that what you're talking about?

Can you give me an example of how can I use NormDiff_L2? It's not clear for me.

Thank you!
Chao_Y_Intel
Employee
164 Views

yes, simpleplayer can be used to decode the MPEG4 stream.

ippiNormDiff_L2 usage, could you check "Example 11-11 Using the function ippiNormDiff_L1" in IPP manual. The usage of NormDiff_L2 and NormDiff_L1 is same except that they return difference norm result.

Thanks,
Chao

Reply