[FFmpeg-user] different filters to different outputs possible?

Roger Pack rogerdpack2 at gmail.com
Wed Nov 21 17:35:33 CET 2012


On 11/21/12, Nicolas George <nicolas.george at normalesup.org> wrote:
> Le primidi 1er frimaire, an CCXXI, Roger Pack a écrit :
>> $ ffmpeg -i sintel.mpg -an -filter_complex "[0] scale=1000:1000" -y
>> yo.avi yo2.avi
>
> Your filter graph has only one output, it is not named and the output files
> do not specify the outputs to map: you are leaving much too many things to
> the implicit.

Ok maybe you can help me out here? How do I specify the outputs to map
to the output files, given that the outputs are sinks in the filter
graph?  I did look at the documentation but it didn't seem to give me
any clues here, besides perhaps hinting that it isn't possible (?)

> Also, I hope you realize that you did exactly the opposite of what François
> suggested: he suggested you put your filter descriptions in front of each
> output, and you put it only once in front of the first.

Yes, that works.  My assumption is that it requires 2 different
traversals of (in this case) the same graph.  Basically I'm trying to
figure out the limits/abilities of today's ffmpeg filter graph ("can
it split one filter to multiple outputs?") type of thing.  Any
feedback welcome!

Thanks.
-roger-


More information about the ffmpeg-user mailing list