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

Using MPEG-4 Decoder

sdhays
Beginner
4,981 Views
I'm trying to build my own application based on the UMC framework from the IPP Media Samples, v5.0.017. I can play AVI and MP4 files using simple_player, and MJPEG AVIs play fine with the UMC example (from the UMC manual). But when I change the UMC example to use MPEG4VideoDecoder instead of MJPEGVideoDecoder, the program runs, seeming to process every frame, however not one frame is decoded for rendering. I'm not surprised that the MPEG4 decoder needs to be treated differently from the MJPEG decoder, but after searching for the last 3 days through simple_player.cpp, avsync.cpp, codec_pipeline.cpp, and umc_mpeg4_video_decoder.cpp, I'm still at a loss as to what I should do to get the MPEG4 decoder to work.

Any suggestions would be greatly appreciated!
Scott


P.S. As further note for when Intel updates the documentation: FIOReader is not built by default on Linux for IA32. The UMC example depends on FIOReader and thus cannot be built without modification. Changing FIOReader to FileReader works, but I don't know what difference (if any) this makes.

Message Edited by sdhays@neon.com.tw on 01-19-2006 06:35 PM

0 Kudos
43 Replies
henrik1
Beginner
438 Views
Hi,

IPP seems great and we wanted to use it to speed up image processing/CV-related tasks on video streams.

As a first learning step i wanted to access the images decoded in the umc sample posted in this thread, and for example perform some filtering on each frame using IPPi.

How could i extract a frame (using e.g. the umc sample) into an appropriate Ippi container?

My problem could be related to the fact that i havn't managed to find out how the "in/out" "MediaData/VideoData" work, what they contain and thus how to extract frame information (in some format) into a IPPImage structure!?

Thankful for all replies, samples and reading references!









(For some first feedback:

i think the downloadable samples are sometimes (perhaps necessarily) to big, and it is difficult to find a quick solution to a small limited problem.

The UMC manual and the samples could also be a bit more elaborat for the "newbie".

However on this forum i have found very good advice and many helpful people!)
0 Kudos
Vladimir_Dudnik
Employee
438 Views

Thanks for your valuable feedback, we add us energy to improve UMC documenation and IPP samples, I hope,they will be noticeable better in the next version (IPP v6.0)

Regards,
Vladimir

0 Kudos
Reply