Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2008

    Question Play video in background window

    Hi all,

    I'm trying to play an mp4 video in the background of my application, using the VideoPlayer class - I want to manipulate and show frames that I grab using the GetFrameL() function, without displaying the video itself while it plays.

    I've set up a class which implements CCoeControl and MVideoPlayerUtilityObserver classes, setting up its own window to play in ( calling CreateWindowL(), SetRect(), and ActivateL() ), and passing it's window session and screen device to the VideoPlayer class, and when I call Play() it takes over my whole application and plays the video over top of everything - not what I want.

    So as far as my understanding stands, a class which implements CCoeControl is able to construct its own window and draw to that. By implementing more than one of these, am I effectively creating multiple windows within my application? If so can these windows be given selective focus? That's my idea, to have a window which the VideoPlayer class is playing in, but which I hide from the user...

    Am I doing something majorly stupid here? Anyone know a quick and dirty fix for what I want to do? I haven't included any code here cos there's just so damn much of it and I'm not sure what part would help solve this problem yet..


  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: Play video in background window

    AFAIK the GetFrameL has never really worked, and the video API is made in a way that it wants to draw on top of everything, so you can not really put anything on top of it without having huge flickering effect. Maybe you could try the Dev video APIs, though I do not have experience with them, and would not be sure if they could help you really.

  3. #3
    Registered User
    Join Date
    Dec 2008

    Re: Play video in background window

    Ah really? That explains the flickering I've been getting then... Back to the drawing board...

    Thanks a lot for your reply!

Similar Threads

  1. Problem in Recording/ Play back Video
    By minasamy in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-06-08, 05:54
  2. cannot able to play a video file.
    By shalini.mishra in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2006-11-13, 16:54
  3. Is it possible to play video file per frame.
    By b4605318 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-04-25, 17:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts