Playing 3D SBS Videos as 3D Anaglyph with Media Player Classic

Last updated on June 7, 2013 @ 57 Comments

Have you ever watch 3D movies on Cinemas? Yeah, I remember last time me and my friend was shocked because something flew out of the screen towards our face, and we suddenly shifted our head to the left as if to avoid it. The next day my friend come to me with a 3D DVD movie (in SBS format) along with a pairs of Red-Cyan 3D Anaglyph glasses and she asked me about how to play that 3D DVD on her laptop.

The problem is that we don’t have any media player for 3D to play the stereoscopic movie or video, and Google’s Search only lead us to some commercial stereoscopic players such as “stereoscopic player” and “Cyberlink PowerDVD 10″.

how to train your dragon 3D

After a while Googling we finally found a way to play 3D SBS stereoscopic video with some free tools. The idea was simple, using Avisynth script on ffdshow to do SBS to Anaglyph conversion in realtime through Media Player Classic. This will then turn MPC into a simple 3D media player or a 3d sbs player. Curious?, here’s the detail steps for media player classic 3D trick.

The tools:

  1. Download and install Avisynth
  2. Download and install Pantarheon 3D AviSynth Toolbox Installer
  3. Download and install K-Lite Codec Pack full version.

Configuring ffdshow:

avisynth

  1. Navigate to Start menu, Program Files, K-Lite Codec Pack, Configuration and choose “ffdshow video decoder”
  2. On the Codecs menu, scroll down and find “Raw Video” and change the decoder to “all supported”
  3. Now on the left menu, scroll down to Avisynth, check the box and add the following code in to the Avisynth script form
    c = ConvertToRGB32()
    w = c.width()/2
    h = c.height()/2
    LeftRight3DToRCAnaglyph(c).Lanczos4Resize(w, h)
  4. Save and close.

Configuring Media Player Classic:

Media Player Classic

  1. Open Media Player Classic and press “O” to open Option menu
  2. On “Internal Filter” unchecked all Filters
  3. On “External Filter” unchecked all Filters and click Add Filter to add another filters
  4. Find “ffdshow Video Decoder” and change from “Set Merit” to “Prefer”
  5. Repeat the steps to add “ffdshow Audio Processor” and “ffdshow Raw Filter”
  6. Apply and restart Media Player Classic.

how-to-train-your-anaglyph

Now, play the DVD with Media Player Classic and the SBS should be played as Anaglyph now.  Anyway, we were finally able to watch the DVD using our new 3d sbs player — Media Player Classic (MPC). But then the other problem is that she only have one pairs of 3D Anaglyph glasses.

Update!

M Riza

Article by M Riza

Is a blogger since 2007, founder and editor of Oa Ultimate. Working as a network administrator, computer technician, database and web maintainer | Twitter | G+

57 Comments → “Playing 3D SBS Videos as 3D Anaglyph with Media Player Classic”

  1. Nick

    Hi,

    I just tried this and it worked perfectly. My only question now is: how do I get it back to normal? All video I play through MPC now shows two overlapping images!

    Cheers
    Nick

  2. Hasan

    Works very well. Thanks for this wonderful guide.

  3. JOHNNY500

    got (windows media player 9) working to with SBS VIDEOS IN Anaglyph AS WELL with ffdshow
    REALLY GREAT HELP HEAR THANKS AGAIN

  4. Guilherme

    Oh man didn’t work for me.. i’ve followed all steps but when i open the hsbs video file, the movie run but in half side by side mode, and the media player show me mensage “Script error: there’s no function named ‘LeftRight3DToRCAAnaglyph'(ffdshow_filter_avisynth_script, line 5)”
    I guess that one script is missing ..

    Can u give me any idea?

    • M Riza

      Please make sure you have followed step number 2 correctly (Download and install Pantarheon 3D AviSynth Toolbox Installer), and i think you have a typo in your script, it’s LeftRight3DToRCAnaglyph not LeftRight3DToRCAAnaglyph.

  5. Hassan Yawar

    Thanks for this post. It really helped me. At first i myself was confused whether i would be able to watch 3d movies on my pc or not but now i certainly can. Just one small question, is there any way to improve color settings for 3d anaglyph because there are shades of red and cyan during the movie, or maybe i have to bear with it?

    • M Riza

      The shades was called ghosting effect, If you look for avisynth scripts color manipulation on google you’ll get many of them, but adding more scripts will cause your video load slower otherwise try find better glasses which has better red and cyan color filtering to reduce ghosting effect.

  6. souvik

    When I’m playing any mp4 3d video…. its lagging. Can you tell me how am i fix this problem??

  7. bashir dave

    thank its Working 100%

  8. John

    Instead of using workarounds to play these 3D movies in anaglyph just download KMPlayer it’s totaly free, there’s no special setup to go through just click on the 3D button and your ready to view, don’t like the black bars for widescreen movies right click, go to screen controls, scroll down to 6-Fullscreen (stretch), works amazing no freezeups on MKV Files the best software player I have ever used, get it and you will never switch to another.

    • M Riza

      Ah great, I’ll give it a try, thx.

    • Hoaxi

      hmmmmm

      on my side, when i play Avengers 3D, it stops responding, nothing at all, and when i play the same in vlc, it works

      i m really eager to see but :-<

  9. evian

    hey friend i did what you said step by step, but its the same problem that guiherme comment before …..what can i do? the Pantarheon 3D AviSynth Toolbox Installer its already and installed.. pleaseee heeeellpp

    • M Riza

      Are you sure that you have installed Pantarheon 3D AviSynth Toolbox correctly, and please double check the script because Guilherme said error in line 5 while the script only has 4 lines.
      If the problem persists, try using media player suggested by john (KMPlayer) or you can try other simple 3D player called Bino.

  10. Hoaxi

    Same error: Script error: there’s no function named ‘LeftRight3DToRCAnaglyph’(ffdshow_filter_avisynth_script, line 5)

    all the tools are installed & i did every step ‘twice’

    what can be the error!, movie is still side by side

    • M Riza

      It’s look like that avisynth can’t find the LeftRight3DToRCAnaglyph function which is part of Pantarheon 3D plugin.
      Other way to install Pantarheon is by downloading zip version, unzip and then copy Pantarheon3D.avsi file into Avisynth plugins folder (i.e. C:\Program Files\AviSynth 2.5\plugins).

      • Hoaxi

        Well buddy, you need to understand that there’s no need to download a zipped version if you have a msi package, i checked the Plugins folder, the said file is already in there

        so what you offer now?

      • M Riza

        I’m not sure about error in the script, i tried on my new laptop and all seem fine. The only problem I’ve found is that K-Lite codec on this post is older than current K-Lite codec, some new setting is needed. So i made a new post about Step-by-step Install and Configuration MFC and some other tools to match the current K-Lite Codec version. I hope this could help you out.

  11. Nunu

    Thanks a lot for this information, it works for me
    Just want to know
    what is the Avisynth script, if the glasses Red Blue?

    • M Riza

      Unfortunately there is no function on Pantarheon’s for red blue glasses. But you can try Bino 3D player, it has many output options including Red/Blue anaglyph (Read here if you have problem with subtitle).

  12. Nunu

    Thank for your excellence works, its useful

  13. Clint

    Not only did this not work, but the 64-bit Media Player Classic that I’ve been using without a hitch for several years now crashes upon playing back normal files that I’ve been playing the whole time… And I don’t know how to change it back.

    • M Riza

      Hi, sorry for what happened to your MPC. I’m not sure what was wrong with your setting. Recently i wrote a post about step by step install and configuring MPC, Avisynth, Pantarheon and Current version of K-Lite Codec Pack, tested on 64 and 32 bit of MPC and all work well (i’m using Asus A55V with 64 bit Win 7). You can check the link on above post (i hope it will solve your problem too).

      And there’s a free player called Bino 3D which is way better than MPC with this setting that i really recommended to everyone (check on related post).

  14. Unggoy

    hey, how can i play 3d movies in my non 3D 40″ led hdtv thru a usb of a blu ray player?
    thanks.

    • M Riza

      I think Anaglyph is the only option for your hdtv.
      If your movies was in 3D sbs format, try find sbs to anaglyph convert/converter using google.

  15. Alok

    followed your new step by step link..and it gives same error to me also.

    Script error: there’s no function named ‘LeftRight3DToRCAnaglyph’(ffdshow_filter_avisynth_script, line 5)

    any other things to check??

    • M Riza

      Please re-check your Pantarheon installation, check if Pantarheon3D.avsi was installed on Avisynth plugins folder (in my case C:\Program Files (x86)\AviSynth 2.5\plugins folder). Try using the same version of Avisynth and K-Lite codec mentioned on my recent post (Avisynth V 2.5.8 and K-Lite Codec Pack 9.2.0 Full).

  16. Hiran

    hey,
    thanx for the steps.it wrks.BUT have some prob.my video stucks while playing?whyz that?i,m running with core2 duo.without adjesting settings it played(with 2 SBS windows) without stucking. Plz help..

  17. Hiran

    hey,
    thanx for the steps.it wrks.BUT have some prob.my video stucks while playing?whyz that?i,m running with core2 duo.without adjesting settings it played(with 2 SBS windows) without stucking. Plz help..
    thnx

    • M Riza

      Hi,
      Sometime i’ve got the same problem too when playing full HD 3D movie with it (never experienced any problem on 720p movie), reducing the resolution seems to solve the problem for me, try change last line of your avisynth code to this:

      LeftRight3DToRCAnaglyph(c).Lanczos4Resize(w/2, h/2)

      Another solution for me, use Bino 3D player to play all 1080p movie. Hope those can be the same solution for you.

  18. Hiran

    I installed bino 3D player.[bino-1.4.0-w32.exe (10.7 MB))]
    but when try to play this error message came.plaese help

    “This OpenGL implementation does not support required features”

    thank you

  19. M Riza

    Hi there, sorry about what you got, i tried to find information regarding your problem, unfortunately there are no official information and sadly no solution for it. I suggest you to google for another 3D player, there are plenty out there.

  20. Nagendra

    KMP player is god for playing 3d movies or not?
    any one tried ?
    please let me know thank you

  21. Nagendra

    but the color of the videos is not as you shown..im using KMP player..it has greay color 3d effects ..
    plz tell me the setting to play 3d sbs videos in KMP player thnk u admin

  22. Nagendra

    and i have downloaded the sterioscopic player it was good but its not playing with subtitles do you have any solution for that or any other way .

    • M Riza

      Sadly, KMP only support monochrome for red-cyan glasses, but they have full color mode for yellow-blue glasses.
      If you mean the stereoscopic player is bino, please read my previous post about enabling subtitle on bino 3d.

  23. Albert

    Worked like a charm.
    Thanks.

  24. Undrakh

    Good working, but how can I play normal video?

    • M Riza

      To play normal video you need to disable avisynth on ffdshow video decoder (see Configuring ffdshow).

  25. persac

    Hi!

    I have this problem too:

    Script error: there’s no function named ‘LeftRight3DToRCAnaglyph’(ffdshow_filter_avisynth_script, line 5)

    Pantarheon3D.avsi – OK
    Avisynth and K-Lite codec version – Latest

    • M Riza

      Have you tried to import the Pantarheon3D plugin into the script?
      full script example:
      Import(C:\Program Files (x86)\AviSynth 2.5\plugins\Pantarheon3D.avsi)
      c = ConvertToRGB32()
      w = c.width()/2
      h = c.height()/2
      LeftRight3DToRCAnaglyph(c).Lanczos4Resize(w, h)

  26. Mansoor

    Does it works on normal laptops
    Or what type of 3d glasses i should use

    • M Riza

      This setting should be ok on normal laptops.
      And you also require a 3D glasses and it’s depend on function you put on Avisynth script.
      The above setting using LeftRight3DToRCAnaglyph function which mean for Red Cyan 3D glasses.

  27. Rehan

    how can i show normal 2d video in anaglyph 3d with MPC ?
    please help me…

    • M Riza

      Hi, If you mean to play Anaglyph as normal 2D video, i guess that’s not an easy task since Anaglyph video remove some colors from both right and left channel. But there’s a tutorial about it and also a discussion on forum somewhere (Sorry i don’t remember the link).
      If you mean to disable Anaglyph mode on MPC then you just need to disable Avysinth on ffdshow video decoder setting.

  28. Rehan

    how can i show normal 2d video in anaglyph 3d with MPC ?
    please help me…

  29. Rehan

    ok… no problem my friend…
    thanks…

  30. melbasha60

    Hi there.
    Thnx alot for your efforts explaining the detailed steps, it was really great especially on the other updated post.
    But I need to ask about something, which is after I did all what you said the output film was a little strange, both red and blue shadows were very distant from each other, it was just like two scenes above each other if you getting what I’m saying.
    thnx again :)

    • M Riza

      Hi.
      I guess what you mean is parallax. High parallax caused like to much 3D effect in our eyes. Sometime it came with the video it self or it’s a re-sized or a cropped video, try another good sbs video and hope you get a good result.
      Unfortunately there is no option to reduce or increase the parallax in Pantarheon. I suggest you to try Bino3D, you can setting parallax in Preferences and then Current Video Settings. If this is not what you mean, please provide a screenshot for us to see. Thx.

  31. S Sarkar

    Hi,
    To play the SBS movies in MPC I am using the code below
    c = ConvertToRGB32()
    w = c.width()/2
    h = c.height()/2
    LeftRight3DToRCAnaglyph(c).Lanczos4Resize(w, h)

    When I am seeing through only right eye (Cyan) it’s showing me one image, but for left eye (Red) it shows dual layer image. For that reason I am not able to watch the movies clearly. But when testing with some RC 3D images (downloaded from some sites) using the RC glasses it’s looking great and absolutely clear. Also did lots of experiments with AviSynth scripts, but didn’t get the proper result.

    Can you please give me a solution for this?

    • M Riza

      Hi.
      It’s called ghosting effect caused by the glasses that are not good enough filtering the colors. The red colors somehow really a problem. I tried several RC glasses and most of them gave a different result in red color filtering. I guess you have to try another RC glasses since we can’t tune the color of Pantarheon function. Or try another Anaglyph colors like Yellow/Blue or Green/Magenta, just change the function and also don’t forget changing the glasses also.

  32. S Sarkar

    Hi,
    Thanks a lot for updating me. But it’s surprising me, for viewing images (from google search) glasses are not creating any ghosting effects.
    Instead of calling Pantarheon function LeftRight3DToRCAnaglyph(c), I called directly MergeRGB(left, right, right) which producing the same result. But I couldn’t find the source code of MergeRGB() anywhere. So I did some POC in my end, e.g.
    c = ConvertToRGB32()
    w = c.width()/2
    h = c.height()/2
    left = Crop(c, 0, 0, c.width / 2, c.height)
    right = Crop(c, c.width / 2, 0, c.width / 2, c.height)
    left = left.RGBAdjust(1,0,0)
    right = right.RGBAdjust(0,1,1)
    return Merge(left,right). Lanczos4Resize(w, h)

    above code produced more or less same result, but I didn’t get the required one.
    Is it possible to tune the color effect using Mask and Layer? Even I don’t have idea about these two functions.

    • M Riza

      Hi. nice code.
      Your code remind me of my old one:
      video3d = ConvertToRGB32()
      videoW = width(video3d)
      videoH = height(video3d)
      halfW = videoW / 2
      f1 = Crop(video3d, 0, 0, halfW, videoH)
      f2 = Crop(video3d, halfW, 0, halfW, videoH)
      MergeRGB(f2.ShowRed, f1.ShowGreen, f1.ShowBlue).Lanczos4Resize(videoW/2, videoH/2)

      I found it somewhere on forums just before i start using Pantarheon. But if we compare this code and Pantarheon, Pantarheon gives better performance especially for 1080P movie, plus it has many other functions that allow us to choose for different type of 3D.

      Well, avisynth is a great scripting for video production and i guess anything is possible such as masking and color modifying. But if you give more functions on it, the less performance we get.
      I would suggest you to try Bino3D which is my latest SBS to Anaglyph player. It has better performance compared to all the above setting, no avisynth and configuration required.

  33. emn

    hi, thanks for the tutorial, it worked great on my laptop when i play on my 3D movie that split left&right (like your picture on the top)
    but it could not work on my 3D movie that split UP&Down.
    could you explain please, do i have to change the script
    from
    LeftRight3DToRCAnaglyph(c).Lanczos4Resize(w, h)
    to
    UpDown3DToRCAnaglyph(c).Lanczos4Resize(w, h)
    or
    TopBottom3DToRCAnaglyph(c).Lanczos4Resize(w, h)

    Regards
    Em

    • M Riza

      Hi, try use:
      TopDown3DToRCAnaglyph(c).Lanczos4Resize(w, h)
      or
      DownTop3DToRCAnaglyph(c).Lanczos4Resize(w, h)
      You can check on Pantarheon website for more functions


Leave a Reply

*

Loading Google+ Comments ...
Loading Facebook Comments ...