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!

UMC capture question

jon_shadforth
Novice
145 Views
I want to capture individual frames from a movie file; I don't want to render to the screen.

I'm using the UMC simple player example to try to see how I might do this.

Does anyone know of a simple way of getting a per-frame callback mechanism?

Any help appreciated - Jon.
0 Kudos
3 Replies
Chao_Y_Intel
Employee
145 Views
Quoting - jon_shadforth
I want to capture individual frames from a movie file; I don't want to render to the screen.

I'm using the UMC simple player example to try to see how I might do this.

Does anyone know of a simple way of getting a per-frame callback mechanism?

Any help appreciated - Jon.

Hi Jon,

Do you mean how to get each decoded frame data with simpleplayerr application? You can use a filerender as the following command line:

>simple_player.exe -vfwf output.yuv inputvideo.dat

Thanks,
Chao
jon_shadforth
Novice
145 Views
Quoting - Chao Yu (Intel)

Hi Jon,

Do you mean how to get each decoded frame data with simpleplayerr application? You can use a filerender as the following command line:

>simple_player.exe -vfwf output.yuv inputvideo.dat

Thanks,
Chao

Hi Chao - no - I want to write my own movie decoder system that will allow me to grab frames (either real-time or single-stepping) and send them for processing.

All of this will be part of a C# library we have written which wraps parts of IPP.

I'm only using simple player as a reference. I'm also hoping to not have to modify any of the existing sample code files, as I'm expecting there is a normal way of using the data readers and codecs to build such a library.

Thanks, Jon.

Chao_Y_Intel
Employee
145 Views
Jon,

You need to check to simpleplayer code to learn how to use UMC to decode the video.
some simple code also can be found here:
http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample...

thanks,
Chao

Reply