Difference between revisions of "Dvdtranscode table"
From MythTV Official Wiki
m (category) |
|||
Line 1: | Line 1: | ||
− | dvdtranscode table configures [[MTD]] when transcoding from one format to another (Ex: | + | {{Wrongtitle|dvdtranscode table}} |
+ | '''dvdtranscode table''' configures [[MTD]] when transcoding from one format to another (Ex: [[MPEG-2]] DVD to [[MPEG-4]] [[Xvid]]) | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
Line 49: | Line 50: | ||
* bitrate is what is used with the transcode "-w" option to set the encoder bitrate | * bitrate is what is used with the transcode "-w" option to set the encoder bitrate | ||
+ | |||
+ | [[Category:DB Table]] |
Revision as of 02:12, 8 March 2007
Note: The correct title of this article is dvdtranscode table. It appears incorrectly here due to technical restrictions.
dvdtranscode table configures MTD when transcoding from one format to another (Ex: MPEG-2 DVD to MPEG-4 Xvid)
describe dvdtranscode; +-------------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+------------------+------+-----+---------+----------------+ | intid | int(11) | | PRI | NULL | auto_increment | | input | int(10) unsigned | YES | | NULL | | | name | varchar(128) | | | | | | sync_mode | int(10) unsigned | YES | | NULL | | | use_yv12 | tinyint(1) | YES | | NULL | | | cliptop | int(11) | YES | | NULL | | | clipbottom | int(11) | YES | | NULL | | | clipleft | int(11) | YES | | NULL | | | clipright | int(11) | YES | | NULL | | | f_resize_h | int(11) | YES | | NULL | | | f_resize_w | int(11) | YES | | NULL | | | hq_resize_h | int(11) | YES | | NULL | | | hq_resize_w | int(11) | YES | | NULL | | | grow_h | int(11) | YES | | NULL | | | grow_w | int(11) | YES | | NULL | | | clip2top | int(11) | YES | | NULL | | | clip2bottom | int(11) | YES | | NULL | | | clip2left | int(11) | YES | | NULL | | | clip2right | int(11) | YES | | NULL | | | codec | varchar(128) | | | | | | codec_param | varchar(128) | YES | | NULL | | | bitrate | int(11) | YES | | NULL | | | a_sample_r | int(11) | YES | | NULL | | | a_bitrate | int(11) | YES | | NULL | | | two_pass | tinyint(1) | YES | | NULL | | +-------------+------------------+------+-----+---------+----------------+
MTD
This table tells MTD what paramaters for a given type to pass to the transcode program
Setting these fields in the database change how mtd calls transcode
- grow_h and grow_w: Changing these to values other greater than 0 pass the "-X" option to transcode.
- f_resize_h and f_resize_w: Changing these to values other greater than 0 pass the "-B" option to transcode.
- hq_resize_h and hq_resize_w: Changing these to values other greater than 0 pass the "-Z" option to transcode. This is best used for example if you want to change your 720x576 DVD to 360x272 you would set hq_resize_w=360 and hq_resize_h=272
- bitrate is what is used with the transcode "-w" option to set the encoder bitrate