[FFmpeg-devel] [PATCH 2/2] fftools/ffprobe: print some basic Tile Grid Stream Group parameters
Stefano Sabatini
stefasab at gmail.com
Mon Mar 4 10:33:59 EET 2024
On date Saturday 2024-03-02 16:03:21 -0300, James Almer wrote:
> 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);
should ffprobe.xsd be updated? (in case it is not a variable field)
> } else
> print_str_opt("type", "unknown");
> }
> --
> 2.44.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list