Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th September 2011, 18:17   #1  |  Link
Mcmount
Registered User
 
Join Date: Sep 2011
Posts: 7
2D to 3D stereo, AVS + Displace plugin

Hi,

The following packages enables you to convert 2d to 3d stereo with bidirectional pulfrich effect + add depth to stationary objects.

To make it short:

I use MVTools V2 to get positive and negative X movements, build a mask and replace current frame with previous one according the mask. This way I get bidirectional covarage for the movement.

Next, I compute motion mask, add chrominance mask and greyscalemask and get a final mask for the displace.dll plugin.
This plugin will simply shift foreground rgb according the mask luminance to the right or to the left.

I really hope someone could help to finalize this Displace.dll plugin, as it's buggy and I don't have any skills with C++.

Samples:

http://www.youtube.com/watch?v=af1hlrhBEos
http://www.youtube.com/watch?v=RhuSNseZQSc

Comments are welcome !

McM
Attached Files
File Type: rar Displace v0.1.rar (13.9 KB, 222 views)
File Type: rar McM_2D_to_3D_v0.2.rar (3.4 KB, 222 views)
Mcmount is offline   Reply With Quote
Old 16th November 2011, 11:44   #2  |  Link
Mcmount
Registered User
 
Join Date: Sep 2011
Posts: 7
New versions of Displace-plugin and 2D>3D stereo

Here are the new versions of the tools which converts 2D video to 3D stereo video.

Depthmap is created with multiple methods; luminance, chrominance, motion and gradient mask.

As a base I've used Pulfrich method, where previous frame is layered to different eye according the movement direction. This is done with motion mask.

Next the displacement mask (depthmap) is built. Pulfrich modified frames + masks are the fed to displacement plugin and the final result is in side-by-side format.

The avs script is heavily optimized and therefore might be bit difficult to understand.

Comments are welcome !

Mcm
Attached Files
File Type: rar Displace v0.2.rar (14.3 KB, 399 views)
File Type: rar McM_2D_to_3D_v0.3.rar (6.8 KB, 403 views)
Mcmount is offline   Reply With Quote
Old 18th November 2011, 08:40   #3  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 822
I remember this thread.
Downloaded the first set and completely forgot about it lol.

Going to check this out.
__________________
Win10 (x64) | GPU Caps Viewer v1.38.2.1
Crucial M500 240GB SSD | Kingston SSDNow V300 (Marvell) 120GB | NVIDIA GeForce GTX 750 Ti 2GB | 391.01 (2-23-2018)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 8th December 2011, 13:02   #4  |  Link
Deathman
Registered User
 
Join Date: Dec 2001
Location: UK
Posts: 17
Hiya, ive tried your script etc but all i get if i try and play the script is a grey screen .. and if i try and reencode with it, it crashes any encoder i try. any ideas? im trying to convert a 720p mkv btw
Deathman is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.