Greetings,
Right now there is no working support for the YUV overlay stuff. Its=20
almost there though. I recently added the code to support it. Except=20
there is one part that is not working so it won't be much good until=20
that is resolved.
The problem in queston is line 207 of SDLVideo.i -- In the call to=20
NewDirectByteBuffer I am not sure how to implement the size=20
calculation. Right now its saying a size of 1. If this line could be=20
corrected then I think the YUV stuff should be working. You could=20
access the YUV functions via SDLVideo and SDLOverlay classes.
-Ivan/
Pedro Ruiz wrote:
>Hello.
>I'm trying to play a xvid video with SDLjava.
>So I've made:
>
>Runtime.getRuntime().exec("/sdljava-0.9.1/mencoder -of
>rawvideo -ovc raw -vf format=3Drgb32 test.avi -o pipe");
>
>Then I open screen ByteBuffer:
>p=3Dscreen.getPixelData();
>
>Read the pipe...
>
>and screen.flip(); =09
>
>Works but It's slow, so I think that using YUV overlay
>it'll work faster.
>So I'm interesting to know how can I use the sdl yuv
>functions like SDL_DisplayYUVOverlay.
>
>Nevertheless, if anybody knows another way ...
>
>Thanks
>
>
> =09
>______________________________________________=20
>LLama Gratis a cualquier PC del Mundo.=20
>Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto.=20
>http://es.voice.yahoo.com
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by xPML, a groundbreaking scripting langu=
age
>that extends applications into web and mobile media. Attend the live web=
cast
>and join the prime developer group breaking into this new coding territo=
ry!
>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
>_______________________________________________
>sdljava-users mailing list
>sdl...@li...
>https://lists.sourceforge.net/lists/listinfo/sdljava-users
> =20
>
|