Dvdinput table

From MythTV Official Wiki
Revision as of 10:03, 4 July 2006 by Karlos (talk | contribs) (MTD)

Jump to: navigation, search

describe dvdinput;
+-----------+------------------+------+-----+---------+-------+
| Field     | Type             | Null | Key | Default | Extra |
+-----------+------------------+------+-----+---------+-------+
| intid     | int(10) unsigned |      | PRI | 0       |       |
| hsize     | int(10) unsigned | YES  |     | NULL    |       |
| vsize     | int(10) unsigned | YES  |     | NULL    |       |
| ar_num    | int(10) unsigned | YES  |     | NULL    |       |
| ar_denom  | int(10) unsigned | YES  |     | NULL    |       |
| fr_code   | int(10) unsigned | YES  |     | NULL    |       |
| letterbox | tinyint(1)       | YES  |     | NULL    |       |
| v_format  | varchar(16)      | YES  |     | NULL    |       |
+-----------+------------------+------+-----+---------+-------+

Defaults to this table are:


 select * from dvdinput;
+-------+-------+-------+--------+----------+---------+-----------+----------+
| intid | hsize | vsize | ar_num | ar_denom | fr_code | letterbox | v_format |
+-------+-------+-------+--------+----------+---------+-----------+----------+
|     1 |   720 |   480 |     16 |        9 |       1 |         1 | ntsc     |
|     2 |   720 |   480 |     16 |        9 |       1 |         0 | ntsc     |
|     3 |   720 |   480 |      4 |        3 |       1 |         1 | ntsc     |
|     4 |   720 |   480 |      4 |        3 |       1 |         0 | ntsc     |
|     5 |   720 |   576 |     16 |        9 |       3 |         1 | pal      |
|     6 |   720 |   576 |     16 |        9 |       3 |         0 | pal      |
|     7 |   720 |   576 |      4 |        3 |       3 |         1 | pal      |
|     8 |   720 |   576 |      4 |        3 |       3 |         0 | pal      |
+-------+-------+-------+--------+----------+---------+-----------+----------+


MTD

Note when you insert a DVD, in the MTD log you will see something like:


11:40:23: DVD inserted: KILL_BILL_VOL1
11:40:23:             : Title 1 is of type 6 (dvdinput table)
11:40:23:             : Title 2 is of type 8 (dvdinput table)
11:40:23:             : Title 3 is of type 8 (dvdinput table)
11:40:23:             : Title 4 is of type 8 (dvdinput table)
11:40:23:             : Title 5 is of type 8 (dvdinput table)
11:40:23:             : Title 6 is of type 8 (dvdinput table)
11:40:23:             : Title 7 is of type 8 (dvdinput table)

Here you see "Title X is of type Y". Here the Y type, references to the dvdinput.intid