Tuesday, May 9, 2006

Mysql to fix Contrast on pcHDTV

So you got the pcHDTV and now the contrast is to high the best would be to use v4lctl to change the contrast on the card:




v4lctl -c /dev/video0 setattr 'contrast' 21500
v4lctl -c /dev/video0 setattr 'chroma agc' on
To test v4lctl:
v4lctl -c /dev/video0 list
but if you are using Fedora core 5 ... this will segement fault (at least with xawtv-20060227-141156)
so to get a similar result you need to put the correct settings in the db, the GREAT thing about mythtv is that it doesnt have a global contrast setting.. so you have to enter this into the db manually:
mysql -u (username) -p mythconverg
at the prompt put:
update channel set contrast=21500,brightness=37500,colour=32768,hue=32768;
update channel set videofilters='adjust=34:253:1.0:23:232:1.0';
if you dont like the results just put in :
update channel set contrast=32768,brightness=32768,colour=32768,hue=32768;
update channel set videofilters='';
to reset it back to the defaults

2 comments: