DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   3D Stereoscopic Production & Delivery (https://www.dvinfo.net/forum/3d-stereoscopic-production-delivery/)
-   -   Converting Anaglyph to Separate Left and Right (https://www.dvinfo.net/forum/3d-stereoscopic-production-delivery/482606-converting-anaglyph-separate-left-right.html)

Tony Asch July 29th, 2010 10:56 AM

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


All times are GMT -6. The time now is 11:18 PM.

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