How does CVideoPlayerUtility play frames ( the frame comes from camera)?

Login to reply to this topic.
Fri, 2005-08-19 02:10
Joined: 2005-05-27
Forum posts: 7
Hi, every one :

  Now , In my project , I am using CVideoPlayerUtility to play video.
  But I found CVideoPlayerUtility only support video clip.

  just Like : OpenFileL(const TDesC &aFileName);

  But with my requirement, I need play video clip frame by frame, the frame comes from camera.

  just Like : 

  1. camera ready
  2. StartVideoCapture()
  3. in callback function FrameBufferReady() , I can get the frame data.
  4. send the data to VideoPlayerUtility.
  repeat 3,4
  5. stopVideoCapture
  6.release camera

  but VideoPlayerUtility does not support play frame by frame , How can I do ?

  I do some investigation,

  Does CMMFDevVideoPlay can do it ?
  I do some test , but failed , because the document is poor

  If some body have experience of video player , can give me some help ?

  thanks a lot !



Thu, 2006-07-20 11:37
Joined: 2006-07-20
Forum posts: 2
Re: How does CVideoPlayerUtility play frames ( the frame comes f
Hi,
Were yu able to use CMMFDevVideoPlay...
Can i get some basic sample to learn about it...
Thanks
Datha
Wed, 2006-07-26 02:55
Joined: 2005-06-14
Forum posts: 7
Re: How does CVideoPlayerUtility play frames ( the frame comes f
May be MMF plugins  . I don't sure
Wed, 2006-07-26 10:59
Joined: 2003-10-20
Forum posts: 35
Re: How does CVideoPlayerUtility play frames ( the frame comes f
If your problem is to render frames taken from onboard camera you have not to use Video palyer but ONLY CCamera using StartViewFinderDirectL() method.

You have to provide the region where you want to display frame and CCmaera does the work.

HTH,
Fabrizio

I often regret my speech, I never regret my silence

Thu, 2006-07-27 07:21
Joined: 2004-10-18
Forum posts: 40
Re: How does CVideoPlayerUtility play frames ( the frame comes f
Note that StartViewFinderDirectL() method is not supported in any Nokia device in the market right now (don't know about the devices from other manufacturers). You need to use StartViewFinderBitmapsL() and blit the arriving bitmaps to screen by your self.
  • Login to reply to this topic.