Log in

View Full Version : Combining Two Live Sources


jmac698
30th July 2012, 14:46
This question has a broad range of issues, but some of them are Avisynth Usage related.

I realize you can use ffdshow_source to run a script on a live source, by using a capture program which lets you set the codec.

The basic idea is to set to use an ffdshow codec, then you can use any ffdshow feature applied to the stream. You can do this with kmplayer.

My question is, how could you combine two live sources? The purpose then is to compare them with an Avisynth script, or create an analglph stereo version.

Since I have two webcams I could use, let me ask a specific question now;
to combine two live sources and create an analglyph version with Avisynth.
This would be *very* useful for setting up the spacing between my cameras - for example if they are too far apart, you will quickly get a headache! It's very awkward to experiment by trying different distances, taking a test capture, playing it back, and so on.

So what is the avisynth analglph plugin? I didn't see it listed on the external filters wiki.

StainlessS
30th July 2012, 14:58
Try Google "avisynth anaglyph", theres plenty there.

jmac698
30th July 2012, 15:25
That's good, but also, any idea how to read *two* live capture sources?

http://www.pantarheon.org/AviSynth3DToolbox/
Is not a good option; it doesn't produce color analglyph's, nor does it use the advanced method of reducing stereo cross-talk. The algorithm has to support the typical colors of an LCD panel.
The Dubois method:
http://www.site.uottawa.ca/~edubois/anaglyph/

Update:
Looks like this is a great plugin
http://arenafilm.hu/alsog/anaglyph/

Update2:
Updated the wiki
http://avisynth.org/mediawiki/External_filters#3D_Filters