[FFmpeg-devel] [PATCH] [2/??] [3/3] Filter graphs - Parser for a graph description
Wed Mar 19 00:06:35 CET 2008
On 18 Mar 2008, at 22:13, Aurelien Jacobs wrote:
> Michael Niedermayer wrote:
>> How does the following work in your system?
> If I understood correctly, this would look like this:
> !(swap*nop*nop, nop*swap*nop,
> * (swap, !(swap*nop,nop*swap,filter2))
> Well, not very beautiful, but at least, it is possible to describe
> a filter chain.
> I suppose this would not exactly be a common filter chain, and I also
> suppose that filter1 and filter2 would naturally be designed so that
> their "natural" self-feedback in and out pad would be the first pad.
> This would highly simplify this filter graph. Here is an example of
> the exact same graph, with ideally ordered filters pad:
> !(swap*nop, !( !filter1 * !filter2, nop*swap*nop, swap,nop,nop))
While this 'final' solution has reasonable notation in the vmrsss
syntax, it would seem that, for complex filter graphs, linking inputs
and outputs of filters that have multiple i/o pads may benefit from
labeling. This is one case where I was able to visualise the graph far
more easily with Vitor's notation. I'm still working on distilling the
vmrsss notation from the graph... :)
More information about the ffmpeg-devel