[libav-bugs] [Bug 370] Combining -filter_complex and -map results in unrequested audio track

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Oct 1 07:05:28 CEST 2012


Anton Khirnov <anton at khirnov.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |anton at khirnov.net
         Resolution|                            |INVALID

--- Comment #1 from Anton Khirnov <anton at khirnov.net> 2012-10-01 07:05:27 CEST ---
You didn't RTFM enough ;)

Using -map file:<stream specifier> syntax maps given input stream to output.
This does not make sense with complex filtergraphs, where in general there is
not a 1:1 correspondence between inputs and outputs. For this reason, there is
a special syntax for -map, which maps _filtergraph outputs_ to output files.

E.g. if you have -filter_complex 'some_filter_descriptions[out]', '[out]' is a
link label that designates the output of the last filter there. You can now say
-map '[out]' to connect that output to an output file.

Also, I don't see why you're using complex filters when you only have one input
and one output. Replacing -filter_complex with -af should make it work.

I welcome suggestions about how to improve docs so they are more clear.

Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list