×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    2

    Question get frames from recorded video j2me

    how to get frames from recorded video
    i want to get frames and convert to image for processing
    please help

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: get frames from recorded video j2me

    If you are recording something live, say a barcode reading app; you may use getSnapshot from the Camera for capturing frames.
    If its a precorded video, then you need to read the video file and decode its data based on its codec to find image data for each frame.

    thanks,
    ~Amitabh

  3. #3
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    76

    Re: get frames from recorded video j2me

    I am looking to extract frames from a pre-recorded video. Could you please elaborate on how to read the video file (its in mp4).

    Thanks

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: get frames from recorded video j2me

    Another way, try to get the VideoControl from your player and then use getSnapshot("encoding=jpeg") and you will get the required frame (tested on N95).

    thanks,
    ~Amitabh

  5. #5
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    76

    Re: get frames from recorded video j2me

    I think there are two threads in which we are discussing the same method. But Amitabh I am unable to make it work. Could you please provide the sample code?

Similar Threads

  1. Software-only video decoder in J2ME
    By nmadrane in forum Mobile Java Media (Graphics & Sounds)
    Replies: 18
    Last Post: 2011-06-26, 19:17
  2. Which way the j2me emulator can play mp4 and 3gp video
    By ziathegreat in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2009-06-25, 06:12
  3. why J2ME midlet can't play 3gp video?
    By pablochen2 in forum Streaming and Video
    Replies: 1
    Last Post: 2009-06-23, 17:42
  4. Selection of wireless toolkit for video streaming in j2me
    By ziathegreat in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2009-06-11, 08:02
  5. screensaver appears over J2ME video
    By redlex in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2006-12-02, 09:52

Posting Permissions

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