[FFmpeg-devel] [PATCH 6/9] fftools/ffprobe: export Tile Grid Stream Group parameters

James Almer jamrial at gmail.com
Tue Mar 5 17:50:09 EET 2024


On 3/5/2024 12:24 PM, Stefano Sabatini wrote:
> On date Tuesday 2024-03-05 12:14:53 -0300, James Almer wrote:
>> On 3/4/2024 9:00 PM, James Almer wrote:
>>> Signed-off-by: James Almer <jamrial at gmail.com>
>>> ---
>>>    fftools/ffprobe.c | 41 ++++++++++++++++++++++++++++++++++++-----
>>>    1 file changed, 36 insertions(+), 5 deletions(-)
> [...]
> 
>> I think I'll withdraw this patch for now. Some stream group types have
>> several layers of data, so components and pieces would not be enough. This
>> is the case for IAMF Audio Elements and Mix Presentation, for example.
>> A generic way to add N amount of layers would be needed.
> 
> I see.
> 
> Does it mean that the nesting level is greater than 3 (side_data,
> components, pieces)?

Yes. Look at AVIAMFMixPresentation, which has an array of AVIAMFSubmix, 
which in turn have an array of AVIAMFSubmixLayout plus an array of 
AVIAMFSubmixElement per submix, the latter which has a 
AVIAMFParamDefinition per element.
If the AVIAMFMixPresentation is the component, the AVIAMFSubmix would be 
the piece, and then we ran out of levels.

> 
> Probably the best we can do is some kind of flattening (ffprobe is not
> designed for generic level of nesting, as we need to define the
> structure of the layout, at least for some formats (e.g. XML)).
> _______________________________________________
> 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