×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    2

    Drawing on top of video playback

    Hi all
    I'm in the middle of developing an application where I would like to draw a simple cross hair on the screen over the playback of the primary camera for a Nokia N80 (S60 platform). The playback occurs on a canvas object but I can't figure out how to set the Graphics object(the cross hairs) at a higher level on the canvas than the video playback.

    using the standard line below and I'm drawing to the canvas object.
    vidCon.initDisplayMode(vidCon.USE_DIRECT_VIDEO, canvas)

    Do I have to use a layer manager and just create the crosshairs as a Sprite object?

    Any help would be much appreciated.
    Thanks

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    46

    Re: Drawing on top of video playback

    Hi,cmccauley3353
    It seems that there is a method which allow you to draw something over the camera, but I'm not sure about it.It's just an advice.

    Best regards

  3. #3
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Drawing on top of video playback

    You need to take separate snapshots from the camera, draw those images on the screen and draw the crosshair on top of the image.
    In the future you could use OverlayControl from AMMS API (JSR-234), but that is not available on S60 3rd Edition devices.

    Hartti

Similar Threads

  1. Video playback on N80
    By FLO334 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-03-22, 00:01
  2. painting on top of camera video input
    By rel1986 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2007-01-06, 09:57
  3. 3650 Video playback problems
    By satchmobu in forum Mobile Java General
    Replies: 3
    Last Post: 2003-07-02, 10:17
  4. video playback from memorycard with fullscreen (nim - format)??
    By chris.dah in forum Mobile Java General
    Replies: 0
    Last Post: 2003-04-16, 10:18

Posting Permissions

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