[FFmpeg-devel] [PATCH 2/8] fftools/ffprobe: print some basic Tile Grid Stream Group parameters

James Almer jamrial at gmail.com
Sun Mar 3 20:09:20 EET 2024


Signed-off-by: James Almer <jamrial at gmail.com>
---
 fftools/ffprobe.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 548c5e0948..fef2a37d4c 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3367,7 +3367,15 @@ static void print_stream_group_params(WriterContext *w, AVStreamGroup *stg)
     else if (stg->type == AV_STREAM_GROUP_PARAMS_IAMF_MIX_PRESENTATION)
         print_str("type", "IAMF Mix Presentation");
     else if (stg->type == AV_STREAM_GROUP_PARAMS_TILE_GRID) {
+        AVStreamGroupTileGrid *tile_grid = stg->params.tile_grid;
         print_str("type", "Tile Grid");
+        print_int("nb_tiles",          tile_grid->nb_tiles);
+        print_int("coded_width",       tile_grid->coded_width);
+        print_int("coded_height",      tile_grid->coded_height);
+        print_int("horizontal_offset", tile_grid->horizontal_offset);
+        print_int("vertical_offset",   tile_grid->vertical_offset);
+        print_int("width",             tile_grid->width);
+        print_int("height",            tile_grid->height);
     } else
         print_str_opt("type", "unknown");
 }
-- 
2.44.0



More information about the ffmpeg-devel mailing list