[FFmpeg-trac] #8091(undetermined:new): Sound replacing stopped working

FFmpeg trac at avcodec.org
Wed Aug 21 14:22:57 EEST 2019

#8091: Sound replacing stopped working
             Reporter:               |                    Owner:
  ConcludingPrague                   |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  regression   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by Gyan):

 Change since 11d3b03fcb2baae4324aac9481b9bd4a171d4345

 The MP3 demuxer does not set any stream disposition, so the MP4's audio
 stream is scored higher.

 Workaround is to map explicitly:

 ffmpeg.exe -i new_audio.mp3 -i audio_and_video.mp4 -map 1 -map -1:a -map
 0:a -c copy out.mp4

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

More information about the FFmpeg-trac mailing list