Hello, > Is there any reason, then, not to always put -filter_complex as the first > parameters of the command line? The Synopsis line in the docs shows global > options first but most of the doc examples don't. > > Example- > ffmpeg -i video.mkv -i image.png -filter_complex '[0:v][1:v]overlay[out]' > -map '[out]' out.mkv" > > Or is there another reason for listing inputs, then -filter_complex, then > outputs?
Unless they were precomposed filter “script” files (and even then) I think having input before the filter followed by the output is the intuitive way to structure the command, if that counts as a reason. Iirc, “complex” filtergraphs as opposed to the older/simpler -vf, -af filters have implicit input and output pads for each chain that can be remapped pretty freely, and not according to its position. Regards, Ted Park _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
