[FFmpeg-trac] #11490(avformat:new): [Regression] Audio silent for long MOV file
FFmpeg
trac at avcodec.org
Tue Mar 11 22:20:43 EET 2025
#11490: [Regression] Audio silent for long MOV file
------------------------------------+------------------------------------
Reporter: cgbug | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mov | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
------------------------------------+------------------------------------
Comment (by cgbug):
The problem seems to be that the file has an invalid value in stsz atom
for the PCM audio track.
sample_size = 4
sample_count = 399869600
When multiplied this roughly equals the size of the audio track (1.5GB) as
indicated by MediaInfo. So likely a bug in the writing app, which is
Davince Resolve. Video has duration of 2H:18M.
This high value for sample_count triggers the sanity check in
mov_merge_tts_data, while it did not in older code due to size difference
in structs (stts_data vs tts_data).
I can make the file playable by adjusting sample_count to a lower value in
mov_read_stsz.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11490#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list