On 01/28/2006 12:46 PM, Dylan R. Semler wrote:
Michael T. Dean wrote:
On 01/27/2006 01:07 AM, Robert Johnston wrote:
On 1/26/06, Dylan R. Semler <[EMAIL PROTECTED]> wrote:
For analog, the picture quality is pretty bad (noisy)...  The picture quality 
is much better using tvtime and those lines do not appear.
As for the noise, make sure that Myth is tuning into the same
frequency (EXACTLY the same frequency) as TVTime is. It sounds like
Myth's off by a few Khz.
Being off by a few KHz shouldn't matter. Many of the NTSC cable channel frequencies are off by 12.5 KHz (and the same goes for IRC, and HRC varies by 5-15KHz), but the tuner hardware's fine-tuning mechanism should still be able to find the appropriate center frequency. See http://www.gossamer-threads.com/lists/mythtv/dev/164614#164614 (which was totally ignored by the guy complaining in Trac that the frequencies are off) for an in-depth listing of what frequencies are off and why it shouldn't matter.

If you (Dylan) want to try an academically-correct list of frequency definitions, I'd be happy to create one for you (against SVN--just let me know which frequency list you're using: ntsc_bcast, ntsc_cable, ntsc_hrc, ntsc_irc (I'm assuming NTSC based on your e-mail address)), but you'll have to do all the testing because I don't have any RF-modulated sources.
Well it's worth a shot. I'd love to get better picture quality. I'm using ntsc_cable.

OK. Attached is a patch that will correct the frequencies used for ntsc_cable, ntsc_hrc, and ntsc_irc. Those used for ntsc_bcast are already correct. Apply the patch to current SVN and recompile and install to test.

Note, however, that it may be better to leave ntsc_cable (standard cable) unmodified. The modified channels in the standard cable definition are definitely using frequencies that are not used by the cable company, but that's because the FCC requires that they be offset. (Cable channels operating on frequencies used in the aeronautical radiocommunications bands 118-137MHz, 225-328.6MHz, and 335.4-400MHz are required to be offset by 12.5kHz from 25kHz-spaced channels, and those on frequencies used in the aeronautical radiocommunications bands 108-118MHz and 328.6-335.4MHz are required to be offset by 25kHz from 50kHz-spaced channels.) The FCC doesn't specify whether the offset should be positive or negative, but it's more common within the cable industry to use a positive offset. The current standard cable definition uses the frequency before the offset (which is right in the middle of a positive or negative offset), but the patched version assumes a positive offset (meaning that if a cable company uses a negative offset, we'll be off by 25kHz on many channels and 50kHz on 98 and 99).

So, since you're a standard cable user, please let me know if you really do see a difference with the modified frequency values--and try not to be swayed by the placebo effect. ;) If there really is a difference (and I still don't think there will be), we may want to call the modified ntsc_cable "NTSC Cable (1)" and create another that uses a negative offset and label it "NTSC Cable (2)".

Those most likely to see any difference with the patch are HRC users (as some of their frequencies--mainly the higher frequencies--were off by as much as 60kHz). However, it's likely the only difference they will see will be a slightly faster tuning cycle (unlikely to be noticeable in Myth, though, because of the other "delays" in channel changing--and, quite possibly, not noticeable at all by human perception even if you tried the before/after frequencies in tvtime or something).

Also, technically, standard cable doesn't have a channel 1, and HRC and IRC don't have T-7 through T-14 (but, I "fixed" the IRC definitions, since IRC was a modified copy of standard and standard had defined T-7 through T-14 incorrectly). While we could remove them, it's probably not worth the effort...

BTW, this patch definitely needs testing before being applied to SVN (and should probably do something smarter with the standard cable definition, as described above). Therefore, I'm not putting it in a ticket, but it's here for anyone who wants to test/use it.

Mike
Index: libs/libmythtv/frequencies.c
===================================================================
--- libs/libmythtv/frequencies.c        (revision 8744)
+++ libs/libmythtv/frequencies.c        (working copy)
@@ -109,9 +109,9 @@
     { "12",    205250 },
 
     { "13",    211250 },
-    { "14",    121250 },
-    { "15",    127250 },
-    { "16",    133250 },
+    { "14",    121262 },
+    { "15",    127262 },
+    { "16",    133262 },
     { "17",    139250 },
     { "18",    145250 },
     { "19",    151250 },
@@ -121,35 +121,35 @@
     { "22",    169250 },
     { "23",    217250 },
     { "24",    223250 },
-    { "25",    229250 },
-    { "26",    235250 },
-    { "27",    241250 },
-    { "28",    247250 },
-    { "29",    253250 },
-    { "30",    259250 },
-    { "31",    265250 },
-    { "32",    271250 },
-    { "33",    277250 },
-    { "34",    283250 },
-    { "35",    289250 },
-    { "36",    295250 },
-    { "37",    301250 },
-    { "38",    307250 },
-    { "39",    313250 },
-    { "40",    319250 },
-    { "41",    325250 },
-    { "42",    331250 },
-    { "43",    337250 },
-    { "44",    343250 },
-    { "45",    349250 },
-    { "46",    355250 },
-    { "47",    361250 },
-    { "48",    367250 },
-    { "49",    373250 },
-    { "50",    379250 },
-    { "51",    385250 },
-    { "52",    391250 },
-    { "53",    397250 },
+    { "25",    229262 },
+    { "26",    235262 },
+    { "27",    241262 },
+    { "28",    247262 },
+    { "29",    253262 },
+    { "30",    259262 },
+    { "31",    265262 },
+    { "32",    271262 },
+    { "33",    277262 },
+    { "34",    283262 },
+    { "35",    289262 },
+    { "36",    295262 },
+    { "37",    301262 },
+    { "38",    307262 },
+    { "39",    313262 },
+    { "40",    319262 },
+    { "41",    325262 },
+    { "42",    331275 },
+    { "43",    337262 },
+    { "44",    343262 },
+    { "45",    349262 },
+    { "46",    355262 },
+    { "47",    361262 },
+    { "48",    367262 },
+    { "49",    373262 },
+    { "50",    379262 },
+    { "51",    385262 },
+    { "52",    391262 },
+    { "53",    397262 },
     { "54",    403250 },
     { "55",    409250 },
     { "56",    415250 },
@@ -195,8 +195,8 @@
     { "95",     91250 },
     { "96",     97250 },
     { "97",    103250 },
-    { "98",    109250 },
-    { "99",    115250 },
+    { "98",    109275 },
+    { "99",    115275 },
     { "100",   649250 },
     { "101",   655250 },
     { "102",   661250 },
@@ -224,148 +224,148 @@
     { "124",   793250 },
     { "125",   799250 },
  
-    { "T7",      8250 },
-    { "T8",     14250 },
-    { "T9",     20250 },
-    { "T10",    26250 },
-    { "T11",    32250 },
-    { "T12",    38250 },
-    { "T13",    44250 },
-    { "T14",    50250 }
+    { "T7",      7000 },
+    { "T8",     13000 },
+    { "T9",     19000 },
+    { "T10",    25000 },
+    { "T11",    31000 },
+    { "T12",    37000 },
+    { "T13",    43000 },
+    { "T14",    49000 }
 };
 
 /* US HRC */
 static struct CHANLIST ntsc_hrc[] = {
-    { "1",       72000 },
+    { "1",       72004 },
 
-    { "2",       54000 }, 
-    { "3",       60000 }, 
-    { "4",       66000 }, 
+    { "2",       54003 }, 
+    { "3",       60003 }, 
+    { "4",       66003 }, 
 
-    { "5",       78000 }, 
-    { "6",       84000 }, 
+    { "5",       78004 }, 
+    { "6",       84004 }, 
 
-    { "7",      174000 },
-    { "8",      180000 },
-    { "9",      186000 },
-    { "10",     192000 },
-    { "11",     198000 },
-    { "12",     204000 },
-    { "13",     210000 },
-    { "14",     120000 },
-    { "15",     126000 },
-    { "16",     132000 },
-    { "17",     138000 },
-    { "18",     144000 },
-    { "19",     150000 },
-    { "20",     156000 },
-    { "21",     162000 },
-    { "22",     168000 },
-    { "23",     216000 },
-    { "24",     222000 },
-    { "25",     228000 },
-    { "26",     234000 },
-    { "27",     240000 },
-    { "28",     246000 },
-    { "29",     252000 },
-    { "30",     258000 },
-    { "31",     264000 },
-    { "32",     270000 },
-    { "33",     276000 },
-    { "34",     282000 },
-    { "35",     288000 },
-    { "36",     294000 },
-    { "37",     300000 },
-    { "38",     306000 },
-    { "39",     312000 },
-    { "40",     318000 },
-    { "41",     324000 },
-    { "42",     330000 },
-    { "43",     336000 },
-    { "44",     342000 },
-    { "45",     348000 },
-    { "46",     354000 },
-    { "47",     360000 },
-    { "48",     366000 },
-    { "49",     372000 },
-    { "50",     378000 },
-    { "51",     384000 },
-    { "52",     390000 },
-    { "53",     396000 },
-    { "54",     402000 },
-    { "55",     408000 },
-    { "56",     414000 },
-    { "57",     420000 },
-    { "58",     426000 },
-    { "59",     432000 },
-    { "60",     438000 },
-    { "61",     444000 },
-    { "62",     450000 },
-    { "63",     456000 },
-    { "64",     462000 },
-    { "65",     468000 },
-    { "66",     474000 },
-    { "67",     480000 },
-    { "68",     486000 },
-    { "69",     492000 },
-    { "70",     498000 },
-    { "71",     504000 },
-    { "72",     510000 },
-    { "73",     516000 },
-    { "74",     522000 },
-    { "75",     528000 },
-    { "76",     534000 },
-    { "77",     540000 },
-    { "78",     546000 },
-    { "79",     552000 },
-    { "80",     558000 },
-    { "81",     564000 },
-    { "82",     570000 },
-    { "83",     576000 },
-    { "84",     582000 },
-    { "85",     588000 },
-    { "86",     594000 },
-    { "87",     600000 },
-    { "88",     606000 },
-    { "89",     612000 },
-    { "90",     618000 },
-    { "91",     624000 },
-    { "92",     630000 },
-    { "93",     636000 },
-    { "94",     642000 },
+    { "7",      174009 },
+    { "8",      180009 },
+    { "9",      186009 },
+    { "10",     192010 },
+    { "11",     198010 },
+    { "12",     204010 },
+    { "13",     210011 },
+    { "14",     120006 },
+    { "15",     126006 },
+    { "16",     132007 },
+    { "17",     138007 },
+    { "18",     144007 },
+    { "19",     150008 },
+    { "20",     156008 },
+    { "21",     162008 },
+    { "22",     168008 },
+    { "23",     216011 },
+    { "24",     222011 },
+    { "25",     228011 },
+    { "26",     234012 },
+    { "27",     240012 },
+    { "28",     246012 },
+    { "29",     252013 },
+    { "30",     258013 },
+    { "31",     264013 },
+    { "32",     270014 },
+    { "33",     276014 },
+    { "34",     282014 },
+    { "35",     288014 },
+    { "36",     294015 },
+    { "37",     300015 },
+    { "38",     306015 },
+    { "39",     312016 },
+    { "40",     318016 },
+    { "41",     324016 },
+    { "42",     330017 },
+    { "43",     336017 },
+    { "44",     342017 },
+    { "45",     348017 },
+    { "46",     354018 },
+    { "47",     360018 },
+    { "48",     366018 },
+    { "49",     372019 },
+    { "50",     378019 },
+    { "51",     384019 },
+    { "52",     390020 },
+    { "53",     396020 },
+    { "54",     402020 },
+    { "55",     408020 },
+    { "56",     414021 },
+    { "57",     420021 },
+    { "58",     426021 },
+    { "59",     432022 },
+    { "60",     438022 },
+    { "61",     444022 },
+    { "62",     450023 },
+    { "63",     456023 },
+    { "64",     462023 },
+    { "65",     468023 },
+    { "66",     474024 },
+    { "67",     480024 },
+    { "68",     486024 },
+    { "69",     492025 },
+    { "70",     498025 },
+    { "71",     504025 },
+    { "72",     510026 },
+    { "73",     516026 },
+    { "74",     522026 },
+    { "75",     528026 },
+    { "76",     534027 },
+    { "77",     540027 },
+    { "78",     546027 },
+    { "79",     552028 },
+    { "80",     558028 },
+    { "81",     564028 },
+    { "82",     570029 },
+    { "83",     576029 },
+    { "84",     582029 },
+    { "85",     588029 },
+    { "86",     594030 },
+    { "87",     600030 },
+    { "88",     606030 },
+    { "89",     612031 },
+    { "90",     618031 },
+    { "91",     624031 },
+    { "92",     630032 },
+    { "93",     636032 },
+    { "94",     642032 },
 
-    { "95",      90000 },
-    { "96",      96000 },
-    { "97",     102000 },
-    { "98",     108000 },
-    { "99",     114000 },
+    { "95",      90005 },
+    { "96",      96005 },
+    { "97",     102005 },
+    { "98",     108005 },
+    { "99",     114006 },
 
-    { "100",    648000 },
-    { "101",    654000 },
-    { "102",    660000 },
-    { "103",    666000 },
-    { "104",    672000 },
-    { "105",    678000 },
-    { "106",    684000 },
-    { "107",    690000 },
-    { "108",    696000 },
-    { "109",    702000 },
-    { "110",    708000 },
-    { "111",    714000 },
-    { "112",    720000 },
-    { "113",    726000 },
-    { "114",    732000 },
-    { "115",    738000 },
-    { "116",    744000 },
-    { "117",    750000 },
-    { "118",    756000 },
-    { "119",    762000 },
-    { "120",    768000 },
-    { "121",    774000 },
-    { "122",    780000 },
-    { "123",    786000 },
-    { "124",    792000 },
-    { "125",    798000 },
+    { "100",    648032 },
+    { "101",    654033 },
+    { "102",    660033 },
+    { "103",    666033 },
+    { "104",    672034 },
+    { "105",    678034 },
+    { "106",    684034 },
+    { "107",    690035 },
+    { "108",    696035 },
+    { "109",    702035 },
+    { "110",    708035 },
+    { "111",    714036 },
+    { "112",    720036 },
+    { "113",    726036 },
+    { "114",    732037 },
+    { "115",    738037 },
+    { "116",    744037 },
+    { "117",    750038 },
+    { "118",    756038 },
+    { "119",    762038 },
+    { "120",    768038 },
+    { "121",    774039 },
+    { "122",    780039 },
+    { "123",    786039 },
+    { "124",    792040 },
+    { "125",    798040 },
  
     { "T7",       7000 },  
     { "T8",      13000 }, 
@@ -379,143 +379,143 @@
 
 /** US IRC http://www.jneuhaus.com/fccindex/cablech.html */
 static struct CHANLIST ntsc_irc[] = {
-    { "1",      73250 },
-    { "2",      55250 },
-    { "3",      61250 },
-    { "4",      67250 },
-    { "5",      79250 },
-    { "6",      85250 },
-    { "7",     175250 },
-    { "8",     181250 },
-    { "9",     187250 },
-    { "10",    193250 },
-    { "11",    199250 },
-    { "12",    205250 },
+    { "1",      73262 },
+    { "2",      55262 },
+    { "3",      61262 },
+    { "4",      67262 },
+    { "5",      79262 },
+    { "6",      85262 },
+    { "7",     175262 },
+    { "8",     181262 },
+    { "9",     187262 },
+    { "10",    193262 },
+    { "11",    199262 },
+    { "12",    205262 },
 
-    { "13",    211250 },
-    { "14",    121250 },
-    { "15",    127250 },
-    { "16",    133250 },
-    { "17",    139250 },
-    { "18",    145250 },
-    { "19",    151250 },
-    { "20",    157250 },
+    { "13",    211262 },
+    { "14",    121262 },
+    { "15",    127262 },
+    { "16",    133262 },
+    { "17",    139262 },
+    { "18",    145262 },
+    { "19",    151262 },
+    { "20",    157262 },
  
-    { "21",    163250 },
-    { "22",    169250 },
-    { "23",    217250 },
-    { "24",    223250 },
-    { "25",    229250 },
-    { "26",    235250 },
-    { "27",    241250 },
-    { "28",    247250 },
-    { "29",    253250 },
-    { "30",    259250 },
-    { "31",    265250 },
-    { "32",    271250 },
-    { "33",    277250 },
-    { "34",    283250 },
-    { "35",    289250 },
-    { "36",    295250 },
-    { "37",    301250 },
-    { "38",    307250 },
-    { "39",    313250 },
-    { "40",    319250 },
-    { "41",    325250 },
+    { "21",    163262 },
+    { "22",    169262 },
+    { "23",    217262 },
+    { "24",    223262 },
+    { "25",    229262 },
+    { "26",    235262 },
+    { "27",    241262 },
+    { "28",    247262 },
+    { "29",    253262 },
+    { "30",    259262 },
+    { "31",    265262 },
+    { "32",    271262 },
+    { "33",    277262 },
+    { "34",    283262 },
+    { "35",    289262 },
+    { "36",    295262 },
+    { "37",    301262 },
+    { "38",    307262 },
+    { "39",    313262 },
+    { "40",    319262 },
+    { "41",    325262 },
     { "42",    331250 },
-    { "43",    337250 },
-    { "44",    343250 },
-    { "45",    349250 },
-    { "46",    355250 },
-    { "47",    361250 },
-    { "48",    367250 },
-    { "49",    373250 },
-    { "50",    379250 },
-    { "51",    385250 },
-    { "52",    391250 },
-    { "53",    397250 },
-    { "54",    403250 },
-    { "55",    409250 },
-    { "56",    415250 },
-    { "57",    421250 },
-    { "58",    427250 },
-    { "59",    433250 },
-    { "60",    439250 },
-    { "61",    445250 },
-    { "62",    451250 },
-    { "63",    457250 },
-    { "64",    463250 },
-    { "65",    469250 },
-    { "66",    475250 },
-    { "67",    481250 },
-    { "68",    487250 },
-    { "69",    493250 },
+    { "43",    337262 },
+    { "44",    343262 },
+    { "45",    349262 },
+    { "46",    355262 },
+    { "47",    361262 },
+    { "48",    367262 },
+    { "49",    373262 },
+    { "50",    379262 },
+    { "51",    385262 },
+    { "52",    391262 },
+    { "53",    397262 },
+    { "54",    403262 },
+    { "55",    409262 },
+    { "56",    415262 },
+    { "57",    421262 },
+    { "58",    427262 },
+    { "59",    433262 },
+    { "60",    439262 },
+    { "61",    445262 },
+    { "62",    451262 },
+    { "63",    457262 },
+    { "64",    463262 },
+    { "65",    469262 },
+    { "66",    475262 },
+    { "67",    481262 },
+    { "68",    487262 },
+    { "69",    493262 },
  
-    { "70",    499250 },
-    { "71",    505250 },
-    { "72",    511250 },
-    { "73",    517250 },
-    { "74",    523250 },
-    { "75",    529250 },
-    { "76",    535250 },
-    { "77",    541250 },
-    { "78",    547250 },
-    { "79",    553250 },
-    { "80",    559250 },
-    { "81",    565250 },
-    { "82",    571250 },
-    { "83",    577250 },
-    { "84",    583250 },
-    { "85",    589250 },
-    { "86",    595250 },
-    { "87",    601250 },
-    { "88",    607250 },
-    { "89",    613250 },
-    { "90",    619250 },
-    { "91",    625250 },
-    { "92",    631250 },
-    { "93",    637250 },
-    { "94",    643250 },
-    { "95",     91250 },
-    { "96",     97250 },
-    { "97",    103250 },
-    { "98",    109250 },
-    { "99",    115250 },
-    { "100",   649250 },
-    { "101",   655250 },
-    { "102",   661250 },
-    { "103",   667250 },
-    { "104",   673250 },
-    { "105",   679250 },
-    { "106",   685250 },
-    { "107",   691250 },
-    { "108",   697250 },
-    { "109",   703250 },
-    { "110",   709250 },
-    { "111",   715250 },
-    { "112",   721250 },
-    { "113",   727250 },
-    { "114",   733250 },
-    { "115",   739250 },
-    { "116",   745250 },
-    { "117",   751250 },
-    { "118",   757250 },
-    { "119",   763250 },
-    { "120",   769250 },
-    { "121",   775250 },
-    { "122",   781250 },
-    { "123",   787250 },
-    { "124",   793250 },
-    { "125",   799250 },
+    { "70",    499262 },
+    { "71",    505262 },
+    { "72",    511262 },
+    { "73",    517262 },
+    { "74",    523262 },
+    { "75",    529262 },
+    { "76",    535262 },
+    { "77",    541262 },
+    { "78",    547262 },
+    { "79",    553262 },
+    { "80",    559262 },
+    { "81",    565262 },
+    { "82",    571262 },
+    { "83",    577262 },
+    { "84",    583262 },
+    { "85",    589262 },
+    { "86",    595262 },
+    { "87",    601262 },
+    { "88",    607262 },
+    { "89",    613262 },
+    { "90",    619262 },
+    { "91",    625262 },
+    { "92",    631262 },
+    { "93",    637262 },
+    { "94",    643262 },
+    { "95",     91262 },
+    { "96",     97262 },
+    { "97",    103262 },
+    { "98",    109275 },
+    { "99",    115275 },
+    { "100",   649262 },
+    { "101",   655262 },
+    { "102",   661262 },
+    { "103",   667262 },
+    { "104",   673262 },
+    { "105",   679262 },
+    { "106",   685262 },
+    { "107",   691262 },
+    { "108",   697262 },
+    { "109",   703262 },
+    { "110",   709262 },
+    { "111",   715262 },
+    { "112",   721262 },
+    { "113",   727262 },
+    { "114",   733262 },
+    { "115",   739262 },
+    { "116",   745262 },
+    { "117",   751262 },
+    { "118",   757262 },
+    { "119",   763262 },
+    { "120",   769262 },
+    { "121",   775262 },
+    { "122",   781262 },
+    { "123",   787262 },
+    { "124",   793262 },
+    { "125",   799262 },
  
-    { "T7",      8250 },
-    { "T8",     14250 },
-    { "T9",     20250 },
-    { "T10",    26250 },
-    { "T11",    32250 },
-    { "T12",    38250 },
-    { "T13",    44250 },
-    { "T14",    50250 }
+    { "T7",      7000 },
+    { "T8",     13000 },
+    { "T9",     19000 },
+    { "T10",    25000 },
+    { "T11",    31000 },
+    { "T12",    37000 },
+    { "T13",    43000 },
+    { "T14",    49000 }
 };
 
 /* --------------------------------------------------------------------- */
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to