[FFmpeg-trac] #4388(undetermined:closed): Audio filter which is set for a specific track is affecting all tracks

FFmpeg trac at avcodec.org
Fri Mar 27 05:26:34 CET 2015


#4388: Audio filter which is set for a specific track is affecting all tracks
-------------------------------------+-------------------------------------
             Reporter:  Drag0nFly    |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  2.6          |  undetermined
             Keywords:               |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by llogan):

 * keywords:  audio filtergraph multiple tracks streamcopy =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Please note that this bug tracker is not a support forum, but I guess you
 weren't sure if you were experiencing a bug or not. Next time user
 questions should be asked on the ffmpeg-user mailing list or #ffmpeg IRC
 channel.

 The problem is with your command. Do all complex filtering with one
 filtergraph and explicitly list your mappings. Something like this should
 work for you (although I don't think it's worth re-encoding to crop 8
 pixels and raise volume of a stream...just do those upon playback with a
 non-retarded player):

 {{{
 ffmpeg -i input -filter_complex
 "[0:v]crop=iw:ih-8[v];[0:a:0]volume=+6.4dB[a]" -map "[v]" -map "[a]" -map
 0:a:1 -map 0:a:2 -map 0:s -c:v libx264 -c:a:0 flac -c:a:1 copy -c:a:2 copy
 -c:s copy output
 }}}

 It can possibly be made shorter with negative mappings and/or with
 overriding broader `-codec` options by following them with more specific
 ones. I see no reason to use those `-x264opts` when your `-preset` will
 deal with all of that.

 If you have any additional questions they should be directed to the
 mailing list or IRC channel.

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


More information about the FFmpeg-trac mailing list