LinHES Forums
http://forums.linhes.org/

Watch Live TV, and call a script
http://forums.linhes.org/viewtopic.php?f=17&t=8037
Page 1 of 1

Author:  alpha_geek [ Sun Jan 22, 2006 4:31 pm ]
Post subject:  Watch Live TV, and call a script

Hi,

I want to set the hue, contrast, colour etc when I select the Watch TV menu item. I have done this in my change channel script and it works fine. can anyone tell me how to call a script, or edit a file to do this

Thanks

Author:  alpha_geek [ Mon Jan 23, 2006 7:16 am ]
Post subject: 

Okay I have re-thought this, and I realize that I need to modify more than just the “watch tv” menu item, as I also need to set the properties of the TV card when I start a recording too.

At the moment, when I start live tv or a recording starts, the hue, colour etc are all wrong until I change channel.

I noticed that even if I set the properties manually while watching TV, as soon as I change channel the problem would reappear again. I have an external set-top box that is controlled by an IR-blaster, so I simply tagged this to the bottom of my change channel script

# v4lctl –c /dev/video1 hue “50%”
# v4lctl –c /dev/video1 contrast “18%”
# v4lctl –c /dev/video1 bright “58%”
# v4lctl –c /dev/video1 color “82%”

This means that as soon as I start watching TV the colour is off, but as soon as I change the channel it is corrected until next time I stop watching live TV and start again. I can live with this for just watching TV, but it is no good for recording, as all recording will have that horrid blue tint.

I know this problem is down to my cx88xx card, and the problem has been mentioned on the v4l wiki, but I have not been able to find a fix.

If I could just run a script similar to the one above when the live TV stream or recording is initiated I will be happy. I am still fairly new to all this, so I am not sure where to start, any pointers would be appreciated.

Thanks everyone

Author:  cesman [ Mon Jan 23, 2006 8:03 am ]
Post subject: 

Have you tried "XV picture controls"? It is in the playback setting. You'll want to read keys.txt for more.

Author:  alpha_geek [ Mon Jan 23, 2006 12:48 pm ]
Post subject: 

I hadn't before, but I have now.

It doesn't seem to work :(

It seems this is also for playback, and i would like to be able to play back files using XBMC or my PC, so would be nice to record with the correct settings. However, I enabled it in playback menu like you suggested. On my Backend server (which hasn't really got the graphics card in it to watch TV) when I pressed the F key I could see the settings but using the arrow keys would not let me adjust anything. Is this a symptom of my system not supporting this feature?

The same was true on my Frontend Xbox, but as I have a fairly basic Xbox remote (for the moment) I can't be 100% sure that it would not let me adjust the settings because of that, but I don't think this is the case.

If calling a script is possible, I think that would be a good solution in my situation. It has already proved to me that it can work in the channel change, and it is nice and simple for me to wrap my inferior little brain around.

Thanks for the suggestion though, and if I have missed something, feel free to slap me.

Alpha_Geek
(not quite so true now I have moved to linux)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/