On 1/21/26 13:39, Nariman Sayed via ffmpeg-devel wrote:
Hello FFmpeg developers,
This patch fixes the calculation of bit_rate for fragmented MP4 files,
ensuring
that the reported bit_rate covers the entire fragmented file instead of only
the first fragment.
This addresses GitHub issue: https://github.com/FFmpeg/FFmpeg/issues/20450
Changes include modifications in:
- libavformat/mov.c
- libavformat/isom.h
Tested using ffprobe on sample fragmented MP4 files (12.mp4 and 21.mp4), and
the bit_rate is now calculated correctly over the whole file.
Patch attached.
Best regards,
Nariman Sayed
It seems your code editor has re-formatted the whole file which is not
acceptable. Code style must be preserved and the diff must show only
modified lines.
Nicolas
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]