Recordingprofiles table

From MythTV Official Wiki
Jump to: navigation, search

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

The recordingprofiles table lists the current recording profiles or specification available for recording programs, eg. 'Live TV', High Quality', 'Default', 'Low Quality'.

Table Description

Field name Type Null Key Default Extras
id int(10) unsigned PRI NULL auto_increment
name varchar(128) YES NULL
videocodec varchar(128) YES NULL
audiocodec varchar(128) YES NULL
profilegroup int(10) unsigned MUL 0 REFERENCES profilegroup(id)

Fields

  • id is a unique identifier for the entries in the table. This field is referred to by the codecparams table where the actual codec specifications are stored.
  • name contains the name of the profile. This field is referred to by the profile field in the record table.
  • videocodec refers to a codec understood by mythtranscode, e.g. MPEG-4, MPEG-2, or RTjpeg.
  • audiocodec refers to a coded understoof by mythtranscode, e.g. MP3, or Uncompressed.
  • profilegroup relates to the id field of the profilegroups table.

Example Entries

A recording profile for a MPEG capture card:

          id: 7
        name: High Quality
  videocodec: MPEG-2 Hardware Encoder
  audiocodec: MPEG-2 Hardware Encoder
profilegroup: 2

A transcoding profile:

          id: 29
        name: Low Quality
  videocodec: MPEG-4
  audiocodec: MP3
profilegroup: 6