Skip to content

Instantly share code, notes, and snippets.

@ubaltaci
Created March 19, 2016 02:59
Show Gist options
  • Save ubaltaci/6c96053b4feef66b7710 to your computer and use it in GitHub Desktop.
Save ubaltaci/6c96053b4feef66b7710 to your computer and use it in GitHub Desktop.
exiftool
[{
"SourceFile": "../Downloads/big_buck_bunny-ece3c1c0-1a39-4fad-9987-72f43e8f6d2c.mp4",
"ExifToolVersion": 10.11,
"FileName": "big_buck_bunny-ece3c1c0-1a39-4fad-9987-72f43e8f6d2c.mp4",
"Directory": "../Downloads",
"FileSize": "5.3 MB",
"FileModifyDate": "2016:03:18 04:14:39+02:00",
"FileAccessDate": "2016:03:19 04:46:50+02:00",
"FileInodeChangeDate": "2016:03:18 04:14:39+02:00",
"FilePermissions": "rw-r--r--",
"FileType": "MP4",
"FileTypeExtension": "mp4",
"MIMEType": "video/mp4",
"MajorBrand": "MP4 v2 [ISO 14496-14]",
"MinorVersion": "0.0.1",
"CompatibleBrands": ["mp42","avc1"],
"MovieHeaderVersion": 0,
"CreateDate": "2010:02:09 01:55:39",
"ModifyDate": "2010:02:09 01:55:40",
"TimeScale": 600,
"Duration": "0:01:00",
"PreferredRate": 1,
"PreferredVolume": "100.00%",
"PreviewTime": "0 s",
"PreviewDuration": "0 s",
"PosterTime": "0 s",
"SelectionTime": "0 s",
"SelectionDuration": "0 s",
"CurrentTime": "0 s",
"NextTrackID": 5,
"TrackHeaderVersion": 0,
"TrackCreateDate": "2010:02:09 01:55:39",
"TrackModifyDate": "2010:02:09 01:55:40",
"TrackID": 1,
"TrackDuration": "0:01:00",
"TrackLayer": 0,
"TrackVolume": "100.00%",
"Balance": 0,
"AudioFormat": "mp4a",
"AudioChannels": 2,
"AudioBitsPerSample": 16,
"AudioSampleRate": 22050,
"ImageWidth": 640,
"ImageHeight": 360,
"GraphicsMode": "srcCopy",
"OpColor": "0 0 0",
"CompressorID": "avc1",
"SourceImageWidth": 640,
"SourceImageHeight": 360,
"XResolution": 72,
"YResolution": 72,
"BitDepth": 24,
"VideoFrameRate": 23.962,
"Track3Name": "Hinted Video Track",
"MatrixStructure": "1 0 0 0 1 0 0 0 1",
"MediaHeaderVersion": 0,
"MediaCreateDate": "2010:02:09 01:55:39",
"MediaModifyDate": "2010:02:09 01:55:39",
"MediaTimeScale": 22050,
"MediaDuration": "0:01:00",
"MediaLanguageCode": "eng",
"HandlerType": "Hint Track",
"HandlerDescription": "hint media handler",
"MaxPDUSize": 0,
"AvgPDUSize": 0,
"MaxBitrate": "0 bps",
"AvgBitrate": "0 bps",
"HintFormat": "rtp ",
"HintTrackVersion": 1,
"MaxPacketSize": 1450,
"RTPTimeScale": 22050,
"Track4Name": "Hinted Sound Track",
"StreamingDataProtocol": "m=audio 0 RTP/AVP 97\r\nb=AS:68\r\nb=TIAS:66\r\na=maxprate:10\r\na=rtpmap:97 mpeg4-generic/22050/2\r\na=control:trackID=4\r\na=fmtp:97 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1390\r\na=mpeg4-esid:101\r\n",
"TotalBytes": 500863,
"NumPackets": 648,
"TotalBytesNoRTPHeaders": 493087,
"MaxDataRate": "66676 bytes in 60.000 s",
"MediaTrackBytes": 2590,
"ImmediateDataBytes": 3886,
"RepeatedDataBytes": 0,
"MinTransmissionTime": "4197575.748 s",
"MaxTransmissionTime": "4197575.748 s",
"LargestPacketSize": 1199,
"LargestPacketDuration": "0.092 s",
"PayloadType": "97, mpeg4-generic/22050/2",
"RealtimeStreamingProtocol": "(SDP) b=AS:684\r\nb=TIAS:668\r\na=maxprate:73.000000\r\na=isma-compliance:2,2.0,2\r\n",
"MovieDataSize": 5473758,
"MovieDataOffset": 37114,
"ImageSize": "640x360",
"Megapixels": 0.230,
"Rotation": 0
}]
[{
"SourceFile": "1.mp4",
"ExifToolVersion": 10.11,
"FileName": "1.mp4",
"Directory": ".",
"FileSize": "3.6 MB",
"FileModifyDate": "2016:01:29 17:11:30+02:00",
"FileAccessDate": "2016:03:19 04:46:50+02:00",
"FileInodeChangeDate": "2016:03:17 02:44:57+02:00",
"FilePermissions": "rw-r--r--",
"FileType": "MP4",
"FileTypeExtension": "mp4",
"MIMEType": "video/mp4",
"MajorBrand": "MP4 v2 [ISO 14496-14]",
"MinorVersion": "0.0.1",
"CompatibleBrands": ["mp41","mp42","isom"],
"MovieDataSize": 3801635,
"MovieDataOffset": 44,
"MovieHeaderVersion": 0,
"CreateDate": "2016:01:29 05:35:51",
"ModifyDate": "2016:01:29 05:35:56",
"TimeScale": 44100,
"Duration": "14.33 s",
"PreferredRate": 1,
"PreferredVolume": "100.00%",
"PreviewTime": "0 s",
"PreviewDuration": "0 s",
"PosterTime": "0 s",
"SelectionTime": "0 s",
"SelectionDuration": "0 s",
"CurrentTime": "0 s",
"NextTrackID": 3,
"TrackHeaderVersion": 0,
"TrackCreateDate": "2016:01:29 05:35:51",
"TrackModifyDate": "2016:01:29 05:35:56",
"TrackID": 1,
"TrackDuration": "14.33 s",
"TrackLayer": 0,
"TrackVolume": "0.00%",
"ImageWidth": 720,
"ImageHeight": 958,
"GraphicsMode": "srcCopy",
"OpColor": "0 0 0",
"CompressorID": "avc1",
"SourceImageWidth": 720,
"SourceImageHeight": 958,
"XResolution": 72,
"YResolution": 72,
"BitDepth": 24,
"ColorRepresentation": "nclx 1 1 1",
"VideoFrameRate": 29.93,
"MatrixStructure": "1 0 0 0 1 0 0 0 1",
"MediaHeaderVersion": 0,
"MediaCreateDate": "2016:01:29 05:35:51",
"MediaModifyDate": "2016:01:29 05:35:56",
"MediaTimeScale": 44100,
"MediaDuration": "14.37 s",
"MediaLanguageCode": "und",
"HandlerType": "Audio Track",
"HandlerDescription": "Core Media Audio",
"Balance": 0,
"AudioFormat": "mp4a",
"AudioChannels": 2,
"AudioBitsPerSample": 16,
"AudioSampleRate": 44100,
"AvgBitrate": "2.12 Mbps",
"ImageSize": "720x958",
"Megapixels": 0.690,
"Rotation": 0
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment