On Fri, 14 Feb 2003, Torsten Mohr wrote: > Hi, > > > interesting. > > glad to get some feedback. > > > > # This one works like the example above, except that a "-p picture.png" > > > # is used to decide from where a value comes (black:left - white:right). > > > # In between values are interpolated. > > > # No sound at the moment. > > > > > > # ./pngblend -l ../lav_examples/file1.avi -r ../lav_examples/file2.avi \ > > > # -o qq.avi -p ../lav_examples/bfile.png > > > > [snip] > > > > how hard would it be to extend the -p option to allow a black&white .avi > > as the pixel selection reference? Lump that ability in with your > > pngtrans, and you have a phenomenally powerfull transistion/wipe tool. > > > > wow. that would be cool. Maybe I should start poking around transist.flt > > i think this could be done. I haven't done it yet, as i still need a video > camera to make the AVIs i wrote the tools for. I expect to find some > bugs then and maybe get some more ideas about what to improve.
good news. I liked the idea so much, I started poking around the fade transition filter that comes with the mjpegtools (transist.flt). The changes necessary were fairly trivial. too trivial. It has already been implemented by the abysmally documented matteblend.flt . (which works great) $ cd mjpegtools-1.6.1/docs $ grep -i matteblend.flt * $ grep -i transist.flt * lavpipe.1:.B transist.flt -o 0 -O 255 -s $o -n $n -d 50 lavpipe.1:.BR "transist.flt -o 0 -O 255 -s $o -n $n -d 50" " # transistion" mjpegtools.1:transist.flt. mjpegtools.1:transist.flt needs to be informed about the duration of the transition mjpegtools.1:> transist.flt \-o 0 \-O 255 \-d 25 mjpegtools.1:transist.flt \-o 0 \-O 255 \-d 25 | yuv2lav \-f a \-q 80 \-o transition.avi $ matteblend.flt -h usage: matteblend.flt no params at the moment - color saturation falloff or such has to be implemented $ at least transist.flt is usefully documented using man mjpegtools or man lavpipe. matteblend.flt is used w/ lavpipe similarly to transist.flt, but with 3 input streams. I think I have a new idea for a patch... :-) -- ... oh yeah. Blue. The other white. - Nick ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users