[FFmpeg-trac] #8938(undetermined:new): Merge sound wrong duration

FFmpeg trac at avcodec.org
Sat Oct 17 13:51:36 EEST 2020


#8938: Merge sound wrong duration
--------------------------------------+----------------------------------
             Reporter:  tqk2811       |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Summary of the bug:
 How to reproduce:
 Extract sound from video
 {{{
 -fflags +igndts -i "intro.mp4" -codec:a libmp3lame -vn -ss 00:00 -t
 0:00:22.293 -y "intro.mp3"
 }}}
 {{{
 -fflags +igndts -i "outro.mp4" -codec:a libmp3lame -vn -ss 00:00 -t
 0:00:22.293 -y "outro.mp3"
 }}}
 Merge with mp3
 {{{
 -i "concat:intro.mp3|music.mp3|outro.mp3" -codec:a libmp3lame -b:a 321192
 -af "adelay=2000|2000" -y "merge.mp3"
 }}}

 Output i need:
 {{{
 [delay 2 sec][intro][music][outro]
 }}}


 Output i got:
 {{{
 [delay 2 sec][intro][empty about 2sec][music][empty about 2sec][outro]
 }}}


 The error (i think):

 {{{
 [mp3 @ 00000296b50115c0] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 1165871 >= 20783
 }}}


 ffmpeg version: ffmpeg-4.3.1-win32-static

 How do i fix it, thanks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8938>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list