最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】Mac中下载MediaInfo查看音频视频文件信息

Mac crifan 1153浏览 0评论
折腾:
【记录】Mac中试用HandBrake转换mpg视频文件为mp4
期间,去参考:
这可能是 Mac 上最佳的视频压制和格式转换方案 | Patrick’s Blog
https://patricorgi.github.io/2016/11/12/这可能是%20Mac%20上最佳视频格式转换和压制方案/
去为了对比用Handbrake压缩视频文件前后的码率和其他信息,所以去下载可以方便查看视频的各种属性的信息的,包括视频编码,码率,帧数,音频编码等等
去mac中下载:
mac Media-Info
MediaInfo – Download MediaInfo for macOS
-》
原始近4G的mpg的信息是:
换成text模式:

General

Complete name                            : /Users/crifan/dev/dev_root/projects/xxx_to_cn/
视频
/ICS_Sendemaster/CTT_02_17_CH_Subs.mpg

Format                                   : MPEG-PS

File size                                : 3.99 GiB

Duration                                 : 30 min 0 s

Overall bit rate mode                    : Variable

Overall bit rate                         : 19.0 Mb/s


Video

ID                                       : 224 (0xE0)

Format                                   : MPEG Video

Format version                           : Version 2

Format profile                           : Main@High

Format settings                          : BVOP

Format settings, BVOP                    : Yes

Format settings, Matrix                  : Default

Format settings, GOP                     : M=3, N=12

Duration                                 : 30 min 0 s

Bit rate mode                            : Variable

Bit rate                                 : 18.3 Mb/s

Maximum bit rate                         : 25.0 Mb/s

Width                                    : 1 920 pixels

Height                                   : 1 080 pixels

Display aspect ratio                     : 16:9

Frame rate                               : 25.000 FPS

Standard                                 : PAL

Color space                              : YUV

Chroma subsampling                       : 4:2:0

Bit depth                                : 8 bits

Scan type                                : Progressive

Compression mode                         : Lossy

Bits/(Pixel*Frame)                       : 0.352

Time code of first frame                 : 01:00:00:00

Time code source                         : Group of pictures header

Stream size                              : 3.83 GiB (96%)

Color primaries                          : BT.709

Transfer characteristics                 : BT.709

Matrix coefficients                      : BT.709


Audio

ID                                       : 192 (0xC0)

Format                                   : MPEG Audio

Format version                           : Version 1

Format profile                           : Layer 2

Duration                                 : 30 min 0 s

Bit rate mode                            : Constant

Bit rate                                 : 384 kb/s

Channel(s)                               : 2 channels

Sampling rate                            : 48.0 kHz

Frame rate                               : 41.667 FPS (1152 SPF)

Compression mode                         : Lossy

Stream size                              : 82.4 MiB (2%)


HTML效果更好:
再去对比,此处用Handbrake压缩后的效果:
-》

General

Complete name                            : /Users/crifan/dev/dev_root/projects/xxx_to_cn/
视频
/converted/HandBrake/Fast 720p30/CTT_02_17_CH_Subs.mp4

Format                                   : MPEG-4

Format profile                           : Base Media / Version 2

Codec ID                                 : mp42 (isom/iso2/avc1/mp41)

File size                                : 387 MiB

Duration                                 : 30 min 0 s

Overall bit rate mode                    : Variable

Overall bit rate                         : 1 803 kb/s

Encoded date                             : UTC 2018-08-23 15:27:56

Tagged date                              : UTC 2018-08-23 15:27:56

Writing application                      : HandBrake 1.1.1 2018061800


Video

ID                                       : 1

Format                                   : AVC

Format/Info                              : Advanced Video Codec

Format profile                           : [email protected]

Format settings                          : CABAC / 5 Ref Frames

Format settings, CABAC                   : Yes

Format settings, ReFrames                : 5 frames

Codec ID                                 : avc1

Codec ID/Info                            : Advanced Video Coding

Duration                                 : 30 min 0 s

Bit rate                                 : 1 650 kb/s

Width                                    : 1 280 pixels

Height                                   : 720 pixels

Display aspect ratio                     : 16:9

Frame rate mode                          : Constant

Frame rate                               : 25.000 FPS

Color space                              : YUV

Chroma subsampling                       : 4:2:0

Bit depth                                : 8 bits

Scan type                                : Progressive

Bits/(Pixel*Frame)                       : 0.072

Stream size                              : 354 MiB (92%)

Writing library                          : x264 core 155 r2901 7d0ff22

Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1650 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=14000 / vbv_bufsize=14000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00

Encoded date                             : UTC 2018-08-23 15:27:56

Tagged date                              : UTC 2018-08-23 15:27:56

Color range                              : Limited

Color primaries                          : BT.709

Transfer characteristics                 : BT.709

Matrix coefficients                      : BT.709


Audio

ID                                       : 2

Format                                   : AAC

Format/Info                              : Advanced Audio Codec

Format profile                           : LC

Codec ID                                 : mp4a-40-2

Duration                                 : 30 min 0 s

Bit rate mode                            : Variable

Bit rate                                 : 144 kb/s

Channel(s)                               : 2 channels

Channel positions                        : Front: L R

Sampling rate                            : 48.0 kHz

Frame rate                               : 46.875 FPS (1024 SPF)

Compression mode                         : Lossy

Stream size                              : 31.4 MiB (8%)

Title                                    : Stereo / Stereo

Default                                  : Yes

Alternate group                          : 1

Encoded date                             : UTC 2018-08-23 15:27:56

Tagged date                              : UTC 2018-08-23 15:27:56


后来也去试了试
单个音频文件的效果:
Easy模式:
Text模式:
HTML模式:

转载请注明:在路上 » 【记录】Mac中下载MediaInfo查看音频视频文件信息

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
84 queries in 0.162 seconds, using 22.13MB memory