Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./ffprobe -print_format json -show_format -show_streams -i ../java01/01.mp4
- 新东方flv格式
- ```json
- {
- "streams": [
- {
- "index": 0,
- "codec_name": "h264",
- "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
- "profile": "High",
- "codec_type": "video",
- "codec_time_base": "1/50",
- "codec_tag_string": "[0][0][0][0]",
- "codec_tag": "0x0000",
- "width": 1280,
- "height": 720,
- "coded_width": 1280,
- "coded_height": 720,
- "has_b_frames": 1,
- "sample_aspect_ratio": "1:1",
- "display_aspect_ratio": "16:9",
- "pix_fmt": "yuv420p",
- "level": 40,
- "chroma_location": "left",
- "field_order": "progressive",
- "refs": 1,
- "is_avc": "true",
- "nal_length_size": "4",
- "r_frame_rate": "25/1",
- "avg_frame_rate": "25/1",
- "time_base": "1/1000",
- "start_pts": 40,
- "start_time": "0.040000",
- "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,
- "timed_thumbnails": 0
- }
- },
- {
- "index": 1,
- "codec_name": "aac",
- "codec_long_name": "AAC (Advanced Audio Coding)",
- "profile": "LC",
- "codec_type": "audio",
- "codec_time_base": "1/44100",
- "codec_tag_string": "[0][0][0][0]",
- "codec_tag": "0x0000",
- "sample_fmt": "fltp",
- "sample_rate": "44100",
- "channels": 2,
- "channel_layout": "stereo",
- "bits_per_sample": 0,
- "r_frame_rate": "0/0",
- "avg_frame_rate": "0/0",
- "time_base": "1/1000",
- "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,
- "timed_thumbnails": 0
- }
- }
- ],
- "format": {
- "filename": "../koolearn/2018kysxqhgs01.flv",
- "nb_streams": 2,
- "nb_programs": 0,
- "format_name": "flv",
- "format_long_name": "FLV (Flash Video)",
- "start_time": "0.000000",
- "duration": "872.536000",
- "size": "27235681",
- "bit_rate": "249715",
- "probe_score": 100,
- "tags": {
- "moovPosition": "44",
- "avcprofile": "100",
- "avclevel": "40",
- "aacaot": "2",
- "videoframerate": "25",
- "audiochannels": "2",
- "language": "und",
- "length": "38478848",
- "timescale": "44100",
- "sampletype": "mp4a"
- }
- }
- }
- ```
- 七牛ts格式
- ```json
- {
- "streams": [
- {
- "index": 0,
- "codec_name": "h264",
- "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
- "profile": "High",
- "codec_type": "video",
- "codec_time_base": "1/60",
- "codec_tag_string": "[27][0][0][0]",
- "codec_tag": "0x001b",
- "width": 1920,
- "height": 1080,
- "coded_width": 1920,
- "coded_height": 1088,
- "has_b_frames": 2,
- "sample_aspect_ratio": "1:1",
- "display_aspect_ratio": "16:9",
- "pix_fmt": "yuv420p",
- "level": 40,
- "chroma_location": "left",
- "field_order": "progressive",
- "refs": 1,
- "is_avc": "false",
- "nal_length_size": "0",
- "id": "0x100",
- "r_frame_rate": "30/1",
- "avg_frame_rate": "30/1",
- "time_base": "1/90000",
- "start_pts": 132000,
- "start_time": "1.466667",
- "duration_ts": 167013000,
- "duration": "1855.700000",
- "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,
- "timed_thumbnails": 0
- }
- },
- {
- "index": 1,
- "codec_name": "aac",
- "codec_long_name": "AAC (Advanced Audio Coding)",
- "profile": "LC",
- "codec_type": "audio",
- "codec_time_base": "1/44100",
- "codec_tag_string": "[15][0][0][0]",
- "codec_tag": "0x000f",
- "sample_fmt": "fltp",
- "sample_rate": "44100",
- "channels": 2,
- "channel_layout": "stereo",
- "bits_per_sample": 0,
- "id": "0x101",
- "r_frame_rate": "0/0",
- "avg_frame_rate": "0/0",
- "time_base": "1/90000",
- "start_pts": 126000,
- "start_time": "1.400000",
- "duration_ts": 166980962,
- "duration": "1855.344022",
- "bit_rate": "132644",
- "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,
- "timed_thumbnails": 0
- },
- "tags": {
- "language": "und"
- }
- }
- ],
- "format": {
- "filename": "../java01/01.mp4",
- "nb_streams": 2,
- "nb_programs": 1,
- "format_name": "mpegts",
- "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)",
- "start_time": "1.400000",
- "duration": "1855.766667",
- "size": "238265184",
- "bit_rate": "1027134",
- "probe_score": 50
- }
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement