One note about this is that you can have Freevo call fbset AFTER SDL
initializes. I had problems with SDL's native framebuffer, so I would
start Freevo and then after the screen was init()-ed, Freevo calls
fbset. 

You can use this:
OSD_SDL_EXEC_AFTER_STARTUP = [command]

Aubin

On Mon, Nov 08, 2004 at 08:03:47PM +0100, Stephan Kanthak wrote:
> On the PC side I have a G400 which is well supported by almost all 
> applications and drivers (freevo, mplayer, fbdev, cvidix). Unfortunately, the 
> G400 only supports screen widths that are multiples of 16. 848 isn't, so I 
> rounded it up to 856 which worked for me. I played around a little while with 
> fbset to get the right settings for 856x480 with exactly (!) 60Hz, but at the 
> end I had them. The plasma natively showed the picture of the G400 without 
> any black borders and zooming. Surprisingly, putting the specification 
> into /etc/fb.modes wasn't sufficient as freevo was still set to 800x600, but 
> patching freevo to 848x480 also didn't change anything. Everthing I tried I 
> always ended up with a wired 960x720 mode (I actually do not remember it 
> exactly, but I checked it using fbset while freevo was running and it was 
> around that resolution).
> 
> The problem lies in the SDL!!! When used on framebuffer devices it uses an 
> internal reference table of modes, which are only 4:3 and 960x720 was in it. 
> I patched the binary of libSDL by changing the 960x720 line to 848x480 in a 
> hex editor (compiling it from scratch with all the debian dependences took 
> too long and was even a bigger mess) and voila now freevo comes up with 16:9.
> 
> However, the default skin looked a little stretched. So, I simply copied the 
> basic.fxd and edited it (actually I rewrote it from scratch) to adapt it to 
> 848x480. I can upload that one to the skin repository if someone wants to. It 
> should be farely easy to adapt it to other 16:9 resolutions. The biggest 
> differences in that skin are the tv guide and the audio player stuff. I had 
> to redesign them completely to get everything on the screen. The skin also 
> offers different background colorings (same picture but hue changed) and I 
> change them randomly.
> 
> However, even with changes to the skin you are only half through. I have a 
> finetuned local_conf.py which might give others hints on how to modify 
> mplayer's commandline to get everything in the right place. If someone is 
> also interested in this stuff I can also sent it to this list.
> 
> Cheers,
> Stephan Kanthak
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to