Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor iit-developer's Avatar
    Join Date
    Apr 2010
    Posts
    77
    Hi all,

    i'm writing a midlet that takes snapshots from the display using the getsnapShot(encoding=jpeg) method of videoControl interface.
    The video is recorded in the device's filesystem and played by the midlet itself.
    The snapshots are correctly made but the resulting JPEG images are always blank images.
    How can i have correct snapshots?

    Best regards

  2. #2
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    you can start by calling getSnapshot(null) to get a default image, and then you can try System.getProperty("video.snapshot.encodings"); to check supported encodings.

    What device do you work on?

  3. #3
    Regular Contributor iit-developer's Avatar
    Join Date
    Apr 2010
    Posts
    77
    I'm working on a E61.
    I read on this link http://www.forum.nokia.com/document/...D8F1EE772.html that:

    VideoControl.getSnapshot always returns a blank image if a snapshot is taken from a video content player. Actual snapshots are only supported when a camera locator is used (e.g. device://video, device://devcam0).

    This means that if the video is loaded from the device's filesystem the getsnapShot method doesn't work?

    Best regards.

  4. #4
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    This means that if the video is loaded from the device's filesystem the getsnapShot method doesn't work?
    Some people say they have seen it working on Nokia N95 and other devices, please check that the video control is visible on the screen and and video is playing (put a sleep for 2 sec's after playing the video and then try to get the snaphost(null)).

    thanks,
    ~Amitabh

  5. #5
    Regular Contributor iit-developer's Avatar
    Join Date
    Apr 2010
    Posts
    77
    Hi,

    i' ve tried to create .png file with getsnapShot(null) but the images are always blank.
    The video is correctly playing on the device and the videoControl is supported by the E-61.
    There is a way to resolve the problem?

    Thank's

  6. #6
    Regular Contributor iit-developer's Avatar
    Join Date
    Apr 2010
    Posts
    77
    Anyone can't help me?

    Thank's

  7. #7
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    the library article seems pretty straightforward: there is no way to have it working in Java ME

    but since you are working on a E61, you can consider an alternative development platform, like Python or C++.

  8. #8
    Regular Contributor iit-developer's Avatar
    Join Date
    Apr 2010
    Posts
    77
    Thank you for the reply njzk2,

    ok and in C++ do you have any suggestion to handle the problem?

    Best regards

  9. #9
    Regular Contributor iit-developer's Avatar
    Join Date
    Apr 2010
    Posts
    77
    Hi all,

    does anybody known some python script or some C++ library that can help me to extract frames from video files (in 3gp and mp4 format)?

    Best regards

  10. #10
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by iit-developer View Post
    Hi all,

    does anybody known some python script or some C++ library that can help me to extract frames from video files (in 3gp and mp4 format)?

    Best regards
    This forum includes all these technology's experts, so please start the discussion there
    http://discussion.forum.nokia.com/forum/
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Detect all image file in a folder
    By fecxelmin in forum Mobile Java General
    Replies: 11
    Last Post: 2010-04-26, 09:23
  2. Image Transparency issue - Help me out ....
    By tomcruise in forum Mobile Java Games
    Replies: 2
    Last Post: 2008-05-31, 15:40
  3. AknIconUtils is caching the image
    By Tatanka.nbr1 in forum Symbian C++
    Replies: 12
    Last Post: 2007-01-05, 19:08
  4. Image on a Form
    By ionutianasi in forum Mobile Java General
    Replies: 2
    Last Post: 2006-10-24, 11:04
  5. Image Uploader / Image Downloader / Image Server
    By kehong in forum Symbian C++
    Replies: 0
    Last Post: 2003-05-12, 17:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved