[sdljava-users] YUV Overlay
Status: Beta
Brought to you by:
ivan_ganza
From: Pedro R. <bi...@ya...> - 2006-03-30 11:37:10
|
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=rgb32 test.avi -o pipe"); Then I open screen ByteBuffer: p=screen.getPixelData(); Read the pipe... and screen.flip(); 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 ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |