Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffprobe -loglevel error -select_streams v -show_entries stream -of json filename.mp4
- Output:
- {
- "programs": [
- ],
- "streams": [
- {
- "index": 0,
- "codec_name": "h264",
- "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
- "profile": "Baseline",
- "codec_type": "video",
- "codec_time_base": "250/15007",
- "codec_tag_string": "avc1",
- "codec_tag": "0x31637661",
- "width": 640,
- "height": 352,
- "coded_width": 640,
- "coded_height": 352,
- "has_b_frames": 0,
- "pix_fmt": "yuv420p",
- "level": 30,
- "chroma_location": "left",
- "refs": 1,
- "is_avc": "true",
- "nal_length_size": "4",
- "r_frame_rate": "15007/500",
- "avg_frame_rate": "15007/500",
- "time_base": "1/30014",
- "start_pts": 0,
- "start_time": "0.000000",
- "duration_ts": 479000,
- "duration": "15.959219",
- "bit_rate": "1826913",
- "bits_per_raw_sample": "8",
- "nb_frames": "479",
- "disposition": {
- "default": 1,
- "dub": 0,
- "original": 0,
- "comment": 0,
- "lyrics": 0,
- "karaoke": 0,
- "forced": 0,
- "hearing_impaired": 0,
- "visual_impaired": 0,
- "clean_effects": 0,
- "attached_pic": 0,
- "timed_thumbnails": 0
- },
- "tags": {
- "rotate": "90",
- "language": "und"
- },
- "side_data_list": [
- {
- "side_data_type": "Display Matrix",
- "displaymatrix": "n00000000: 0 65536 0n00000001: -65536 0 0n00000002: 0 0 1073741824n",
- "rotation": -90
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement