×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    7

    Drawing additional item on captured video

    I capture video by

    plCamera = Manager.createPlayer("capture://video");
    plCamera.realize();
    vcCamera = (VideoControl)plCamera.getControl("VideoControl");
    vcCamera.initDisplayMode(VideoControl.USE_DIRECT_VIDEO,this);

    How I may drawing additional transparent items above VideoControl?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Norway
    Posts
    63

    Thumbs down Re: Drawing additional item on captured video

    Quote Originally Posted by emax73
    I capture video by

    plCamera = Manager.createPlayer("capture://video");
    plCamera.realize();
    vcCamera = (VideoControl)plCamera.getControl("VideoControl");
    vcCamera.initDisplayMode(VideoControl.USE_DIRECT_VIDEO,this);

    How I may drawing additional transparent items above VideoControl?
    Hi I've tried that and it cannot be done, at least not on 6680. The VideoControl interface is poorly defined, for example it does not allow one to specify a color which the video can override.

    If you flush some part of the video box, you will on some phones not see any difference, on other the graphics buffer clip is flushed -> no transparency.

    A fundamental problem is that the video graphics is not drawn to the graphics buffer (and flushed) and that it is hard if not impossible to synchronize .paint/.flushgraphics calls to the video paint trace. CRAP

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    12

    Re: Drawing additional item on captured video

    Anybody else have any input on this? Is it just impossible to do or is there any more or less creative ideas?

  4. #4
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: Drawing additional item on captured video

    Hi,

    I think it's only possible with AMMS (JSR 234) and the OverlayControl.

    Daniel

  5. #5
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,699

    Re: Drawing additional item on captured video

    hi,

    I've just wrote about that on other thread,
    http://discussion.forum.nokia.com/fo...ad.php?t=78699
    to be strict is not supported on current and upcoming Nokia devices, its supported (including video canvas rotation control) on different platforms

    regards,
    Peter

Similar Threads

  1. Drawing graphics over captured video.
    By jcmirand in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-02-21, 18:52
  2. Drawing image on Video Control
    By satish_kore in forum Mobile Java General
    Replies: 0
    Last Post: 2005-07-17, 13:01
  3. Drawing a skinned lbx selected item
    By profoundwhispers in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-06-30, 17:35
  4. Resizing video in a Form Item
    By mdtoxy in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2004-04-07, 12:11
  5. drawing composite controls within CListItemDrawer::DrawActual Item
    By joshd29 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-08-09, 00:41

Posting Permissions

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