HowTo: Easily De-Anaglyph Movies

Tutorials on how to create your own rigs, pics, movies, and everything that has to do with S-3D at home!
Post Reply
User avatar
BlackholeOfSouls
One Eyed Hopeful
Posts: 47
Joined: Sat Jan 02, 2010 5:44 pm
Location: The Event Horizon of a Blackhole
Contact:

HowTo: Easily De-Anaglyph Movies

Post by BlackholeOfSouls »

I know there is already a method to De-Anaglyph Movies posted here (That requires DVD VOB files), however this method is easier and supports High Definition Movies!
The scripts used in this were originally written by Olivier Amato, however I had to modify the scripts slightly to get them working correctly as well as creating the Red/Blue script. I've also increased the output quality by increasing the colour map sizes. Thanks also go to Gae43 for helping me improve this tutorial.

The Final Destination 3D Clip Converted from Red/Blue Anaglyph
ImageWatch on YouTube 3D
ImageThe Final Destination 3D Clip (15.7MB ZIP)

Rexy 720p Clip Converted from Red/Blue Anaglyph
ImageRexy 720p Clip (119MB ZIP)

Software Requirements
ImageAviSynth
ImageStereoMovie Maker
ImageXvid Decode/Encode Codec

De-Anaglyph AviSynth Scripts
3D - De-Anaglyph Script
3D - De-Anaglyph Script

How to De-Anaglyph Your Anaglyph Movie File
To start, you need your Anaglyph Movie in Xvid/DivX AVI. Rename it to Movie.avi (Or Modify the Script)
Fire up StereoMovie Maker and open the appropriate script. (File, Open Stereo Movie)
Make sure Side-by-Side (100%) is selected in the Input Stereo Movie Type in the Open Stereo Movie File Window.
Then select View, Auto Color Adjustment. Now go to File, Save Stereo Movie and save your video in Side-by-Side Format. A video compression box will pop-up, chose the Xvid MPEG-4 Codec.

I've noticed that most Anaglyph DVD releases have very low separation, so I recommend increasing the Separation in your 3D Video Player. I find 64px Separation to be good on my 22" 3D Monitor.
Last edited by BlackholeOfSouls on Thu Jan 07, 2010 3:09 pm, edited 6 times in total.
User avatar
Freke1
Certif-Eyable!
Posts: 1060
Joined: Wed Feb 28, 2007 6:40 pm
Location: Wake Island

Re: HowTo: Easily De-Anaglyph Movies

Post by Freke1 »

Great :D thanks for posting.
I've never tried converting but know of this Full HD red/blue 3D movie:
http://www.youtube.com/watch?v=uKujOudUk0w&NR=1" onclick="window.open(this.href);return false;
which is available for download here: http://www.aenima.hu/pangea/dl.html" onclick="window.open(this.href);return false;
Don't know why they don't release a side-by-side version...
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by cybereality »

Very cool. I know some people will find this useful.
Gae43
Binocular Vision CONFIRMED!
Posts: 293
Joined: Tue Jan 27, 2009 9:08 am
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by Gae43 »

This works really well, thanks so much.

I'm currently converting Final Destination 3D and so far have been unhappy with the results. The old trick of transferring the colour to the greyscale side in Stereo Movie Maker isn't too successful with this conversion.

This is a great method that cuts out hours of time and effort....excellent. Hopefully, with 3D Blu Ray on the horizon, having to do this at all will be a thing of the past and the 3D will look a lot better for sure.

Gae43
Last edited by Gae43 on Mon Jan 04, 2010 8:23 am, edited 1 time in total.
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

I'm treating to obtain the Scripts (don't work now the links)

A collection of Anaglyph movies is in http://sharethefiles.com/forum/viewtopi ... 31#p914331" onclick="window.open(this.href);return false;

Thanks, Seem a very good work.
User avatar
BlackholeOfSouls
One Eyed Hopeful
Posts: 47
Joined: Sat Jan 02, 2010 5:44 pm
Location: The Event Horizon of a Blackhole
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by BlackholeOfSouls »

I've converted a minutes worth of Rexy 720p and uploaded it to YouTube. However it isn't perfect. I think the script needs to be tweaked more for High Definition videos. (Larger Colour Maps as they are currently at 64x64px?)

ImageWatch on YouTube 720p 3D

The right frame always has worse colour than the left frame which doesn't seem to matter when watching in Interlaced, but still I would like to come up with a solution. I've read through the AVISynth manual and can find no function that would solve this. Does any body know of a way to solve this?

So far I've converted The Final Destination 3D and Coraline. Both have decent results, although I see some Red/Blue on Pop-out effects in The Final Destination 3D. Again, I believe the colour map sizes need to be increased to solve this.
Last edited by BlackholeOfSouls on Thu Jan 07, 2010 10:47 am, edited 1 time in total.
Gae43
Binocular Vision CONFIRMED!
Posts: 293
Joined: Tue Jan 27, 2009 9:08 am
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by Gae43 »

So far I've converted The Final Destination 3D and Coraline. Both have decent results, although I see some Red/Blue on Pop-out effects in The Final Destination 3D. Again, I believe the colour map sizes need to be increased to solve this.
I'm yet to do one conversion that is perfect. Every anaglyph I have seen, when seperated, shows evidence of some artifacts or ghosting. Perhaps it is impossible to creat a perfect 3D side from this type of source?

Roll on Blu Ray 3D.

Gae43

P.S. You can open the scripts in Stereo Movie Maker too and then use "autocolour". It matches both sides much better. At the moment the left side is lighter than the right.
User avatar
BlackholeOfSouls
One Eyed Hopeful
Posts: 47
Joined: Sat Jan 02, 2010 5:44 pm
Location: The Event Horizon of a Blackhole
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by BlackholeOfSouls »

Gae43 wrote:You can open the scripts in Stereo Movie Maker too and then use "autocolour". It matches both sides much better. At the moment the left side is lighter than the right.
Thanks Gae43, I've updated the whole tutorial to use StereoMovie Maker now. I've also improved the scripts more now and changed them to Parallel instead of Cross-Eyed.
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

Thanks.

I have used with virtualdub and seem very good (the best conversion I have made, better that 3dcombine, ...)

I need yet to see the new format for stereomoviemaker
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

enrolao84 wrote:Thanks.

I have used with virtualdub and seem very good (the best conversion I have made, better that 3dcombine, ...)

I need yet to see the new format for stereomoviemaker

Maybe we need to use what we know so far and somehow combine with the things detailed here : http://www.stereo3d.com/discus/messages ... 1099113264" onclick="window.open(this.href);return false; for better color match.
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

helifax wrote:
enrolao84 wrote:Thanks.

I have used with virtualdub and seem very good (the best conversion I have made, better that 3dcombine, ...)

I need yet to see the new format for stereomoviemaker

Maybe we need to use what we know so far and somehow combine with the things detailed here : http://www.stereo3d.com/discus/messages ... 1099113264" onclick="window.open(this.href);return false; for better color match.
I don't thinks so, I have treat that but for me is not good, better is with stereomovie maker open how anaglyph - then see in b/w or colored.

True is that method give a more real relation with colored glasses and can see near how it's with glasses.

For me this mode described here is the best I know today. Colour is not really real but near (sometimes better, sometimes worse)

pd: any films are bad conversion, but for example : Night Of The Living Dead the colour is pretty good after conversion in many pieces.
Last edited by enrolao84 on Wed Jan 13, 2010 6:01 pm, edited 1 time in total.
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

i agree the result from 3d point of view is amazing...but color quality is well ...WAAY to redish and not natural...not even close to the original 2d color. Still I belive somehow the anaglyph should be colorised from the 2d with colors matching the original.
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

Converting Final Destination 3d 1080p from a blu ray..How ever I see in both pictures some green and red/blue borders. Is this normal? Or should the map be increased some more...now i belive is 128x128 right?

I wrote this in case no one tried converting 1080p before.

From what I see h264 of 7.2Gb stream in an avi container cannot be read. So if you have huge h264 file put them in a mkv container. Also in the script change Avisource("") with DirectShowSource(""). Also virtualdub seems to make the conversion faster then Stereo Movie maker with big mkv files, as in Stereo movie maker it takes for ever to render one frame.

Btw, anyone found a nice virtualDub filter to correct the red channel from the script to a more decent and real color? :shutter
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

BlackholeOfSouls wrote:I know there is already a method to De-Anaglyph Movies posted here (That requires DVD VOB files), however this method is easier and supports High Definition Movies!
The scripts used in this were originally written by Olivier Amato, however I had to modify the scripts slightly to get them working correctly as well as creating the Red/Blue script. I've also increased the output quality by increasing the colour map sizes. Thanks also go to Gae43 for helping me improve this tutorial.
On Oliver Amato page (above link) there is also a script to use if you have the original 2d color movie. The color balance this way is almost the same in both right and left images. The right image suffers a little contrast and brightness modification thou. So far this is the best method I ever tried.
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

I think:

This is not professional convertion but from anaglyph is better that another (3dcombine, virtualdub from http://www.stereo3d.com/discus/messages" onclick="window.open(this.href);return false; ... 1099113264 and so.

This convertion give red and blue corners and more.

Is better the convertion from 2d+anaglyph (3dcombine for example or note in first post has also for avisynt how helifax say) but in this the 2d has pieces from any eye, so I have converted any film and near half obtain 2d (the solution maybe take pieces with one side and the other side), and also need before syncronize the 2 films. This is difficult and I asked a program in : http://www.mtbs3d.com/phpbb/viewtopic.p ... 827#p35827" onclick="window.open(this.href);return false;

Convertions in internet how "Journey To The Center of the Earth" probably are made with a better program (but I don't know it).

The new bluray films (I supposse side by side format) will be many more realist and HQ.
Last edited by enrolao84 on Thu Jan 14, 2010 2:04 pm, edited 1 time in total.
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

enrolao84 wrote:I think:

This is not professional convertion but from anaglyph is better that another (3dcombine, virtualdub from http://www.stereo3d.com/discus/messages" onclick="window.open(this.href);return false; ... 1099113264 and so.

This convertion give red and blue corners and more.

Is better the convertion from 2d+anaglyph (3dcombine for example or note in first post has also for avisynt how helifax say) but in this the 2d has pieces from any eye, so I have converted any film and near half obtain 2d (the solution maybe take pieces with one side and the other side), and also need before syncronize the 2 films. This is difficult and I asked a program in : http://www.mtbs3d.com/phpbb/viewtopic.p ... 827#p35827" onclick="window.open(this.href);return false;

Convertions in internet how "Journey To The Center of the Earth" probably are made with a better program (but I don't know it).

The new bluray films (2 images) will be many more realist and HQ.

Thanks for the replay, as for your problem the answer is the following: To sync 2 movies 1st you must check and be sure that both movies have the same FPS.

It is impossible to sync movia A with 25FPS with movie B with 23.98 fps right from here. 1st convert movia A (or B) to 23.98FPS (or movie B to 25 fps) then sync the frame and start enconding. The result will be synced from A to Z.
This is the reply to post http://www.mtbs3d.com/phpbb/viewtopic.p ... 827#p35827" onclick="window.open(this.href);return false;.
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

I have added some Avisynth code to the RED-BLUE glasses script, which improves the color of the output (reduces the redish tint and balances some more the left eye color). It is a little hard to match the actual 2d color since some color information is lost when Anaglyphing a movie. From what I tweaked this is the best result I got. Of course you can change the code and try to balance some more to you liking.

The script:

# Originally Written by Olivier Amato
# Modifications by The Lone Wandering Soul
# Load up our anaglyph file
vidr = avisource("Movie.avi")
vidlOrig = avisource("Movie.avi")
#vidsound = avisource("Movie.avi")

# We need these for later
vidr = ConvertToRGB(vidr)
vidr = MergeRGB(vidr.ShowGreen("YV12"), vidr.ShowGreen("YV12"), vidr.ShowGreen("YV12"))
vidr = Greyscale(vidr)
vidr = ConvertToRGB(vidr)
vidlOrig = ConvertToRGB(vidlOrig)
vidl = vidlOrig
vidl = MergeRGB(vidl.ShowRed("YV12"), vidl.ShowRed("YV12"), vidl.ShowBlue("YV12"))
vidl = Greyscale(vidl)

# Create a 'colour map' by resizing the image down to 128x128
vidColor = avisource("Movie.avi")
vidColor = BilinearResize(vidColor, 128, 128)
vidColor = BilinearResize(vidColor, width(vidr), height(vidr))

# Make our grayscale images
vidl = MergeRGB(vidl.ShowRed("YV12"), vidl.ShowGreen("YV12"), vidl.ShowBlue("YV12"))
vidl = ConvertToYV12(vidl)
vidColor = ConvertToYV12(vidColor)

# Use our colour map
vidl = mergechroma(vidl, vidColor)

# Resplice the correct channels
#
#---------Added by Helifax--------------------
vidl=ColorYUV(vidl, off_y=-16)
vidl=ColorYuv(vidl,gain_y=85, gamma_y=-65)
vidl=Tweak(vidl,sat=1.4,cont=0.90)
#---------------------------------------------
vidl = ConvertToRGB(vidl)
vidl = MergeRGB(vidl.showRed("YV12"), vidl.ShowGreen("YV12"), vidl.ShowBlue("YV12"))
#---------Added by Helifax--------------------
vidl = RgbAdjust(vidl, r=0.73, b=0.85, g=0.95)
#---------------------------------------------
# Create a 'colour map' by resizing the image down to 128x128
vidColor2 = avisource("Movie.avi")
vidColor2 = BilinearResize(vidColor2, 128, 128)
vidColor2 = BilinearResize(vidColor2, width(vidr), height(vidr))

# Make our grayscale images
# vidr = MergeRGB(vidr.ShowRed("YV12"), vidr.ShowBlue("YV12"), vidr.ShowGreen("YV12"))
vidr = ConvertToYV12(vidr)
vidColor2 = ConvertToYV12(vidColor2)

# Use our colour map
vidr = MergeChroma(vidr, vidColor2)

# Resplice the correct channels
#---------------------------------------------
#---------Added by Helifax--------------------
vidr=ColorYUV(vidr, off_y=-16)
vidr=ColorYuv(vidr,gain_y=70, gamma_y=60)
vidr=Tweak(vidr,sat=1.3,cont=0.95)
#---------------------------------------------
vidr = ConvertToRGB(vidr)
vidr = MergeRGB(vidr.showRed("YV12"), vidr.ShowGreen("YV12"), vidr.ShowBlue("YV12"))
#vidr = RgbAdjust(vidr,r=0.59, g=0.75, rg=1.19, gg=1.21)
#---------Added by Helifax--------------------
vidr=RgbAdjust(vidr,r=0.76, b=0.90, g=0.98)
#---------------------------------------------

# Show the Crosseye image
StackHorizontal(vidr, vidl)
#AudioDub(vidsound)


Script ended.
Enjoy!

PS: I would like to post your feedback after testing this script in any way.


A side note...this was tested with Final Destination 3D and the results were way better this way.
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

I think may be a mistake: (to the first , I have not see then helifax new)

Seeing differences they are:


De-Anaglyph - Magenta-Green.avs
line 10:
vidr = MergeRGB(vidr.ShowGreen("YV12"), vidr.ShowGreen("YV12"), vidr.ShowGreen("YV12"))
line 15:
vidl = MergeRGB(vidl.ShowRed("YV12"), vidl.ShowRed("YV12"), vidl.ShowBlue("YV12"))


De-Anaglyph - Red-Blue.avs
line 10:
vidr = MergeRGB(vidr.ShowRed("YV12"), vidr.ShowRed("YV12"), vidr.ShowRed("YV12"))
line 15:
vidl = MergeRGB(vidl.ShowBlue("YV12"), vidl.ShowBlue("YV12"), vidl.ShowBlue("YV12"))

the info is aganist (the 1 colour is green (r) in first and red (l) in second:

so first is really Magenta-Green but second would be Red-Cyan

By that I think line 15 in second would be:
vidl = MergeRGB(vidl.ShowBlue("YV12"), vidl.ShowBlue("YV12"), vidl.ShowGreen("YV12"))

This is, the last ShowBlue would be ShowGreen

I have take note but yet I have don't see the result.

xxxxxxxxxxxxxxxxxxxxx

a note more: amityville is great with this (the original reg-blue - not proved with the change of red-cyan.
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

helifax wrote:I have added some Avisynth code to the RED-BLUE glasses script


A side note...this was tested with Final Destination 3D and the results were way better this way.
It seem more near the Magenta-Green script (line by line).

Probably is true is RED-BLUE, Final Destination 3D is red-blue, but the list is near magenta-green.

I need to prove it.

Thanks.
enrolao84
One Eyed Hopeful
Posts: 23
Joined: Fri Sep 19, 2008 9:43 am

Re: HowTo: Easily De-Anaglyph Movies

Post by enrolao84 »

helifax wrote:
enrolao84 wrote:I think:

This is not professional convertion but from anaglyph is better that another (3dcombine, virtualdub from http://www.stereo3d.com/discus/messages" onclick="window.open(this.href);return false; ... 1099113264 and so.

This convertion give red and blue corners and more.

Is better the convertion from 2d+anaglyph (3dcombine for example or note in first post has also for avisynt how helifax say) but in this the 2d has pieces from any eye, so I have converted any film and near half obtain 2d (the solution maybe take pieces with one side and the other side), and also need before syncronize the 2 films. This is difficult and I asked a program in : http://www.mtbs3d.com/phpbb/viewtopic.p ... 827#p35827" onclick="window.open(this.href);return false;

Convertions in internet how "Journey To The Center of the Earth" probably are made with a better program (but I don't know it).

The new bluray films (2 images) will be many more realist and HQ.

Thanks for the replay, as for your problem the answer is the following: To sync 2 movies 1st you must check and be sure that both movies have the same FPS.

It is impossible to sync movia A with 25FPS with movie B with 23.98 fps right from here. 1st convert movia A (or B) to 23.98FPS (or movie B to 25 fps) then sync the frame and start enconding. The result will be synced from A to Z.
This is the reply to post http://www.mtbs3d.com/phpbb/viewtopic.p ... 827#p35827" onclick="window.open(this.href);return false;.
I now it and that is not my problem (StereoMovie Maker has not problem with it).

My interest are 2:

1 - I'm spanish and I treat to obtain english 3d and spanish sound, in this the fps is not the problem, the problem is that the version are different total frames.

2 - for join 2d and 3d version, many time are of different frames the copies I obtain.

3 - Many time the 3d version have frame error, then I need take note and made change later or use StereoMovie Maker that admit the change to show in the moment. (many anaglyph copies are 1-2-3 frames error between the 2 sides).

By now I use StereoMovie Maker to syncro, but how it can't delete of add frames I need make this last in virtualdub and prove every few changes. Take some hours and disturb a few, the solution I use is usefull but would appreciate a better solution.

Thanks.
User avatar
helifax
Diamond Eyed Freakazoid!
Posts: 813
Joined: Tue Jan 12, 2010 5:09 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by helifax »

I have made myself a conversion of the Journey to the Center of the Earth from blu ray using both 3d and 2d 1080p originals. So far is the best conversion I ever saw of this movie. the process took about 24h of converting thou since after my original conversion(lossless) the movie took about 25gb:-s So i needed to rencode with x264 and 3passes to obtain a 6gb file with best quality results.
Now if someone is interested I could upload a sample somewhere on the net for you to see.

The conversion is not perfect. I used the original script (from the link on 1st page) which is using as color map the 2d stream. The result was amazing but! on the right eye the color map (2d ) does not quite overlap the gray (3d right eye). As result there is a little conture(shadow) that is gray.
I tried to modify the avisynth script without any success. So can anyone tell me how can I move the whole 2D frame to be alligned with the 3D obtained gray image?

As a sidenote: It seems Stereo movie maker cannot handle high resolution movies, anything above 720p just freezes, so I used VirtualDub. The result should be, and was the same, even better in conversion timing .

PS: about the modifications I made in the above script: Sorry for the mix up. There were some copy paste issues. The modifications I actually made are the ones marked between -------. They were intendeed for Red-Blue. Disregard anything else from that script.
http://3dsurroundgaming.com:
- Home of Vk3DVision & OGL3DVision - Play your favourite Vulkan & OpenGL games in Stereoscopic 3D using Nvidia 3DVision or Virtual Reality ;)
- Home of some of my UHD "Surround/Eyefinity"/21:9/32:9 Fixes. (Or you can always check http://pcgamingwiki.com/)

Want to contribute to the development of Vk3DVision? You can check my Patreon Page for the project: https://www.patreon.com/Vk3DVision.
If you "still" like my project but don't want to contribute monthly you can always send me a PayPal: tavyhomeppal@hotmail.com.

You can always follow me on Twitter: @OctavianVasilov
tinman437
One Eyed Hopeful
Posts: 12
Joined: Sat Jan 23, 2010 12:35 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by tinman437 »

In red/blue anaglyph conversions, the de-anaglyphed reds always turn out pink as in the youtube clip linked above (and i guess this is why the green/purple anaglyphs often look better than red/blue conversions).
Last edited by tinman437 on Mon Sep 06, 2010 10:45 am, edited 1 time in total.
TheGame1594
One Eyed Hopeful
Posts: 2
Joined: Sat Mar 13, 2010 1:46 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by TheGame1594 »

how to use the script with original video without anaglyhps to get better color result? have not understand that part. I want to deanaglyph coraline it's a great movie
Gae43
Binocular Vision CONFIRMED!
Posts: 293
Joined: Tue Jan 27, 2009 9:08 am
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by Gae43 »

how to use the script with original video without anaglyhps to get better color result? have not understand that part. I want to deanaglyph coraline it's a great movie
Just rename your anaglyph video "movie" and put the script in the same folder. Open the script in Virtualdub and the video should appear in the side by side format. You need to have AviSynth installed too and sometimes other plugins (see the above posts).

The script works very well but with all these anaglyph conversions, they are never quite perfect are they? One side is usually lighter/darker, more blurred or has some form of ghosting or colour bleeding. I say all this after having converted every 3D film in my collection using various software (mainly Stereo Movie Maker and Virtualdub). "Journey to the Centre of the Earth" and "Shrek 3D" were a couple of the best conversions mainly because the de-anaglyphed 3D side had little ghosting in it.

Gae43
anotherFrench
Binocular Vision CONFIRMED!
Posts: 206
Joined: Fri May 23, 2008 7:00 am
Location: france
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by anotherFrench »

hi,
I don't know anything about those scripts so I may be wrong but I think I found a mistake, in the 1rst parts added by alifax, gamma for the left vid is set to "-65"
#---------Added by Helifax--------------------
vidl=ColorYUV(vidl, off_y=-16)
vidl=ColorYuv(vidl,gain_y=85, gamma_y=-65)
vidl=Tweak(vidl,sat=1.4,cont=0.90)
#---------------------------------------------
but in the segond part, gamma for the right vid is set to "60" (without the "-")
#---------Added by Helifax--------------------
vidr=ColorYUV(vidr, off_y=-16)
vidr=ColorYuv(vidr,gain_y=70, gamma_y=60)
vidr=Tweak(vidr,sat=1.3,cont=0.95)
#---------------------------------------------
I did try to set them at "-65" and "-60".
I just found it so I didn't have time to try it more than a few sec yet but it seems like both view looks much more the same, only problem being that I see lot of ghosting so I don't know if it come from the line I changed or from the movie itself, I'll try more later or tomorow
http://tls3d.fr le site de Toute La Stéréo 3D
tinman437
One Eyed Hopeful
Posts: 12
Joined: Sat Jan 23, 2010 12:35 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by tinman437 »

It all sounds so easy :)

unfortunately, a lot of DVDs that have both 2D and 3D versions often have different versions between the two...you have to make sure up front that the videos are in sync both in timing and framing. In Coraline, for example, many of the closeups of people's faces are cropped differently in the 3D version than they are in the 2D version. In final destination, there are differences in zoom level on some of the actors' faces when the gang is talking to the mechanic through the fence at his place of work just before he dies. In Fly Me To The Moon, there are differences in the crops throughout the entire movie. Night of the Living Dead and some others have polarity changes for some scenes because the 2D print was made up of the best shots from both left/right video. Some videos aren't even 3D all the way through, so de-anaglyphing them just makes those portions look worse than simply doubling up two 2D video streams and creating a simulated separation to inset them into the screen so the flatness of those segments is less noticeable.

And don't forget the importance of deinterlacing!
User avatar
Tone
One Eyed Hopeful
Posts: 42
Joined: Fri Jun 25, 2010 9:13 am
Location: USA
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by Tone »

Have a look at these scripts, tutorial, and video. Dump Those Silly Colored 3D Glasses. A lot of improvements:
  • Handles red-cyan or green-magenta
    BluRay or DVD source
    Improved functionality if you have 2D version also (many DVDs and BRs come with a 2D version)
    User adjustable color blurring (independent horizontal and vertical)
    Options for side-by-side or top-bottom, left or right first
    Output file resizing
    User adjustable correction for left-right leakage
    User adjustable correction for color fringing (excessive peaking in DVD mastering)
    Independent left and right color correction (brightness, contrast, and saturation) post processing
    Fast - Near real time for DVD resolution conversions on an I5-750
The video from the tutorial
[youtube-hd]http://www.youtube.com/watch?v=OpF_1CisJP4[/youtube-hd]

A tip of the hat to prior posters on this thread for many of the ideas.

Edit....

Thanks to the posters below for seeing that the preview frame from the video in this post shows out of sync left and right images. The preview image should look more like this:

Image
Last edited by Tone on Mon Jun 28, 2010 2:32 pm, edited 1 time in total.
anotherFrench
Binocular Vision CONFIRMED!
Posts: 206
Joined: Fri May 23, 2008 7:00 am
Location: france
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by anotherFrench »

wow, that look great, just wondering why the 2 vues seem so out of synch in monsters vs aliens
http://tls3d.fr le site de Toute La Stéréo 3D
User avatar
WheatstoneHolmes
Sharp Eyed Eagle!
Posts: 486
Joined: Thu May 07, 2009 6:51 am
Location: USA
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by WheatstoneHolmes »

I get similar results using this guide: http://www.underground3dmovies.com/freetutorial.htm

Have fun!

:polarized
I came here to chew bubblegum and to see 3D...and I'm all out of bubblegum!
-----------------------
Me on YouTube, you watch: http://www.youtube.com/user/WheatstoneHolmes
anotherFrench
Binocular Vision CONFIRMED!
Posts: 206
Joined: Fri May 23, 2008 7:00 am
Location: france
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by anotherFrench »

WheatstoneHolmes wrote:I get similar results using this guide: http://www.underground3dmovies.com/freetutorial.htm

@anotherFrench: yeah there seems to always be a bit of leftovers (color bleed) from the other image, there's just no way to perfectly extract one frame from another when they are blended together as an anaglyph.

Have fun!

:polarized
I meant both vue seem so out of sync in time, there must be at least 1 second diference between the 2

I did try the 1 from underground 3D, results are sometime really good, but sometime it could be better, I didn't try this 1 but I like what I see on the video, especially the part from 7minutes something when he correct some leakage and colors
http://tls3d.fr le site de Toute La Stéréo 3D
tinman437
One Eyed Hopeful
Posts: 12
Joined: Sat Jan 23, 2010 12:35 pm

Re: HowTo: Easily De-Anaglyph Movies

Post by tinman437 »

WheatstoneHolmes wrote:I get similar results using this guide: http://www.underground3dmovies.com/freetutorial.htm

Have fun!

:polarized
i believe that method introduces xvid compression at the start of the process which is not the best approach.

in any event, here is a decent conversion clip:

http://www.youtube.com/watch?v=Ia7n0M2VbEM" onclick="window.open(this.href);return false;
typhoon
One Eyed Hopeful
Posts: 12
Joined: Tue Sep 28, 2010 11:40 am

Re: HowTo: Easily De-Anaglyph Movies

Post by typhoon »

does anyone please can re-upload the avisynth scripts ? they're offline and i have accidentally deleted them from my computer
thanks
anotherFrench
Binocular Vision CONFIRMED!
Posts: 206
Joined: Fri May 23, 2008 7:00 am
Location: france
Contact:

Re: HowTo: Easily De-Anaglyph Movies

Post by anotherFrench »

I have only those 2 left:
red & blue for avi
http://www.megaupload.com/?d=E6Q4FCQB" onclick="window.open(this.href);return false;
red & blue for mkv
http://www.megaupload.com/?d=VDIU3JS1" onclick="window.open(this.href);return false;
http://tls3d.fr le site de Toute La Stéréo 3D
typhoon
One Eyed Hopeful
Posts: 12
Joined: Tue Sep 28, 2010 11:40 am

Re: HowTo: Easily De-Anaglyph Movies

Post by typhoon »

thank you, i've found this around the net but i don't know if is the latest or if it has been modified

http://www.megaupload.com/?d=MEM01IZL" onclick="window.open(this.href);return false;

cheers
Post Reply

Return to “Do it Yourself!”