Tony Asch
July 29th, 2010, 10:56 AM
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 (http://www.vrtifacts.com/how-to-teardowns-tutorials/dump-those-silly-colored-3d-glasses/)
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 the code and a video tutorial is at: VRtifacts Anaglyph Conversion (http://www.vrtifacts.com/how-to-teardowns-tutorials/dump-those-silly-colored-3d-glasses/)
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