ffprobe: extend disposition printing support
This generalizes the previous work on disposition printing. Disposition flags are shown in a dedicated section, which should improve output intellegibility, extensibility and filtering operations. This breaks output syntax with the recently introduced disposition printing.
This commit is contained in:
@@ -479,8 +479,6 @@
|
||||
"codec_time_base": "1/44100",
|
||||
"codec_tag_string": "[1][0][0][0]",
|
||||
"codec_tag": "0x0001",
|
||||
"default": 0,
|
||||
"forced": 0,
|
||||
"sample_fmt": "s16",
|
||||
"sample_rate": "44100",
|
||||
"channels": 1,
|
||||
@@ -494,7 +492,20 @@
|
||||
"duration": "11.957211",
|
||||
"bit_rate": "705600",
|
||||
"nb_read_frames": "6",
|
||||
"nb_read_packets": "6"
|
||||
"nb_read_packets": "6",
|
||||
"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,
|
||||
@@ -503,8 +514,6 @@
|
||||
"codec_time_base": "1/25",
|
||||
"codec_tag_string": "RGB[24]",
|
||||
"codec_tag": "0x18424752",
|
||||
"default": 0,
|
||||
"forced": 0,
|
||||
"width": 320,
|
||||
"height": 240,
|
||||
"has_b_frames": 0,
|
||||
@@ -512,7 +521,6 @@
|
||||
"display_aspect_ratio": "4:3",
|
||||
"pix_fmt": "rgb24",
|
||||
"level": -99,
|
||||
"attached_pic": 0,
|
||||
"r_frame_rate": "25/1",
|
||||
"avg_frame_rate": "0/0",
|
||||
"time_base": "1/25",
|
||||
@@ -521,7 +529,20 @@
|
||||
"duration_ts": 299,
|
||||
"duration": "11.960000",
|
||||
"nb_read_frames": "4",
|
||||
"nb_read_packets": "4"
|
||||
"nb_read_packets": "4",
|
||||
"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": 2,
|
||||
@@ -530,8 +551,6 @@
|
||||
"codec_time_base": "1/25",
|
||||
"codec_tag_string": "RGB[24]",
|
||||
"codec_tag": "0x18424752",
|
||||
"default": 0,
|
||||
"forced": 0,
|
||||
"width": 100,
|
||||
"height": 100,
|
||||
"has_b_frames": 0,
|
||||
@@ -539,7 +558,6 @@
|
||||
"display_aspect_ratio": "1:1",
|
||||
"pix_fmt": "rgb24",
|
||||
"level": -99,
|
||||
"attached_pic": 0,
|
||||
"r_frame_rate": "25/1",
|
||||
"avg_frame_rate": "0/0",
|
||||
"time_base": "1/25",
|
||||
@@ -548,7 +566,20 @@
|
||||
"duration_ts": 299,
|
||||
"duration": "11.960000",
|
||||
"nb_read_frames": "4",
|
||||
"nb_read_packets": "4"
|
||||
"nb_read_packets": "4",
|
||||
"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
|
||||
}
|
||||
}
|
||||
],
|
||||
"format": {
|
||||
|
||||
Reference in New Issue
Block a user