[FFmpeg-devel] [PATCH] [2/??] [3/3] Filter graphs - Parser for a graph description

Michael Niedermayer michaelni
Tue Mar 18 21:53:00 CET 2008


On Tue, Mar 18, 2008 at 09:29:51AM +0000, vmrsss wrote:
[...]
> (F) If I understood your examples correctly (which I might have not)`,  
> there is still one missing ingredient: a feedback combinator, say !,  
> which takes a filter with at least one input and at least one output  
> stream and feeds back the first output to the first input. For  
> instance, let's look at the examples you have been discussing in this  
> thread:
> 
> (1)
> > in --> scale --> crop --> picInPic --> rotate --> split --> out
> >                             ^                      |
> >                             |                      |
> >                           delay<-------------------/
> 
> 
> becomes: scale,crop, !( picInPic, rotate, split, delay * nop ) -- in  
> fact the duplicated stream from split is fed to delay and delay's  
> output is then fed back to picInPic (if that was the sense of the  
> example, of course...)

How does the following work in your system?

(in0,tmp0,tmp2)filter1(tmp1,out0,tmp2);(in1,tmp1,tmp3)filter2(tmp3,tmp0,out1)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080318/9cf8bbba/attachment.pgp>



More information about the ffmpeg-devel mailing list