[FFmpeg-trac] #9052(undetermined:new): Concat frozen frames with audio

FFmpeg trac at avcodec.org
Mon Jan 4 18:24:35 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 tokejepsen):

 Replying to [comment:1 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.

 Thank you for the quick answer.

 We are looking parallelize our encoding to spread the workload to multiple
 machines, so was under the impression that we need the destination codec
 on each intermediate file for concatenation to work with the demuxer
 method?

 We do have control over the intermediate files, so which codec would you
 recommend that can handle audio as well?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9052#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list