On 04/03/11 16:13, Gerhard Jäger wrote: > Hi list, > > while streaming some videos on my laptop, I decided to add a mplayer video- > output module to display the video on my TV screen using jointspace DirectFB > API.
Nice idea. Did you try the standard DirectFB backend in mplayer, maybe it works via Voodoo (as most other examples). Just specify the remote=<host> option, but you need a recent DirectFB version with 32bit message serials (1.5.0) or the custom jointSPACE DirectFB 1.4.1 version. > So far I've managed to display something - I guess it's the brightness part > of > the YUV input I got from mplayer. The problem I'm faced with is the fact that > I don't know (and I didn't find a good example) how to transfer the picture > whole information (YUV12) to the framebuffer window (or is it the surface) of > the TV. In fact I've created a window using the YUV12 pixel format and > expected to simply copy data. Maybe some of you know how to solve that issue > or can direct me to a good tutorial. AFAIK YUV to RGB conversion is not done in hardware on TV side, but I could be wrong. Best is to create an RGB16 window surface and convert the data on PC side. > I know that the bandwidth is not the best for streaming videos, but as I got > that far, I want to finish this small "project". The latest Voodoo library supports transparent protocol compression which is already quite good even for RGB data (using fastlz realtime compression). But it's not in a TV software release so far. > Any pointer to a demo or help on that "formatting" issue would be great. Rather look for YUV to RGB (16 bit RGB 565) conversion. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev