Difference between revisions of "Codecparams table"

From MythTV Official Wiki
Jump to: navigation, search
m (Table codecparams moved to Codecparams table)
m (FK)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= table codecparams =
+
{{Wrongtitle|codecparams table}}
 +
The '''codecparams table''' contains the parameters of the codecs defined in the [[Recording Profiles|recording profiles]].
  
The rows in this table define the ...
+
== Table Description ==
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
 +
|- style="background: lightsteelblue"
 +
!  Field name !! Type        !! Null !! Key !! Default !! Extras
 +
|-
 +
|| profile || int(10) unsigned ||      || PRI || 0      || REFERENCES [[recordingprofiles table|recordingprofiles]](id)
 +
|-
 +
|| name    || varchar(128)    ||      || PRI ||        ||
 +
|-
 +
|| value  || varchar(128)    || YES  ||    || NULL    ||
 +
|-
 +
|}
  
||<tablewidth="100%" rowbgcolor="#D6DFE7">Field||Type||NULL||Default||
+
==Fields==
||profile||int(10)||No||0||
+
*'''profile''' relates to the ''id'' field in the [[recordingprofiles table]].
||name||varchar(128)||No||||
+
*'''name''' is the name of the parameter.
||value||varchar(128)||Yes||NULL||
+
*'''value''' is the value of the parameter.
 +
 
 +
==Example Entries==
 +
<pre>
 +
name: width
 +
value: 480
 +
 
 +
name: height
 +
value: 480
 +
 
 +
name: rtjpegquality
 +
value: 170
 +
 
 +
name: mpeg4bitrate
 +
value: 2200
 +
 
 +
name: mp3quality
 +
value: 3
 +
 
 +
name: volume
 +
value: 90
 +
</pre>
 +
{{stub}}
 +
 
 +
[[Category:DB Table]]

Latest revision as of 13:04, 22 February 2014

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

The codecparams table contains the parameters of the codecs defined in the recording profiles.

Table Description

Field name Type Null Key Default Extras
profile int(10) unsigned PRI 0 REFERENCES recordingprofiles(id)
name varchar(128) PRI
value varchar(128) YES NULL

Fields

  • profile relates to the id field in the recordingprofiles table.
  • name is the name of the parameter.
  • value is the value of the parameter.

Example Entries

 name: width
value: 480

 name: height
value: 480

 name: rtjpegquality
value: 170

 name: mpeg4bitrate
value: 2200

 name: mp3quality
value: 3

 name: volume
value: 90