LINUX.ORG.RU

Как узнать битрейт видео в .mkv?


0

1

mplayer при воспроизведении выдаёт, помимо прочего

.....
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
.....
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
.....
Воспроизведение при этом происходит абсолютно нормально. В чём дело?


> В чём дело?

Обновить mplayer, покажет.

anonymous
()
Ответ на: комментарий от redgremlin

Не нашёл в выдаче mkvinfo информации о битрейте видео.

+ A track
|  + Track number: 1
|  + Track UID: 1
|  + Track type: video
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 0
|  + MinCache: 1
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: V_MPEG4/ISO/AVC
|  + Codec decode all: 1
|  + CodecPrivate, length 39
|  + Default duration: 41.708ms (23.976 fps for a video track)
|  + Language: und
|  + Video track
|   + Pixel width: 1280
|   + Pixel height: 720
|   + Interlaced: 0
|   + Display width: 16
|   + Display height: 9

mtfk
() автор топика

Есть универсальный инструмент - mediainfo:

$ mediainfo Аватар\ \[Avatar,\ 2009\].mkv 
General
UniqueID                         : 237794366423468004151695542105158443708 (0xB2E5877273CF6161B7CED5B46AC7E2BC)
Complete name                    : Аватар [Avatar, 2009].mkv
Format                           : Matroska
File size                        : 7.89 GiB
Duration                         : 2h 41mn
Overall bit rate                 : 6 983 Kbps
Movie name                       : HDuploaders.aRKa
Encoded date                     : UTC 2010-05-02 21:07:38
Writing application              : mkvmerge v3.2.0 ('Beginnings') built on Feb 12 2010 16:46:17
Writing library                  : libebml v0.7.9 + libmatroska v0.8.1
Cover                            : Yes / Yes / Yes / Yes / Yes

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 41mn
Bit rate                         : 5 700 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.258
Stream size                      : 6.28 GiB (80%)
Title                            : Avatar.2009.720p
Writing library                  : x264 core 92 r1510kMod 33d382a
Encoding settings                : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.80:0.10 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=0 / rc=2pass / mbtree=0 / bitrate=5700 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=60000 / ip_ratio=1.30 / pb_ratio=1.20 / aq=1:0.60 / nal_hrd=none
Language                         : English

Audio #1
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 2h 41mn
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Compression mode                 : Lossy
Stream size                      : 740 MiB (9%)
Title                            : RUS DUB CEE AC3 640
Language                         : Russian

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 2h 41mn
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Compression mode                 : Lossy
Stream size                      : 740 MiB (9%)
Title                            : ENG CEE AC3 640
Language                         : English

Text #1
ID                               : 4
Format                           : ASS
Codec ID                         : S_TEXT/ASS
Codec ID/Info                    : Advanced Sub Station Alpha
Compression mode                 : Lossless
Title                            : Forced Styled
Language                         : Russian

Text #2
ID                               : 5
Format                           : ASS
Codec ID                         : S_TEXT/ASS
Codec ID/Info                    : Advanced Sub Station Alpha
Compression mode                 : Lossless
Title                            : Licence Styled
Language                         : Russian

Text #3
ID                               : 6
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Forced
Language                         : Russian

Text #4
ID                               : 7
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Licence
Language                         : Russian

Text #5
ID                               : 8
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Voronine
Language                         : Russian

Text #6
ID                               : 9
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Voronine Colored
Language                         : Russian

Text #7
ID                               : 10
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Voronine Hearing Impaired Colored
Language                         : Russian

Text #8
ID                               : 11
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Forced
Language                         : Ukrainian

Text #9
ID                               : 12
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Language                         : Ukrainian

Text #10
ID                               : 13
Format                           : ASS
Codec ID                         : S_TEXT/ASS
Codec ID/Info                    : Advanced Sub Station Alpha
Compression mode                 : Lossless
Title                            : Forced Styled
Language                         : English

Text #11
ID                               : 14
Format                           : ASS
Codec ID                         : S_TEXT/ASS
Codec ID/Info                    : Advanced Sub Station Alpha
Compression mode                 : Lossless
Title                            : Styled
Language                         : English

Text #12
ID                               : 15
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Title                            : Forced
Language                         : English

Text #13
ID                               : 16
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Language                         : English

Menu
00:00:00.000                     : en:A New World
00:06:17.961                     : en:You Are Not In Kansas Anymore
...
02:31:14.065                     : en:"I See You"
02:35:05.296                     : en:End Credits

KRoN73 ★★★★★
()
Ответ на: комментарий от KRoN73

Большое спасибо, mediainfo классная штука. Без подсказки бы не нашёл, в убунтовских репах её нет, поставил из PPA.

mtfk
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.