Difference between revisions of "Dvdinput table"

From MythTV Official Wiki
Jump to: navigation, search
(Undo revision 56437 by Felenciahines (talk) Spam.)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
+
{{Wrongtitle|dvdinput table}}
<nowiki>
+
The '''dvdinput table''' is used to configure the [[MTD]] (Myth Transcoding Daemon), which is used to rip DVDs.
describe dvdinput;
+
== Table Description ==
+-----------+------------------+------+-----+---------+-------+
+
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
| Field     | Type            | Null | Key | Default | Extra |
+
|- style="background: lightsteelblue"
+-----------+------------------+------+-----+---------+-------+
+
Field name !! Type            !! Null !! Key !! Default !! Extras
| intid     | int(10) unsigned |      | PRI | 0      |       |
+
|-
| hsize     | int(10) unsigned | YES  |    | NULL    |       |
+
|| intid     || int(10) unsigned ||      || PRI ||         ||
| vsize     | int(10) unsigned | YES  |    | NULL    |       |
+
|-
| ar_num    | int(10) unsigned | YES  |    | NULL    |      |
+
|| hsize     || int(10) unsigned || YES  ||    || NULL    ||
| ar_denom  | int(10) unsigned | YES  |    | NULL    |       |
+
|-
| fr_code   | int(10) unsigned | YES  |    | NULL    |       |
+
|| vsize     || int(10) unsigned || YES  ||    || NULL    ||
| letterbox | tinyint(1)      | YES  |    | NULL   |       |
+
|-
| v_format  | varchar(16)     | YES  |    | NULL    |       |
+
|| ar_num     || int(10) unsigned || YES  ||    || NULL    ||
+-----------+------------------+------+-----+---------+-------+
+
|-
</nowiki>
+
|| ar_denom   || int(10) unsigned || YES  ||    || NULL    ||
</pre>
+
|-
 
+
|| fr_code   || int(10) unsigned || YES  ||    || NULL    ||
Defaults to this table are:
+
|-
 
+
|| letterbox || tinyint(1)       || YES  ||    || NULL    ||
<pre>
+
|-
<nowiki>
+
|| v_format   || varchar(16)     || YES  ||    || NULL    ||
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      |
 
+-------+-------+-------+--------+----------+---------+-----------+----------+
 
</nowiki>
 
</pre>
 
  
 +
== Defaults ==
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:silver; background:whitesmoke"
 +
|- style="background: gainsboro"
 +
! 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]] ==  
+
== MTD ==  
 
Note when you insert a DVD, in the [[MTD]] log you will see something like:
 
Note when you insert a DVD, in the [[MTD]] log you will see something like:
 
 
<pre>
 
<pre>
<nowiki>
 
 
11:40:23: DVD inserted: KILL_BILL_VOL1
 
11:40:23: DVD inserted: KILL_BILL_VOL1
 
11:40:23:            : Title 1 is of type 6 (dvdinput table)
 
11:40:23:            : Title 1 is of type 6 (dvdinput table)
Line 51: Line 58:
 
11:40:23:            : Title 6 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)
 
11:40:23:            : Title 7 is of type 8 (dvdinput table)
</nowiki>
 
 
</pre>
 
</pre>
  
Here you see "Title X is of type Y".  Here the Y type, refreences to the dvdinput.intid
+
Here you see "Title X is of type Y".  Here the Y type, references to the dvdinput.intid
 +
 
 +
[[Category:Unused DB Table]]

Latest revision as of 17:49, 5 October 2012

Important.png Note: The correct title of this article is dvdinput table. It appears incorrectly here due to technical restrictions.

The dvdinput table is used to configure the MTD (Myth Transcoding Daemon), which is used to rip DVDs.

Table Description

Field name Type Null Key Default Extras
intid int(10) unsigned PRI
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

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