[FFmpeg-trac] #10739(undetermined:new): Weird behavior of aresample filter in the presence of -map argument

FFmpeg trac at avcodec.org
Mon Dec 18 12:55:41 EET 2023


#10739: Weird behavior of aresample filter in the presence of -map argument
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                    Owner:  (none)
                 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 Gyan):

 This has nothing to do with aresample or any particular filter.

 Check with `-filter_complex anull` in place of `-filter_complex
 aresample=resampler=soxr`

 Till ver 5.1, there was a bug in the mapping code. Any unlabelled outputs
 of complex filtergraphs were supposed to be implicitly mapped in addition
 to manually mapped streams but they apparently weren't. This was corrected
 after 5.1.

 Read the chapter on [http://www.ffmpeg.org/ffmpeg.html#Stream-selection
 Stream Selection], especially section 4.1.3 and the examples at the end.

 For your use case, you should use

 `ffmpeg -hide_banner -y -i ~/Music/audio\ formats/MP3_192K.mp3  -map 0:0
 -af aresample=resampler=soxr ~/tmp/file.wav`
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10739#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list