[FFmpeg-trac] #5456(undetermined:new): Videos produced with -shortest are longer than the audio

FFmpeg trac at avcodec.org
Tue Mar 10 06:30:26 EET 2020


#5456: Videos produced with -shortest are longer than the audio
-------------------------------------+-------------------------------------
             Reporter:  hmemcpy      |                    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 RolandMunsil):

 Issue still appears to be present - using FFmpeg 4.2.2 (win64 build) and
 running into exact same problem. Increasing framerate decreases extra time
 added to video (1 FPS = ~1 minute extra, 25 FPS = ~3 seconds extra). I was
 able to kind of mitigate it by adding
 {{{
 -fflags +shortest -max_interleave_delta 500M
 }}}
 to the end of my command, which significantly reduced the amount of extra
 time added to the output.

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


More information about the FFmpeg-trac mailing list