Elecard
June 20, 2013, 05:10:56 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Getting each frames from a video file.  (Read 1005 times)
build
Newbie
*
Posts: 1


View Profile
« on: April 14, 2011, 10:20:41 am »

Dear Elecard employee,

I am trying to build a module without UI to retrieve each frame from a video file.
Each frame should be a bitmap in memory for further adjustments.
Frame dumping to file is not needed.
Is this possible with your current SDK or should I build my own Filter?
If so, can you give me some sample code or point me to the correct direction?

Thanks in advance!

build
Logged
IrinaM
Moderator
*****
Posts: 139


View Profile
« Reply #1 on: April 21, 2011, 04:44:46 am »

Hello build,

If you need to retrieve frame from MPEG video file you can use the parameter EM2VD_CapturePicture of Elecard MPEG-2 Video Decoder. This parameter gets the last decoded picture in RGB24 format.
In other case you need to create your own filter (similary Simple Grabber), which receives a media sample and transforms it if need.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!