2011-09-16, 23:48
MariusTh86 Wrote:I don't think I have enough knowledge to glue an external tool to mine successfully, but i'll keep looking into ways for reading file data.
But this does exactly what you need, could just make it a requirement to have this installed with a popup with a link. Please don't take this the wrong way just trying to help and save you from having to re-invent the wheel so to speak.
Code:
Bernie:~ dave$ mediainfo /Volumes/media/TV/Weeds/Season.07/Weeds.s07e01.Bags.mkv
General
Complete name : /Volumes/media/TV/Weeds/Season.07/Weeds.s07e01.Bags.mkv
Format : Matroska
Format version : Version 2
File size : 527 MiB
Duration : 25mn 56s
Overall bit rate : 2 839 Kbps
Encoded by : IMMERSE
Writing application : x264.exe
Writing library : mkv2rls x264-tv version built on 2011. febr. 17
Original source form : HDTV
TITLE : Bags
PART_NUMBER : 01
DATE_RELEASE : 2011-06-27
GENRE : Drama
CLASSIFICATION : Scripted
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 25mn 56s
Bit rate : 2 398 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.109
Stream size : 445 MiB (84%)
Writing library : x264 core 115 r2008 4c552d8
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 25mn 56s
Bit rate mode : Constant
Bit rate : 384 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 : 71.2 MiB (14%)
Title : English
Language : English