-
-
Save AdeptSEO/8e2157ea3bd5a10bb0d7d66b94cc2222 to your computer and use it in GitHub Desktop.
ffprobe samples
This file contains 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
placeholder |
This file contains 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
$ ./ffprobe -v debug -show_error "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" |
This file contains 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
$ ./ffprobe -v quiet -print_format json -show_format "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" | |
{ | |
"format": { | |
"filename": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov", | |
"nb_streams": 2, | |
"nb_programs": 0, | |
"format_name": "rtsp", | |
"format_long_name": "RTSP input", | |
"start_time": "0.000000", | |
"duration": "596.480000", | |
"probe_score": 100, | |
"tags": { | |
"title": "BigBuckBunny_115k.mov" | |
} | |
} | |
} |
This file contains 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
$ ./ffprobe -v quiet -print_format json -show_streams "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" | |
{ | |
"streams": [ | |
{ | |
"index": 0, | |
"codec_name": "aac", | |
"codec_long_name": "AAC (Advanced Audio Coding)", | |
"profile": "LC", | |
"codec_type": "audio", | |
"codec_time_base": "1/12000", | |
"codec_tag_string": "[0][0][0][0]", | |
"codec_tag": "0x0000", | |
"sample_fmt": "fltp", | |
"sample_rate": "12000", | |
"channels": 2, | |
"channel_layout": "stereo", | |
"bits_per_sample": 0, | |
"r_frame_rate": "0/0", | |
"avg_frame_rate": "0/0", | |
"time_base": "1/12000", | |
"start_pts": 0, | |
"start_time": "0.000000", | |
"disposition": { | |
"default": 0, | |
"dub": 0, | |
"original": 0, | |
"comment": 0, | |
"lyrics": 0, | |
"karaoke": 0, | |
"forced": 0, | |
"hearing_impaired": 0, | |
"visual_impaired": 0, | |
"clean_effects": 0, | |
"attached_pic": 0 | |
} | |
}, | |
{ | |
"index": 1, | |
"codec_name": "h264", | |
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", | |
"profile": "Constrained Baseline", | |
"codec_type": "video", | |
"codec_time_base": "1/48", | |
"codec_tag_string": "[0][0][0][0]", | |
"codec_tag": "0x0000", | |
"width": 240, | |
"height": 160, | |
"coded_width": 240, | |
"coded_height": 160, | |
"has_b_frames": 0, | |
"sample_aspect_ratio": "0:1", | |
"display_aspect_ratio": "0:1", | |
"pix_fmt": "yuv420p", | |
"level": 30, | |
"chroma_location": "left", | |
"refs": 3, | |
"is_avc": "0", | |
"nal_length_size": "0", | |
"r_frame_rate": "24/1", | |
"avg_frame_rate": "24/1", | |
"time_base": "1/90000", | |
"start_pts": 22530, | |
"start_time": "0.250333", | |
"bits_per_raw_sample": "8", | |
"disposition": { | |
"default": 0, | |
"dub": 0, | |
"original": 0, | |
"comment": 0, | |
"lyrics": 0, | |
"karaoke": 0, | |
"forced": 0, | |
"hearing_impaired": 0, | |
"visual_impaired": 0, | |
"clean_effects": 0, | |
"attached_pic": 0 | |
} | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment