How to convert anaglyph to side by side? - Page 4 at DVinfo.net

Go Back   DV Info Net > Special Interest Areas > 3D Stereoscopic Production & Delivery

3D Stereoscopic Production & Delivery
Discuss 3D (stereoscopic video) acquisition, post and delivery.


Reply
 
Thread Tools Search this Thread
Old February 20th, 2011, 12:47 PM   #46
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
It is a great idea.

You know i'm not a coder. So i made a mistake.
VirtualDubMod crashes.

Could you please help me in writing the right code?

Here are the modifications i made on parameter file and AnaExtract;

MBV-DeAna:

Code:
# Source input method, either DS or FF, i.e DirectShowSource or FFvideoSource

inputMethod = "DS"

# Setup our input files

anaglyphName = "C:\test_new\3D-cut.mpg" # Anaglyph video

PureColName = "C:\test_new\2D-cut.mpg" # Video with color info (either Anaglyph or 2D)

monoName = "C:\test_new\2D-cut.mpg" # Possible 2D video for one eye, if not set to "nothing

SoundName = "C:\test_new\2D-cut.mpg" # Video with the sound track we want

AnaExtract:

Code:
# FF/DS? Selects "source"


(inputMethod == "FF") ? Eval("""
vidL = FFvideoSource(anaglyphName)
vidOrig = FFVideoSource(anaglyphName)
vidsound = FFAudioSource(SoundName)
""") : Eval("""   """)

(inputMethod == "DS") ? Eval("""
vidL = DirectShowSource(anaglyphName)
vidOrig = DirectShowSource(anaglyphName)
vidsound = DirectShowSource(SoundName, audio=true, video=false)
""") : Eval("""   """)
Best.
_ _ _ _ _ _
Seref Halulu is offline   Reply With Quote
Old February 23rd, 2011, 05:41 PM   #47
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

I think the code is working. Crash happens with only Gabest filter. MS, FFdshow and Cyberlink filters work.
Do you confirm?
Seref Halulu is offline   Reply With Quote
Old March 9th, 2011, 05:29 PM   #48
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Hi Tony.
I'm living issues with vc1 based HD Blu (Journey to the center of the earth.. -3D anaglyph)

First of all i tested individual 2D /3D with VirtualDubMod using these codes:
Code:
LoadPlugin("C:\DG\DGDecodeNV.dll")
DGSource("C:\journeytothecenter\2D-cut.dgi")
info()
Code:
DirectShowSource("C:\journeytothecenter\2D-cut.m2ts")
info()
Code:
FFVideoSource("C:\journeytothecenter\2D-cut.m2ts")
info(
DGSource gives 23.976 and 1080 information but i can not open xx-DeAna.avs.

As for DirectShowSource and FFVideoSource:;

With Haali > MPC Video Decoder::

DirectShowSource gives 23.976 fps and 1088 info (instead of 1080)
FFVideoSource gives veird (like 24.737) fps and 1080 info

With MPC MPEG Source (Gabest) > MPC Video Decoder or with
Cyberlink Demuxer > Cyberlink Video Decoder

DirectShowSource gives 23.976 fps and 1088 info (instead of 1080)
FFVideoSource gives 23.976 fps and 1080 info

Even FFVideoSource seems suitable for option b, XX-DeAna gives this error:



_ _ _ _ _

Last edited by Seref Halulu; March 9th, 2011 at 06:22 PM.
Seref Halulu is offline   Reply With Quote
Old March 10th, 2011, 09:31 AM   #49
Regular Crew
 
Join Date: Jul 2010
Location: Central NJ
Posts: 42
Re: How to convert anaglyph to side by side?

Sorry... I don't understand why you use all these extra codecs, decoders, and formats.

Simply install K-Lite which handles all the formats you'll ever need.

Rip the Blu-Ray 2D and 3D with MakeMKV: MakeMKV - Download

Use the standard Anaglyph Conversion scripts to process.

Works fine on Journey Blu-Ray.
__________________
VRtifacts
Tony Asch is offline   Reply With Quote
Old March 10th, 2011, 01:55 PM   #50
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Sorry but K-lite pack uses the same codecs what i gave it a go with.
I wanted to show the negative results of the combination of source and decoder filters.
FFVideo Source together with MPC MPEG Source (Gabest) > MPC Video Decoder (or with
Cyberlink Demuxer > Cyberlink Video Decoder) works individually but it doesn't work as multiple videos with XX-DeAna. (I use FFVideoSource on that scrypt.)

(BTW i used AnyDVD HD only or AnyDVD HD++eac3to+TSMuxer. I'll try with Make MKV too.)
Seref Halulu is offline   Reply With Quote
Old March 10th, 2011, 02:30 PM   #51
Regular Crew
 
Join Date: Jul 2010
Location: Central NJ
Posts: 42
Re: How to convert anaglyph to side by side?

Sorry... I had posted the original article as a tutorial on a specific methodology for converting anaglyph videos into separate left and right image streams. In order to demonstrate the technique, I sketched out and tested simple ways to derive the source material from either DVD or Blu-Ray. However, my interest remains in the actual anaglyph conversion process. DirectShowSource() works for my testbed, but given the insanity of official and unofficial file formats and codecs on Windows systems, I can understand how it might not work on systems loaded up with other codecs and preferences. That's not my area of expertise or interest. I do know that a clean Win 7 install with the addition of the tools and methods described in my original article seem to work well. Beyond that, I can't really offer much support.
__________________
VRtifacts
Tony Asch is offline   Reply With Quote
Old March 10th, 2011, 05:23 PM   #52
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Weird really.
Extracted with MakeMKV and just Haali is loaded. BTW it's not a fresh install.
For the first time DirectShowSource and Haali together gave me the right info:



And i got it with your DirectShowSouce based scrypt:



Thanks for your assist but i have a final question:

I haven't found any SW which cuts VC1 ffiles frame accurately. Our "Center of the earth" doesn't need any cut but what if we need to cut any other?
(BTW i use VideoRedo TVSuite to cut mpeg or h264 m2ts files frame accurately.)

EDIT: I will try to investigate where my previous issue came from and share my findings here.
_ _ _ __

Last edited by Seref Halulu; March 10th, 2011 at 06:05 PM.
Seref Halulu is offline   Reply With Quote
Old March 10th, 2011, 06:43 PM   #53
Regular Crew
 
Join Date: Jul 2010
Location: Central NJ
Posts: 42
Re: How to convert anaglyph to side by side?

You could try something like:

vidL = DirectShowSource(anaglyphName).trim(0,1000)+DirectShowSource(anaglyphName).trim(1050,50000)

and let AVISynth do the work.
__________________
VRtifacts
Tony Asch is offline   Reply With Quote
Old March 10th, 2011, 06:58 PM   #54
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Thamks, i'll try.
Seref Halulu is offline   Reply With Quote
Old March 14th, 2011, 07:29 PM   #55
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Tony,
None of those trimming methods gives me synchronous left-right for VC1 and i can not cut them frame accurately.
Even "Center to the Earth BD" is synch, i can not get synchronous cuts.
(DirectShowSource or FFVideoSource)
For instance i want to to cut the movie between 25000 to 50000. Video is 0-133184.
What would i do?
(I want to cut both left and right in 25000 to 50000.)

Last edited by Seref Halulu; March 14th, 2011 at 08:02 PM.
Seref Halulu is offline   Reply With Quote
Old March 17th, 2011, 06:26 PM   #56
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

FYI the only method i've found which is working for VC1 files is demux and cut with TSMuxer and remux to mkv with MKVMergeGui.
Seref Halulu is offline   Reply With Quote
Old March 27th, 2011, 06:02 PM   #57
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Tony, FYI;

I think you forgot to put this line to your latest "AnaExtract.avs" :

Code:
isMono == "monoLeft" ? Eval("""
	vidL = ConvertToRGB(DirectShowSource(monoName))
""") : Eval("""   """)


_ _ _ _
Seref Halulu is offline   Reply With Quote
Old March 28th, 2011, 03:48 PM   #58
Regular Crew
 
Join Date: Jul 2010
Location: Central NJ
Posts: 42
Re: How to convert anaglyph to side by side?

is covered at the end:

Code:
isMono == "monoLeft" ? Eval("""
	vidL = ConvertToRGB(DirectShowSource(monoName))
""") : Eval("""
	vidL = ConvertToRGB(vidL)
""")
__________________
VRtifacts
Tony Asch is offline   Reply With Quote
Old March 28th, 2011, 07:31 PM   #59
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

Sorry, it is my bad:



EDIT: FYI with the latest haali splitter (03.03.2011) everything works fine with DirectShowSource or FFVideoSource.
But still DGSource doesn't work for me.

http://img828.imageshack.us/i/002bh.png/
_ _ _ _ _
Seref Halulu is offline   Reply With Quote
Old March 29th, 2011, 05:43 PM   #60
Regular Crew
 
Join Date: Dec 2010
Location: Istanbul Turkey
Posts: 74
Re: How to convert anaglyph to side by side?

I got this reply from neuron2:

Quote:
Originally Posted by neuron2
I had a look but quickly rather into more problems than just your path problem, like you still haven't fully completed it, e.g., there are still DSS() calls taking DGI files as input. That's pretty clueless.

Sorry, but I just don't have the time to debug your script. It's clear that there is no DGDecNV problem here. Maybe you can get some help at another forum.
I hope you may find some time to have a look.

BTW: This is based on Journey To The Center of the Earth BD.

EDIT: I found i made a mistake in line 10 and corrected.

Finally i can open XX-DeAna but this time the left video is black and white????



_ _ _ _

_ _ _ _ _
Attached Files
File Type: txt AnaExtract_DG.txt (4.6 KB, 307 views)
File Type: txt XX-DeAna_DG.txt (3.5 KB, 228 views)

Last edited by Seref Halulu; March 29th, 2011 at 06:31 PM.
Seref Halulu is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

Professional Video
(800) 833-4801
Portland, OR

B&H Photo Video
(866) 521-7381
New York, NY

Z.G.C.
(973) 335-4460
Mountain Lakes, NJ

Abel Cine Tech
(888) 700-4416
N.Y. NY & L.A. CA

Precision Camera
(800) 677-1023
Austin, TX

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Special Interest Areas > 3D Stereoscopic Production & Delivery

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



Google
 

All times are GMT -6. The time now is 01:34 AM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2017 The Digital Video Information Network