[mythtv-users] Resolution of broadcast/recording.

Charles H. Chapman ccmail at bellsouth.net
Mon Sep 15 12:27:51 UTC 2008


"Michael T. Dean" <mtdean at thirdcontact.com> wrote:

 > Regardless, there will be code in the future to scan a recording for
 > resolution and other information and put a "best guess" of that info
 > into the database (probably done at the same time as seektable
 > building or possibly commercial flagging).  This, IMHO, is far more
 > valuable than any instantaneous reading as it is most likely the info
 > the user wants to know.

Well, the command line utility "mediainfo" can display the resolution of 
a recording quite nicely.  In theory, MythTV should be able to do the same:

$ mediainfo /usr/local/video/4061_20080912183000.mpg

General
ID                               : 293
Complete name                    : /usr/local/video/4061_20080912183000.mpg
Format                           : MPEG-TS
File size                        : 3.26 GiB
Duration                         : 30mn 56s
Overall bit rate                 : 15.1 Mbps

Video
ID                               : 49 (0x31)
Menu ID                          : 1 (0x1)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main at High
Format settings, Matrix          : Standard
Duration                         : 30mn 56s
Bit rate mode                    : Constant
Bit rate                         : 13.9 Mbps
Nominal bit rate                 : 90.0 Mbps
Width                            : 1920 pixels
Height                           : 1080 pixels
Display aspect ratio             : 16/9
Frame rate                       : 29.970 fps
Colorimetry                      : 4:2:0
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 1.448

Audio #1
ID                               : 52 (0x34)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Rear: L R, LFE
Sampling rate                    : 48.0 KHz
Video delay                      : -458ms

Audio #2
ID                               : 53 (0x35)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Video delay                      : -366ms


More information about the mythtv-users mailing list