LinHES Forums http://forum.linhes.org/ |
|
Script to set deinterlace filter for many channels http://forum.linhes.org/viewtopic.php?f=15&t=8801 |
Page 1 of 1 |
Author: | marc.aronson [ Sat Mar 04, 2006 1:17 am ] |
Post subject: | Script to set deinterlace filter for many channels |
I wrote a small script to set channel-specific deinterlace filters for a bulk range of channels -- thought others might find it useful, so I've provided it below. I use it so that I don't have to manually fiddle my playback settings. In my setup: 1. 1080i recordings are played back with the TV set to 1080i resolution, so that the TV set does the de-interlacing. 2. 720p recordings are played back w/ the TV set to 720p resolution. No de-interlacing is required. 3. 480i recordings are played back w/ the TV set to 720p resolution. The per-channel video filters ensure that the signal is de-interlaced before being sent to the TV. I found that this gave me a much better image than playing back these recordings with the TV set to 1080i resolution. (My HDTV's native resolution is 720p). All of my 480i channels are below channel # 101 -- hence the where clause. You'll need to adjust to your specific circumstances, and be sure to make a backup before trying this, just in case... marc Code: #!/bin/sh
echo Setting outputfilters to kerneldeint for all sdef channels mysql -uroot mythconverg -B --exec \ "update channel set outputfilters = \"+kerneldeint\" where channel.channum < 101 ;" |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |