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

James Almer jamrial at gmail.com
Sat Mar 2 21:03:21 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 ec3c713849..6e66f4dfa8 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3362,7 +3362,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