![]() |
Here you go...
1 Attachment(s)
AviSynth Code for De-Anaglyph.
The de-anaglyph program on Peter's site is great, but too slow to process a movie. |
Thanks,
I know it already but it is under construction yet and just for SD. |
Thanks a lot Tony.
|
Tony,
I can't correct the ghost effect on the right image. The left video is the original full-color 2D and the right video is the anaglyph. I suppose i have to fix it with leakcorrect but i couldn't yet. http://img522.imageshack.us/img522/7893/vsaana.png Code:
# VSA-DeAna.avs |
Source
Seref,
What format is the original Anaglyph? DVD? How did it become a WMV? Are you 100% certain that the 2D and 3D videos are exactly synchronized? You need to set decimateHoriz to about 6 or 8 (not 100), and decimateVert to between 10 or 20 for decent results. |
Thanks Tony.
I think i made a mistake while making "copy-past"; original was like this: Quote:
960*720*30fps. BTW i'm not 100% certain that the 2D and 3D videos are exactly synchronized. Anyway i should try with a real 3D DVD. Thanks again |
Conversion from DVD
2 Attachment(s)
Seref,
Here's a couple of frames converted from "Journey To The Center Of The Earth" DVD. Left is on top (converted) and right is on the bottom (from the 2D version.) The 3D anaglyph source is Green-Magenta, thus the converted left image is derived from the luminance of the Green and chroma from the 2D. All conversion parameters are at a neutral setting except that the left saturation is 1.2. decimateHoriz = 8, and decimateVert = 16. The most important thing is that I have not re-compressed the DVD video before the conversion. Both the 2D and 3D DVDs were extracted to MPEG2 with VOB2MPG, which does not recompress. This is why I asked about your WMV. Every time the anaglyph is compressed, the colors are distorted and it becomes very hard to recover the left and right luminance videos because a simple Green or Magenta filter won't work with distorted colors. If you look carefully at the left (top) images, you will see that the conversion is not perfect, but in motion, the flaws are less noticeable. |
Tony, thanks for your valuable feedback.
I've been waiting a post which includes a 3D/2D DVD (My Bloody Valentine.) I'll report back in a week, i hope. FYI:Those wmv files were original files, not re-encoded files. |
Dunno what the problem is but VirtualDubMod gives this error::
http://img218.imageshack.us/img218/3963/vduberror.png Here is my AVS: Quote:
|
Audio decoder
1 Attachment(s)
Looks like you don't have the proper Windows DirectShow decoder for your audio file installed on your system.
Probably AC3 format. Try: AC-3 ACM Codec (also attached to this post) |
Thanks Tony, i seem to forget how to use VirtualDubMod.
Btw, i've been trying with some 3D DVDs for two days. What's interesting here is i get playing loops everytime. For instance if the normal clip leght is 04:40, i get 10:00 minute clip. Final Clip Lenght must be as original clip lenght but i get double lenght. Lets say original clip is 04:40 but the final clip is: =(00:00-00:04:40) + (02:30-04:40) + (03:58-04:40) + (04:14-04:40) =10:00 Please have a look at this sample encode; i can't figure out. (ofcourse i see the same effect on VirtualDubMod or GraphStudio.) Mbv_out.rar (CAUTION: HORROR CONTENT AND FOR +18) Here is my avs: Quote:
Code:
C:\test_3>x264 --fps 30000/1001 --level 3.1 --sar 1:1 --aud -o Mbv_out.264 Mbv-DeAna.avs Thanks in advance. (btw, i didn't tweak well.) EDIT: Tony, how to modify XX-DeAna.avs and Ana_Extract.avs if i don't want to use audio? (it's better to re-mux later imo) EDIT: I used VOB2MPG for extraction of whole mpg and used VideoReDo Plus for frame accurate cutting. |
Getting closer!!
1 Attachment(s)
Several things...
1.) To get rid of the audio just comment out the last line in AnaExtract.avs # Dub in the sound # AudioDub(vidsound) 2.) For My Bloody Valentine, the 2D version is the right eye view. The sample you sent me used the 2D as left eye, and then converted another copy of the left eye to produce the right; thus no stereo! So.... you want: isMono = "monoRight" 3.) The monoRight setting revealed a software bug in AnaExtract.avs. I have attached an updated version which fixes the bug. Sorry! 4.) I'm not sure about the "repeating" problem. It probably has something to do with your source files. Perhaps one is longer than the other. If you want to send me the two source files, I'll take a look. 5.) With MBV you can set decimateVert = 20.0 or more. This will help with the color bleeding on the converted left image. All the best, Tony |
Thanks Tony.
I've just started uploading files. (takes 2 hours for both) Meanwhile i gave it a go with the whole movie and i checked the frame numbers and the durations seperately; both 144.089 frames and the duration (1:40:09:712). (used VideoReDo Plus for frame accurate cutting.) Two findings : 1) EDIT:Sorry it's false information. (i had to trim) 2) VirtualDubMod or GraphStudio crashes when trying to open new full movie avs while MeGui opens the same avs without any problem. When i check what MeGui is using i saw LAVF directShow Source Filter. I will check out with the new parameter avs and new core AnaExtract avs. (BTW how do you understand whether 2D is right or left?) Thanks for everything. Best. EDIT: No crash anymore with VirtualDubMod: i used new AnaExtract.avs and revised parameter avs.(the whole movie) THX Here is the new parameter avs: (Mbv-DeAna.avs) Quote:
|
Which side is 2D
It is fairly easy to see whether the 2D version is left or right.
Load up the anaglyph version in any media player and find a frame where there is a good 3D effect. Put on your anaglyph glasses. You'll notice that your right eye can "look around" the right edge of objects in the foreground and see parts of the background that are hidden from your left eye. Do the same thing with your left eye "looking around" the left edge of foreground objects. Remember what was hidden from one eye, but visible to the other eye. Then load up the 2D version and seek to the same frame. You should be able to notice what is hidden behind the foreground object and compare this to the left and right anaglyph views that you previously observed. The 2D version should match either the left or right anaglyph view. Then you will know. If you have some video editing software (Premiere, After Effects, Vegas, etc...) you can just stack the 2D and the Anaglyph versions on two timeline layers, being certain that the two videos are synchronized. Put on your anaglyph glasses and turn on and off one of the layers until you figure out whether the 2D matches the left or right anaglyph view. Be aware than some media players and editors have trouble accurately seeking to a specific timecode with MPEG2. You may just have to let it play from the beginning and just pause the player at a good 3D effect. |
Thanks a lot for detailed explanation.
Here are the source files: mbv-2D_cut.mpg http://www.mediafire.com/?y77qv2bu348llb0 But unfortunately, after encoding to x264, i have again "repeating problem" which i stated on post 26. (even i used new parameter avs and new Ana-Extract.) Quote:
EDIT:Even i seperated left and right (with Adam's tool) and re-encode them seperately to x264 and avi. After encoding i get loop. I don't understand "how this happens" at all? _ _ _ _ |
All times are GMT -6. The time now is 08:42 PM. |
DV Info Net -- Real Names, Real People, Real Info!
1998-2025 The Digital Video Information Network