[MPlayer-users] Re: Blotchy Colors (revisited)

Tobias Diedrich ranma at gmx.at
Wed Apr 2 16:15:19 CEST 2003


D Richard Felker III wrote:

> This site shows how to make what you need:
> 
> http://www.hut.fi/Misc/Electronics/circuits/vga2tv/vga2palntsc.html

For X11 the following modelines should work, provided that your GFX-Cards
supports interlaced modes, newer NVidia cards don't do that anymore:

|Interlaced modes are only supported on older NVIDIA cards:
|GeForce 256, GeForce DDR, Quadro, GeForce2 GTS/GeForce2 Pro,
|GeForce2 Ti, GeForce2 Ultra, Quadro2 Pro, and all TNT products.
|(from (app-l) APPENDIX L: PROGRAMMING MODES of the README).

Also, not all cards support dot clocks that low, for example my ATI
Rage128 Pro has a minimum dotclock of 12.5Mhz, so the 640x480 at 60i mode
doesn't work.

# NTSC
# HSF = 15.734khz (Horizontal Scan Frequency)
# VSF = 59.94Hz (Vertical Scan Frequency)
# 525 Total Scanlines

# line length = 63.5us (1/HSF)
# line blanking interval = 10.9us +- 0.2us ( front porch + sync pulse + back porch)
# front porch = 1.27us-2.22us (1.745us +- 0.475us)
# sync pulse = 4.7us +- 0.1us
# (nominal back porch = 4.455us)

# HTOTAL = XRES*63.4/52.6
# DCLK = HTOTAL*15.734*1000 (Dot Clock)
# HSS  = HTOTAL*53.87/64
# HSE  = HTOTAL*58.57/64

Modeline "640x480 at 60i" 11.32  640 646 703 786  480 484 487 525 -hsync -vsync interlace
Modeline "640x240 at 60"  11.32  640 646 703 786  240 242 244 263 -hsync -vsync
Modeline "657x480 at 60i" 12.50  657 667 725 792  480 484 487 525 -hsync -vsync interlace
Modeline "657x240 at 60"  12.50  657 667 725 792  240 242 244 263 -hsync -vsync
Modeline "704x480 at 60i" 13.34  704 714 776 848  480 484 487 525 -hsync -vsync interlace
Modeline "704x240 at 60"  13.34  704 714 776 848  240 242 244 263 -hsync -vsync
Modeline "720x480 at 60i" 13.59  720 727 791 864  480 484 487 525 -hsync -vsync interlace
Modeline "720x240 at 60"  13.59  720 727 791 864  240 242 244 263 -hsync -vsync
Modeline "800x480 at 60i" 15.10  800 808 879 960  480 484 487 525 -hsync -vsync interlace
Modeline "800x240 at 60"  15.10  800 808 879 960  240 242 244 263 -hsync -vsync


# PAL
# HSF = 15.625Khz
# VSF = 50Hz (Vertical Scan Frequency)
# 625 Total Scanlines

# line length = 64us (1/HSF)
# line blanking interval = 12us +- 0.3us ( front porch + sync pulse + back porch)
# front porch = 1.5us +- 0.3us
# sync pulse = 4.7us +- 0.2us
# (nominal back porch = 5.8us)

# HTOTAL = XRES*64/52
# DCLK = HTOTAL*15.625*1000 (Dot Clock)
# HSS  = HTOTAL*53.5/64 (hsync start)
# HSE  = HTOTAL*58.2/64 (hsync end)

# VTOTAL = 625
# VSS = VTOTAL

Modeline "800x576 at 50i" 15.38  800 823 895 984  576 580 583 625 -hsync -vsync interlace
Modeline "800x288 at 50"  15.38  800 823 895 984  288 290 292 313 -hsync -vsync
Modeline "768x576 at 50i" 14.76  768 789 858 944  576 580 583 625 -hsync -vsync interlace
Modeline "768x288 at 50"  14.76  768 789 858 944  288 290 292 313 -hsync -vsync
Modeline "720x576 at 50i" 13.88  720 742 808 888  576 580 583 625 -hsync -vsync interlace 
Modeline "720x288 at 50"  13.88  720 742 808 888  288 290 292 313 -hsync -vsync
Modeline "704x576 at 50i" 13.50  704 722 786 864  576 580 583 625 -hsync -vsync interlace
Modeline "704x288 at 50"  13.50  704 722 786 864  288 290 292 313 -hsync -vsync
Modeline "650x576 at 50i" 12.50  650 669 728 800  576 580 583 625 -hsync -vsync interlace

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
This mail is made of 100% recycled bits
np: Laputa: - The Girl Who Fell From The Sky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030402/6cfcfaed/attachment.pgp>


More information about the MPlayer-users mailing list