Skip to content

Instantly share code, notes, and snippets.

@zmwangx
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmwangx/ee8986c2f0596f1ebbb0 to your computer and use it in GitHub Desktop.
Save zmwangx/ee8986c2f0596f1ebbb0 to your computer and use it in GitHub Desktop.
Human readability: ffprobe vs metadata.py (metadata.py is part of https://github.com/zmwangx/storyboard ). The video used for comparison is http://podcasts.apple.com/apple_keynotes_1080p/2015/2015_mar_1080_cc.m4v .
> ffprobe -hide_banner 2015_mar_1080_cc.m4v
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2015_mar_1080_cc.m4v':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2015-03-11 21:24:42
Duration: 01:34:45.27, start: 0.000000, bitrate: 8561 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 98 kb/s (default)
Metadata:
creation_time : 2015-03-11 21:24:42
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 8453 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
Metadata:
creation_time : 2015-03-11 21:24:42
handler_name : Apple Alias Data Handler
encoder : H.264
Stream #0:2(eng): Subtitle: eia_608 (c608 / 0x38303663), 640x360, 2 kb/s (default)
Metadata:
rotate : -0
creation_time : 2015-03-11 21:24:42
handler_name : Apple Alias Data Handler
> metadata 2015_mar_1080_cc.m4v
Filename: 2015_mar_1080_cc.m4v
File size: 6083965352 (5.67GiB)
Container format: MPEG-4 Part 14 (M4V)
Duration: 01:34:45.27
Pixel dimensions: 1920x1080
Display aspect ratio: 16:9
Scan type: Progressive scan
Frame rate: 29.97 fps
Streams:
#0: Audio (eng), AAC (Low Complexity), 99 kb/s
#1: Video, H.264 (Main Profile level 4.1), 1920x1080 (DAR 16:9), 29.97 fps, 8453 kb/s
#2: Subtitle (eng), closed caption (EIA-608 / CEA-708)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment