#11638 closed defect (fixed)

FFprobe prints 64 bit integers as 32 bit

Reported by: forthrin Owned by: Marvin Scholz <epirat07@gmail.com>
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

# FFmpeg: git 2025-06-14 16:33:50 b65fece
# System: macOS 15.5 (24F74)
# Model : MacBookAir10,1

$ stat -f %Z in.mp4
2576843074

$ ffprobe -v warning -show_entries format=size -of default=noprint_wrappers=1 in.mp4
size=-1718124222

-void avtext_print_unit_int(AVTextFormatContext *tctx, const char *key, int value, const char *unit);
+void avtext_print_unit_int(AVTextFormatContext *tctx, const char *key, int64_t value, const char *unit);

$ !!
size=2576843074

Change History (1)

comment:1 by Marvin Scholz <epirat07@gmail.com>, 13 months ago

Owner: set to Marvin Scholz <epirat07@gmail.com>
Resolution: fixed
Status: newclosed

In 2b25a662/ffmpeg:

fftools/textformat: fix print 64 bit integers

Regression in ffprobe since textformat introduction
in d7a3f68feae0b1c3718f9d2671c6d41c60a40680.

Fixes #11638

Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
Reviewed-by: Marvin Scholz <epirat07@gmail.com>
Reviewed-by: softworkz <softworkz@hotmail.com>

Note: See TracTickets for help on using tickets.