[FFmpeg-trac] #9052(undetermined:new): Concat frozen frames with audio
FFmpeg
trac at avcodec.org
Mon Jan 4 18:10:49 EET 2021
#9052: Concat frozen frames with audio
-------------------------------------+-------------------------------------
Reporter: tokejepsen | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Cigaes):
By default, ffmpeg will use AAC in MOV. Since AAC uses frames of 1024
samples, your test files have 45056, not 44100, making them 1.02168
seconds. The extra 0.02168, combined with the fact that the MOV muxer does
not support variable frame rate, explains the extra frame.
There are several ways of fixing this, depending on your use case. If you
control your intermediate files, use a codec that does not add samples. If
not, insert the trim filter to fix the duration before concatenation.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9052#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list