[mythtv] Some DVB remarks
Rudy Zijlstra
mythtv at edsons.demon.nl
Sat Sep 24 12:03:37 UTC 2005
Dear,
I've last night upgraded my test DVB-C system to svn current.
I am in the Netherlands, which is DVB country. No ATSC to be found for
thousends of miles around...
DVB-C scan:
- although all FTA channels were found, none of the frequencies in
dtv_multiplex matched the real frequencies
- It is clear the operator is using NIT info to get the channel layout /
frequency information correct for the STB. The STB asks for network id,
and is able to find all channels and TS for its location, based on the
network ID. The current scan apparently assumes that all NIT info has to
be tracked, with the result that some mysql hacking is needed to get a
result that is usable. Even so, many TS are now in the database that are
not available on my cable.... They are available at other locations of
the operator.
- Whereas i do not have a CI module on the DVB-C card, i have not
scanned for encrypted services.
- in the backend log i find the following messages when selecting some
channels:
2005-09-25 10:29:22.249 DVB#0 Trying to tune to channel 103.
2005-09-25 10:29:22.253 DVB#0 Frequency: 444000000 Symbol Rate: 6875000
Inversion: Auto Inner FEC: None
2005-09-25 10:29:22.254 DVB#0 Old Params: freq(404000000) type(QAM)
2005-09-25 10:29:22.254 DVB#0 New Params: freq(444000000) type(QAM)
2005-09-25 10:29:22.439 dvbchannel.cpp:wait_for_backend: Status:
Signal,Carrier,FEC Stable,Sync,Lock,
2005-09-25 10:29:22.440 DVB#0 DVBChannel::Tune: Frequency tuning successful.
2005-09-25 10:29:22.441 DVB#0 Tuned to frequency for channel 103.
2005-09-25 10:29:22.441 TVRec(5): Unpause() -- begin
2005-09-25 10:29:22.441 TVRec(5): StartDummyRecorder() -- begin
2005-09-25 10:29:22.442 TVRec(5): StartDummyRecorder() -- end
2005-09-25 10:29:22.443 TVRec(5): SetSignalMonitoringRate(50, 1)
2005-09-25 10:29:22.444 TVRec(5): SetupSignalMonitor()
2005-09-25 10:29:22.445 DVB#0 Opening DVB channel
2005-09-25 10:29:22.445 TVRec(5): SetupSignalMonitor() -- DVB hack begin
2005-09-25 10:29:22.444 DummyDTVRecorder::StartRecording -- begin
2005-09-25 10:29:22.509 DVB#0 Rec: Closing DVB recorder
2005-09-25 10:29:22.514 TVRec(5): SetupSignalMonitor() -- DVB hack end
2005-09-25 10:29:22.568 SM(0)::AddFlags: Seen() Match()
Wait(Sig,SNR,BER,UB,)
2005-09-25 10:29:22.569 DVBSM(0)::constructor(): initial flags 0x7400000
2005-09-25 10:29:22.570 TVRec(5): Signal monitor successfully created
2005-09-25 10:29:22.570 TVRec(5): Setting up table monitoring.
2005-09-25 10:29:22.571 TVRec(5): MPEG program number: 20701
2005-09-25 10:29:22.573 DTVSM(0)::SetProgramNumber(20701):
2005-09-25 10:29:22.573 SM(0)::RemoveFlags: Seen(PMT,) Match(PMT,) Wait()
2005-09-25 10:29:22.574 SM(0)::AddFlags: Seen() Match() Wait(PMT,)
2005-09-25 10:29:22.574 SM(0)::AddFlags: Seen() Match() Wait(PAT,PMT,)
2005-09-25 10:29:22.575 TVRec(5): Successfully set up MPEG table monitoring.
2005-09-25 10:29:22.577 SM(0)::Start: begin
2005-09-25 10:29:22.579 SM(0)::Start: end
2005-09-25 10:29:22.580 TVRec(5): Unpause() -- end
2005-09-25 10:29:22.645 DVBSM(0)::UpdateValues: Signal Locked
2005-09-25 10:29:22.647 DVBSM(0)::UpdateValues: Waiting for table
monitor to start
2005-09-25 10:29:22.656 DVBSM(0)::UpdateValues: Table monitor started
2005-09-25 10:29:22.658 DVBSM(0)::RunTableMonitor(): begin (# of pids 2)
2005-09-25 10:29:22.659 DVBSM(0)::AddPIDFilter(0x0):
2005-09-25 10:29:22.673 DVBSM(0)::AddPIDFilter(0x1ffb):
2005-09-25 10:29:22.754 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
2005-09-25 10:29:22.755 DummyRec: Restart! Frames seen 209
2005-09-25 10:29:22.758 SM(0)::AddFlags: Seen() Match(PAT,) Wait()
2005-09-25 10:29:22.838 CreatePATSingleProgram()
2005-09-25 10:29:22.849 PAT in input stream
2005-09-25 10:29:22.850 Program Association Table
PSIP prefix(0x0) tableID(0x0) length(45) extension(0xcf)
version(25) current(1) section(0) last_section(0)
tsid: 207
programCount: 9
program number 20701 has PID 0x dd0 data 0x80 0x221 0x237 0x208
program number 20722 has PID 0x f20 data 0x80 0x242 0x239 0x32
program number 20706 has PID 0x e20 data 0x80 0x226 0x238 0x32
program number 20702 has PID 0x de0 data 0x80 0x222 0x237 0x224
program number 20704 has PID 0x e00 data 0x80 0x224 0x238 0x0
program number 20721 has PID 0x f10 data 0x80 0x241 0x239 0x16
program number 20705 has PID 0x e10 data 0x80 0x225 0x238 0x16
program number 20703 has PID 0x df0 data 0x80 0x223 0x237 0x240
program number 20723 has PID 0x f30 data 0x80 0x243 0x239 0x48
2005-09-25 10:29:22.851 desired_program(20701) pid(0xdd0)
2005-09-25 10:29:22.852 pmt_pid(0xdd0)
2005-09-25 10:29:22.854 PAT for output stream
2005-09-25 10:29:22.855 Program Association Table
PSIP prefix(0x0) tableID(0x0) length(13) extension(0xcf)
version(25) current(1) section(0) last_section(0)
tsid: 207
programCount: 1
program number 1 has PID 0x dd0 data 0x0 0x1 0x237 0x208
2005-09-25 10:29:22.856 DVBSM(0)::AddPIDFilter(0xdd0):
2005-09-25 10:29:22.915 PSIP packet has Adaptation Field Control, not
ATSC compiant
2005-09-25 10:29:23.088 DummyRec: Restart! Frames seen 220
2005-09-25 10:29:23.117 PSIP packet has Adaptation Field Control, not
ATSC compiant
2005-09-25 10:29:23.320 PSIP packet has Adaptation Field Control, not
ATSC compiant
When it starts complaining about "not ATSC compliant" i can wait for
minutes (i've let it go on in this for over 10 minutes) without getting
video displayed.
info from the database:
mysql> select * from channel where sourceid=3;
+--------+---------+--------+----------+-------------------+-------------------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+
| chanid | channum | freqid | sourceid | callsign |
name | icon | finetune | videofilters | xmltvid |
recpriority | contrast | brightness | colour | hue | tvformat |
commfree | visible | outputfilters | useonairguide | mplexid | serviceid
| atscsrcid |
+--------+---------+--------+----------+-------------------+-------------------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+
| 11004 | 100 | NULL | 3 | Nederland 1 | Nederland
1 | none | NULL | | | 0 |
32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 30 | 8004 | 0 |
| 11005 | 101 | NULL | 3 | Nederland 2 | Nederland
2 | none | NULL | | | 0 |
32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 30 | 8005 | 0 |
| 11006 | 102 | NULL | 3 | Nederland 3 | Nederland
3 | none | NULL | | | 0 |
32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 30 | 8006 | 0 |
| 23601 | 111 | NULL | 3 | TV Noord | TV
Noord | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 49 | 20601 | 0 |
| 23602 | 107 | NULL | 3 | Omrop Fryslan | Omrop
Fryslan | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 49 | 20602 | 0 |
| 23603 | 109 | NULL | 3 | TV Flevoland | TV
Flevoland | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 49 | 20603 | 0 |
| 23604 | 110 | NULL | 3 | TV Gelderland | TV
Gelderland | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 49 | 20604 | 0 |
| 23605 | 113 | NULL | 3 | The Box | The
Box | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 49 | 20605 | 0 |
| 23606 | 114 | NULL | 3 | TV Home kanaal | TV Home
kanaal | none | NULL | | | 0 |
32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 49 | 20606 | 0 |
| 23701 | 103 | NULL | 3 | VRT een | VRT
een | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 50 | 20701 | 0 |
| 23702 | 104 | NULL | 3 | Ketnet / Canvas | Ketnet /
Canvas | none | NULL | | | 0 |
32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 50 | 20702 | 0 |
| 23703 | 105 | NULL | 3 | L1 Limburg | L1
Limburg | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 50 | 20703 | 0 |
| 23704 | 106 | NULL | 3 | Omroep Brabant TV | Omroep
Brabant TV | none | NULL | | | 0 |
32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 50 | 20704 | 0 |
| 23705 | 108 | NULL | 3 | TV Drenthe | TV
Drenthe | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 50 | 20705 | 0 |
| 23706 | 112 | NULL | 3 | TV Oost | TV
Oost | none | NULL | | | 0
| 32768 | 32768 | 32768 | 32768 | Default | 0 | 1
| | 1 | 50 | 20706 | 0 |
+--------+---------+--------+----------+-------------------+-------------------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+----------+---------+---------------+---------------+---------+-----------+-----------+
15 rows in set (0.00 sec)
mysql> select * from dtv_multiplex;
+---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+-----------------+
| mplexid | sourceid | transportid | networkid | frequency | inversion |
symbolrate | fec | polarity | modulation | bandwidth | lp_code_rate |
transmission_mode | guard_interval | visible | constellation | hierarchy
| hp_code_rate | sistandard | serviceversion | updatetimestamp |
+---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+-----------------+
| 26 | 3 | 2 | 1000 | 314250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 27 | 3 | 3 | 1000 | 330250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 28 | 3 | 4 | 1000 | 346250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 29 | 3 | 6 | 1000 | 444250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 1 | 20050924103226 |
| 30 | 3 | 8 | 1000 | 404000000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 3 | 20050924112010 |
| 31 | 3 | 13 | 1000 | 442250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 32 | 3 | 14 | 1000 | 450250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 33 | 3 | 15 | 1000 | 458250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 34 | 3 | 12 | 1000 | 474250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 35 | 3 | 300 | 1000 | 531750000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 37 | 3 | 17 | 1000 | 306250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 38 | 3 | 18 | 1000 | 474250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 15 | 20050924103222 |
| 40 | 3 | 19 | 1000 | 322250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 41 | 3 | 20 | 1000 | 290250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 42 | 3 | 21 | 1000 | 282250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 44 | 3 | 22 | 1000 | 274250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 45 | 3 | 23 | 1000 | 266250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 46 | 3 | 24 | 1000 | 258250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 47 | 3 | 25 | 1000 | 250250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 48 | 3 | 1 | 1000 | 306250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 49 | 3 | 206 | 1000 | 436000000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 3 | 20050924112058 |
| 50 | 3 | 207 | 1000 | 444000000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 5 | 20050924112123 |
| 51 | 3 | 16 | 1000 | 466250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 55 | 3 | 400 | 1000 | 480250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 56 | 3 | 27 | 1000 | 300250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 57 | 3 | 301 | 1000 | 311000000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 58 | 3 | 28 | 1000 | 300250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 59 | 3 | 29 | 1000 | 330000000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 60 | 3 | 30 | 1000 | 335000000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
| 62 | 3 | 31 | 1000 | 354250000 | a
| 6875000 | none | | qam_64 | a | auto |
a | auto | 0 | auto | a
| auto | dvb | 33 | 20050924103216 |
+---------+----------+-------------+-----------+-----------+-----------+------------+------+----------+------------+-----------+--------------+-------------------+----------------+---------+---------------+-----------+--------------+------------+----------------+-----------------+
30 rows in set (0.00 sec)
In this last table, i've corrected the frequencies of the TS'es i
needed. I've also removed the completely bogus entries that were added
during the scan, with symbolrate = 0.
Even so, a big improvement from the previous attempt, which was some
days before the switch to svn.
Cheers,
Rudy
More information about the mythtv-dev
mailing list