I'm trying to play short videos (2-20 seconds) in a continuous loop in a Java app. I'm using Player component to render the video on Canvas based view.
The problem is that on Nokia Asha Software Platform 1.0 the video flickers almost every time when it starts again from the beginning. By flickering I mean showing of a couple of black frames, which is very annoying on light-colored video. This issue is reproducible on the emulator as well as on Nokia Asha 501 device. However, it is NOT occurring on S40 devices, like Nokia Asha 311, where it loops very smoothly.
Has anyone else struggled with the problem and possibly found some solution? Is this a known platform bug?
A simple code playing a video and reproducing the problem is like the following:
InputStream is = getClass().getResourceAsStream("/video.mp4");
Player player = Manager.createPlayer(is, "video/mp4");
VideoControl vc = (VideoControl)player.getControl("VideoControl");