Created
October 5, 2016 15:03
-
-
Save milothiesen/97499c6aead5cb19dd752501a9ad90ac to your computer and use it in GitHub Desktop.
This is the output of running "mediainfo --Language=raw" to find how to isolate individual fields and their values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Examples of isolating specific fields and their values | |
#duration = %x[mediainfo --Inform="General;%Duration/String3%" '#{filepath}'].chomp! | |
#format = %x[mediainfo --Inform="General;%Format%" '#{filepath}'].chomp! | |
#commerical_name = %x[mediainfo --Inform="General;%Format_Commercial_IfAny%" '#{filepath}'].chomp! | |
#RAW OUTPUT from running "mediainfo --Language=raw filepath" | |
General | |
CompleteName : /Volumes/Drobo #2 2009-2012/AMNH Video/2009/2009-10-21 IncaRoad/Capture Scratch/2009-10-21_IncaRoadPhotoExhibit_JS/541_0251_01.mov | |
Format : MPEG-4 | |
Format_Commercial_IfAny : XDCAM EX 35 | |
Format_Profile : QuickTime | |
CodecID/String : qt 2005.03 (qt ) | |
FileSize/String : 87.6 MiB | |
Duration/String : 20s 220ms | |
OverallBitRate_Mode/String : VBR | |
OverallBitRate/String : 36.4 Mbps | |
Encoded_Date : UTC 2009-10-21 14:04:26 | |
Tagged_Date : UTC 2009-10-21 14:04:27 | |
Encoded_Library/String : Apple QuickTime | |
com.apple.proapps.reel : Untitled | |
com.sony.bprl.xdcamradplug.versi : 1.0.0.388 | |
org.smpte.mxf.package.material.p : 0x060a2b340101010501010d43130000008ad2d028885005dc080046020235292d | |
com.sony.bprl.mxf.umid : 060a2b340101010501010d43130000008ad2d028885005dc080046020235292d | |
com.sony.professionaldisc.nonrea : 2009-09-13 22:49:56 -0500 | |
com.apple.proapps.originalFormat : Apple XDCAM EX 1080i60 (35 Mb/s VBR) | |
com.apple.proapps.clipID : 060A2B340101010501010D43130000008AD2D028885005DC080046020235292D | |
Media/UUID : 5AFCF082-63D4-4024-AA49-600736EC4B3B | |
Video | |
ID/String : 1 | |
Format : MPEG Video | |
Format_Commercial_IfAny : XDCAM EX 35 | |
Format_Version : Version 2 | |
Format_Profile : Main@High | |
Format_Settings_BVOP/String : Yes | |
Format_Settings_Matrix/String : Custom | |
Format_Settings_GOP : M=3, N=15 | |
Format_Settings_PictureStructure : Frame | |
CodecID : xdvb | |
Duration/String : 20s 220ms | |
BitRate_Mode/String : VBR | |
BitRate/String : 35.0 Mbps | |
Width/String : 1920 pixel3 | |
Width_CleanAperture/String : 1888 pixel3 | |
Height/String : 1080 pixel3 | |
Height_CleanAperture/String : 1062 pixel2 | |
DisplayAspectRatio/String : 16:9 | |
DisplayAspectRatio_CleanAperture : 16:9 | |
FrameRate_Mode/String : CFR | |
FrameRate/String : 29.970 (29970/1000) fps3 | |
FrameRate_Original/String : 29.970 (30000/1001) fps3 | |
Standard : Component | |
ColorSpace : YUV | |
ChromaSubsampling : 4:2:0 | |
BitDepth/String : 8 bit3 | |
ScanType/String : Interlaced | |
ScanType_StoreMethod/String : InterleavedFields | |
ScanOrder/String : TFF | |
Compression_Mode/String : Lossy | |
Bits-(Pixel*Frame) : 0.563 | |
StreamSize/String : 83.8 MiB (96%) | |
Language/String : en | |
Encoded_Date : UTC 2009-10-21 14:04:26 | |
Tagged_Date : UTC 2009-10-21 14:04:26 | |
colour_primaries : BT.709 | |
transfer_characteristics : BT.709 | |
matrix_coefficients : BT.709 | |
Audio #1 | |
ID/String : 2 | |
Format : PCM | |
Format_Settings_Endianness : Little | |
Format_Settings_Sign : Signed | |
CodecID : sowt | |
Duration/String : 20s 220ms | |
BitRate_Mode/String : CBR | |
BitRate/String : 768 Kbps | |
Channel(s)/String : 1 channel1 | |
ChannelPositions : Front: L | |
SamplingRate/String : 48.0 KHz | |
BitDepth/String : 16 bit3 | |
StreamSize/String : 1.85 MiB (2%) | |
Language/String : en | |
Encoded_Date : UTC 2009-10-21 14:04:26 | |
Tagged_Date : UTC 2009-10-21 14:04:26 | |
Audio #2 | |
ID/String : 3 | |
Format : PCM | |
Format_Settings_Endianness : Little | |
Format_Settings_Sign : Signed | |
CodecID : sowt | |
Duration/String : 20s 220ms | |
BitRate_Mode/String : CBR | |
BitRate/String : 768 Kbps | |
Channel(s)/String : 1 channel1 | |
ChannelPositions : Front: R | |
SamplingRate/String : 48.0 KHz | |
BitDepth/String : 16 bit3 | |
StreamSize/String : 1.85 MiB (2%) | |
Language/String : en | |
Encoded_Date : UTC 2009-10-21 14:04:26 | |
Tagged_Date : UTC 2009-10-21 14:04:26 | |
Other | |
ID/String : 4 | |
Type : Time code | |
Format : QuickTime TC | |
Duration/String : 20s 220ms | |
TimeCode_FirstFrame : 06:29:27;15 | |
TimeCode_Striped/String : Yes | |
Title : Untitled | |
Language/String : en | |
Default/String : No | |
Encoded_Date : UTC 2009-10-21 14:04:26 | |
Tagged_Date : UTC 2009-10-21 14:04:27 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment