Converting Anaglyph to Separate Left and Right at
DV Info Net

Go Back   DV Info Net > Special Interest Areas > 3D Stereoscopic Production & Delivery

3D Stereoscopic Production & Delivery
Discuss 3D (stereoscopic video) acquisition, post and delivery.

Thread Tools Search this Thread
Old July 29th, 2010, 10:56 AM   #1
Regular Crew
Join Date: Jul 2010
Location: Central NJ
Posts: 42
Converting Anaglyph to Separate Left and Right

FWIW, I've combined a lot of different approaches to converting either red/cyan or green/magenta anaglyph video into separate left and right videos. Based on AviSynth and VirtualDubMod, it works for pretty much any resolution from DVD up to Bluray (and probably beyond...)

All the code and a video tutorial is at: VRtifacts Anaglyph Conversion

There's quite a few features and settings which are set in a parameter section. VirtualDubMod allows easy preview of individual frames as needed.

You need to be familiar with installing and running AVISynth and VirtualDubMod, but don't need to be a script programmer to use the conversion process.

Features include:
  • Red/Cyan or Green/Magenta source
  • Use 2D version for one eye's view (optional)
  • Pull audio from different file (optional)
  • Color restoration from 2D version or anaglyph source
  • Correct for leakage between anaglyph channels
  • Reduce fringing (excess peaking in encode)
  • Side by Side or Top/Bottom output
  • Swap left/right
  • Resize output
  • Independent horizontal and vertical adjustments for color restoration
  • Independent left and right color correction of converted video
  • AVI output - any codec supported by your system, including multipass XVID, DIVX, etc.
  • Fairly quick - near real-time for DVD resolution on I5-750 processors
  • Open source

There's a bunch of improvements in the queue depending on interest; or feel free to implement more features to add to the next revision.
  • Convert red/blue anaglyph (trivial)
  • Convert ColorCode anaglyph (brutal!)
  • Better defringing
  • Output dual stream WMV
  • Output 2 separate files
  • Better leakage correction
  • Interlaced output
  • Optimize for speed
  • Port to After Effects, Premiere, Vegas, etc…
  • Linux version
Tony Asch is offline   Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

B&H Photo Video
(866) 521-7381
New York, NY USA

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Special Interest Areas > 3D Stereoscopic Production & Delivery

Thread Tools Search this Thread
Search this Thread:

Advanced Search


All times are GMT -6. The time now is 10:44 AM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2019 The Digital Video Information Network