fftools/ffprobe: print EXIF side data size

We don't need to print the tags here because they're added as dict
elements to AVFrame->metadata and are printed elsewhere with ffprobe
-show_frames.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
This commit is contained in:
Leo Izen
2025-04-12 12:00:52 -04:00
parent 1e816ebefe
commit 5d4f873ff3
5 changed files with 6 additions and 0 deletions

View File

@@ -1342,6 +1342,8 @@ static void print_frame_side_data(AVTextFormatContext *tfc,
print_film_grain_params(tfc, fgp);
} else if (sd->type == AV_FRAME_DATA_VIEW_ID) {
print_int("view_id", *(int*)sd->data);
} else if (sd->type == AV_FRAME_DATA_EXIF) {
print_int("size", sd->size);
}
avtext_print_section_footer(tfc);
}

View File

@@ -34,6 +34,7 @@ TAG:ExifIFD/UserComment=AppleMark
[SIDE_DATA]
side_data_type=EXIF metadata
size=55
[/SIDE_DATA]
[/FRAME]
[FRAME]

View File

@@ -199,5 +199,6 @@ TAG:ExifIFD/DigitalZoomRatio= 4000:4000
TAG:ExifIFD/SceneCaptureType= 0
[SIDE_DATA]
side_data_type=EXIF metadata
size=3297
[/SIDE_DATA]
[/FRAME]

View File

@@ -54,5 +54,6 @@ TAG:ResolutionUnit= 3
TAG:Software=ImageMagick 6.5.8-0 2010-02-09 Q16 http://www.imagemagick.org
[SIDE_DATA]
side_data_type=EXIF metadata
size=403
[/SIDE_DATA]
[/FRAME]

View File

@@ -199,5 +199,6 @@ TAG:ExifIFD/DigitalZoomRatio= 4000:4000
TAG:ExifIFD/SceneCaptureType= 0
[SIDE_DATA]
side_data_type=EXIF metadata
size=9718
[/SIDE_DATA]
[/FRAME]