Difference between revisions of "Dvdtranscode table"
From MythTV Official Wiki
Line 47: | Line 47: | ||
* 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 | * 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 |
Revision as of 10:08, 5 July 2006
dvdtranscode table configures MTD when transcoding from one format to another (Ex: mpeg2 DVD to mpeg4 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