How to divide the video into frames?

Hi

I need to get the frames from a video file.There is a option j2me for getting one frame(getSnapshot) and at the maximum of ten frames using snapCtrl.

By using snapctrl i can take only ten pictures.when snapctrl is executed the first ten frames gets extracted from the video.it stores the frames in root directory which causes some delay in execution of next statement.

my problem is because of this delay 3 or 4 frames are missed when i try to continue get the frames in a loop.

Is there any other method to get all the frames?please help

[574 byte] By [thelastdona] at [2007-11-26 17:33:49]
# 1
r you using a OEM specific device API's to develop this application? If yes let me know the device.~Mohan
itsmohana at 2007-7-9 0:01:50 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
HiThanks for your reply.i am not using any oem specific device. i am using the sun wireless toolkit to develop the application
thelastdona at 2007-7-9 0:01:50 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
There is no such method try to increase the delay in your thread that displays those frames.If in the emulator you are experiencing that much huge delay than on the device it will be crazy.~Mohan
itsmohana at 2007-7-9 0:01:50 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
To itsmohanHiKindly check the jsr234 .u have the method for shooting continous frames.
thelastdona at 2007-7-9 0:01:50 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5

The JSR seems to be good but that JSR intent is to support the higher end device models like the PDA's, device that come under the CDC bed, Higher end versions of the Nokia series 60 and 80.

Anyways that method call definitely must have been implemented in native i.e java calling native and it completely depends on the how the native functionality is been implemented. JVM must wait untill the native functionality terminates. Based on that native delay your java code needs to be tweaked. But there is always a trade-off when it comes to memory on different devices.

Thanks for your info.

~Mohan

itsmohana at 2007-7-9 0:01:50 > top of Java-index,Java Mobility Forums,Java ME Technologies...