Log in

View Full Version : Quick steps to convert 3D SSIF file to Dubois Anaglyph


dmz01
13th July 2011, 00:15
There are times when you want to project 3d content on regular TVs (on the go for example) using cheap ($0.99) red-cyan or green-magenta glasses off of ebay etc. To do this you will need to use a good anaglyph algorithm and by far the best publically available one is the Dubois algorithm. See the anaglyph comparison (http://www.swell3d.com/color-anaglyph-methods-compare.html) for more info.

I use a simple 3 step process for that:
1) Use SSIFSucka! Beta3 (http://gl.tter.org/SSIFsucka/SSIFsucka_Beta3.exe) to demux right and left video from the SSIF file(s) and encode the right stream into a full video stream.
2) Adjust the 3d.avs (http://www.megaupload.com/?d=XDBSXURD) script to the appropriate paths to the Dubois plugin (http://www.megaupload.com/?d=XDBSXURD) (written by yours truly) and to the left and right mkv video files
3) Use MeGUI (http://sourceforge.net/projects/megui/files/megui-stable/2028/MeGUI_2028_x86.zip/download) to open the script and encode the Dubois anaglyph into a new H.264 video stream.

Prerequisites:
installed Haali splitter (http://haali.su/mkv/MatroskaSplitter.exe), FFDShow Tryouts (http://sourceforge.net/projects/ffdshow-tryout/files/Official%20releases/generic%20build%20%28stable%29/ffdshow_beta7_rev3154_20091209.exe/download), and AVISynth (http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.8/Avisynth_258.exe/download)
Enjoy
dmz

setarip_old
13th July 2011, 00:29
@dmz01

Hi!

You'll find that the capability you've described has been available for several months now, with just two or three clicks from within multiAVCHD...

dmz01
13th July 2011, 01:42
multiAVCHD does not use the Dubois method and is the reason why I came up with those steps in the first place.

setarip_old
13th July 2011, 05:03
The more the merrier!

dmz01
13th July 2011, 18:06
Eric Dubois' least-square projection is a very good optimization of the anaglyph image for a given set of glasses (red-cyan in this case). You can find more info at: Eric's Anaglyph page (http://www.site.uottawa.ca/~edubois/anaglyph/) It is by far the best method that's publically available and documented so that it's easy to implement. The other good methods (such as the one build into the stereoscopic player) are proprietary and no public information is available about them. There are also tons of very poor methods that give you lot's of ghosting or worse retinal rivarly which produces headaches in a lot of people after just a few minutes of watching the content. MultiAVCHD uses one of such poor methods that give me a headache.

dmz01
14th July 2011, 01:28
Added lcd profiles. The supported glasses, display combos are:
plasma & red-cyan
crt & red-cyan
lcd & red-cyan
lcd & green-magenta

link updated in the first post.
dmz

dmz01
14th July 2011, 16:02
Yet another improvement. The plugin was speed up significantly by switching from formulas to lookup tables for converting to/from linear RGB. Link above updated.

jmac698
14th July 2011, 17:57
Can you upload somewhere else? It refuses to let me d/l :(

dmz01
14th July 2011, 18:31
Here you go: http://hotfile.com/dl/124516687/c3579ab/3dubois3.zip.html

k-c-ksum
15th July 2011, 11:34
people actually still watch anaglyph 3d WTF

dmz01
15th July 2011, 13:14
Yes. Two major reasons:

1) car/portable entertainment systems/iPads
2) kids (I trust them with $0.99 glasses, not with $100 glasses)

jmac698
19th July 2011, 18:15
thanks got it!
And why? Cause I don't have an ultra expensive 3d tv and don't plan to buy one!
Actually I have 3d shutter glasses from 10 years ago; and nVidia card. Back then it was only 60hz. I always got ghosting on my analog monitor. If I can find an agp mainboard, i'd like to try it again with modern blurays and modern lcd monitor. This has been around for ages, I don't know why it wasn't popular last time.

dmz01
19th July 2011, 23:09
Final version. I've tweaked the RGB conversion inside the plugin and preprocessing in the AVS file. I've also added a second AVS file as an example on how to convert side-by-side to anaglyph. Links above updated. Attached are some examples of the final tweak for red-cyan glasses:

http://img15.imageshack.us/img15/7669/imaxj.jpg
http://img20.imageshack.us/img20/9042/52779967.jpg
http://img836.imageshack.us/img836/6563/55228878.jpg

fervict
1st April 2012, 20:05
Hi dmz01:

I noticed this too late and both Megaupload and Hotfile links are unavailable at present. Would you be so kind to upload or update again elsewhere?. I´m very interested.

Thank you very much. Kindest regards.

Cedvano
12th June 2022, 13:28
Hi, someone have archives of files please ?
Thanks in advance.