first my question: Is it possible to change video output using the animations framework? For example with the code below it is possible to scale and rotate a ListView, is it possible to apply such matrix operations on a video which is played using a the Mediaplayer and SurfaceView class?
What I have done so far: The video plays using basically this demo code from android developers.
The animation class I am using consist the following code:
Then, I used the following code to apply the animation on the surface view (just like the working ListView)
although the animation code is called, the video continues without any animation...
So, because the SurfaceView is a more advanced view, I looked up about doing animations on a SurfaceView. According to this page, the surface has to be handled using it's holder, and using lockcanvas() and unlockCanvasAndPost() to draw on the surface.
Although drawing something on the video is not my direct goal, it is a start... So I Called those methods. But than I get an error because the SurfaceHolder which the player is using is of type SURFACE_TYPE_PUSH_BUFFERS. changing that type to SURFACE_TYPE_NORMAL results in a black screen.
Because the above listed tries results don't work, it seems to me at the moment that video output can't be altered using animation/matrix operations... Any suggestions?
Thanks in advance!