'In FFmpeg, can -filter_complex do everything that -filter can? (i.e., is it a direct replacement)

This may seem like a strange question but... is it possible to do everything -filter can do using only -filter_complex filters? That is, is there anything that -filter can do, that is not possible with -filter_complex?



Solution 1:[1]

No, -filter_complex is not a substitute for -filter. Specifically:

The point of -filter_complex is that there is no 1:1 map between input and output. Therefore there is no map to decide which metadata to copy.

Moreover, there is no simple workaround to this limitation. To preserve per-stream metadata, use -filter whenever possible. With -filter_complex, stream metadata would have to be mapped manually for all streams in the output file (using 1 -map_metadata:s per stream).

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Arnon Weinberg