View Full Version : 2D to 3D via avisynth and x264
FranceBB
24th April 2016, 23:26
So... Simple question: starting from a progressive, single file, how can I make it 3D SBS (Side by Side)?
Let's suppose I have a progressive file 23,976fps that I want to hardsub and convert to 3D side by side, how can I do it? I know that videos converted to 3D have a standard fake 3D FX that doesn't change during the movie, but it really doesn't matter. As to the subs, I assume I'll have to hardsub and then convert to 3D SBS so that they will be in 3D.
Last but not least, how about x264? Have you ever tried it? Does it work on TV with the correct 3D profile? Did you experience any problems? Let me know.
Thank you in advance.
Sparktank
24th April 2016, 23:45
"single file" doesn't sound like it has a 3D view to begin with.
Unless, you mean to say that you used MakeMKV to remux a 3D bluray to MKV with AVC/MVC in the source.
Then you can start here:
http://forum.doom9.org/showthread.php?t=170828
^That assume 3D source.
But, if it's just AVC only, a 2D movie to begin with, then you need to convert it.
There's a few 3D avisynth plugins that will convert 2D to 3D. One plugin will do S-B-S or O-U for you.
But most default to anaglyph formats (red/cyan; amber/blue; etc).
It won't really be the same as a bluray mastered for 3D, but you can still get "some" 3D details out of it.
Subs, no idea.
3D source vs 2D source is the extent I know from having played with analgyph before switching to Pulfrich and ChromaDepth tricks.
FranceBB
25th April 2016, 11:09
Yep, I meant a single file that is not supposed to be a 3D. As to the other stuff you mentioned, they will be useful for sure in the future, 'cause I'm planning to play with some 3D Blu-ray.
As to the avisynth filters, I googled a bit and I found the "real-time conversion script v0.3" and the "Panthareon 3D avisynth toolbox". Do you have any particular filter in mind?
Thank you, again. :)
Sharc
25th April 2016, 14:02
If you have a 2D source only, first thing you would have to try is to create a synthesized (artifical) 2nd view.
You find some explanations here:
https://en.wikipedia.org/wiki/2D_to_3D_conversion
There are also some tools mentioned there at the end.
I never tried to do such a conversion, but I wish you good luck.
Once you have created the 2nd view it will be easy to do a SBS arrangement of the two views (original and synthesized) with avisynth, and to encode this with x264. That's the easy part, really.
Sparktank
25th April 2016, 17:34
"real-time conversion script v0.3" and the "Panthareon 3D avisynth toolbox"
rtc script v0.3 is what I used before.
I believe it has presets you just uncomment and comment the default analgyph modes.
I tried anaglyph (red/cyan) and amber/blue (ColorCode).
I also tried sbs on some trailers to do the cross-eyed effect.
It's something I'll revisit later if I ever get my hands on a cheap VR cardboard box for my Android.
For the software listed in the wikie page, I've only tried Gimel3D a long time ago. Didn't get that far.
G'Mic seems to be new and free. The others are all trialware with heavy price tags.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.