Making it happen
Real-time video processing in J2ME
An easy way to do it is using videoControl.getSnapshot to retrieve frames and then draw them using Image.createImage and drawImage. However, the default settings for getSnapshot may be jpeg or something, so the midlet will spend useless processing time with encoding and decoding the image.
Thus said, using videoControl.getSnapshot(“encoding=bmp”) is the best way to achieve near realtime framerates.
| Print article | This entry was posted by andrei on March 30, 2007 at 10:48 am, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 4 years ago
That is true, alas, it seems that more or less only Nokia devices support bmp encoding… any other ideas?
about 4 years ago
Ouch … that won’t be that nice. Will investigate.