[Mplayer-dev-eng] HELP: RGB video out

Arpi arpi at thot.banki.hu
Sat Aug 4 19:59:26 CEST 2001


Hi,

> Hello there,
> 
> I am writing something similar to the PNG video output, but it's in another 
> format.  The file format goes like this -
> 
> [2 bytes] - image width
> [2 bytes] - image height
> [4 bytes * width * height] - image data
> [eof]
> 
> Someone please tell me how to write the video output in ARGB (32 bit RGB ) 
> format to a file.  Something similar to what the PNG module does.  I've 
> attached code.   It doesn't work.  Modified from fbdev module.

It seems to be ok, except a very important thing:
you never call yuv2rgb_init, setting up rgb pixel format to the yuv->rgb
converter:
             yuv2rgb_init(32,MODE_BGR);

btw, what the hell is /dev/image ?


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list