Page-Flipping Anaglyphs From Your PC Log Out | Topics | Search
Moderators | Register | Edit Profile

stereo3d.com webboard » General 3D Discussion » Page-Flipping Anaglyphs From Your PC « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, April 27, 2003 - 4:52 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Okay, I haven't been following this forum real close, so forgive me
if I'm talking about something that someone is already doing... I've
been blabbing over in the Yahoo 3D video group. Come on over and help!
:-)

I am getting really great anaglyphs (for the first time ever for me)
by page-flipping "pre-converted pairs" from a PC to a monitor. (I've tried a CRT and a standard TV, so far :-) I am
still experimenting, so I may be overlooking some problems... I am
doing this by "pre-converting" 3D pairs to parallel format with the
left image converted to red and the right image to cyan. (Plus I use a
"shade-corrected" method, which almost entirely eliminates retinal
rivalry due to color tones between lenses... long story, another topic
:-) I then put them into "page-flipping" mode by using a new freeware
program called "StereoMovie Maker" (
http://www3.zero.ad.jp/esuto/stvmkr/indexe.htm ) and I have output
them to a CRT and a standard TV with good results... no ghosting or
compression artifacts found in other attempts and methods that I've
tried.
IOW, pre-conversion plus the page-flipping seems to have solved most
(or all???) of the *problems* :-)

Here's how I do the "pre-conversion":

This is using VirtualDub and a parallel pair as an example. The links
to the 3rd party filters are on my "VirtualDub3D" page:
http://www.puppetkites.net/virtualdub3d.htm

First... if you want to play with the colors, first... Add the
"Hue/Saturation/Intensity" filter and desaturate only the colors other
than red that are possibly overwhelming in the images (i.e., blue,
cyan, green, yellow or magenta) by 50%. You can come back to this
filter later, after you view the anaglyph conversion, and change the
settings.

Then:

1) Add the "Deinterlace" filter and "Fold Side-By-Side Fields
Together".

2) Add the "Interlaced RGB" filter. Under "Even Lines", put a check in
the RGB2Y box. (Checking the RGB2Y box converts the left image to
grayscale. Don't ignore this step!)

3) Open a second application of the "Interlaced RGB" filter. Under
"Even Lines" and "Cancel", click on "G and "B". Under "Odd Lines" and
"Cancel", click on "R".

4) Add the "Deinterlace" filter and "Unfold Fields Side-By-Side".

5) Now (Important), open another application of the
"Hue/Saturation/Intensity" filter and increase the "Intensity" of
_only_ the red to "1.20". (For whatever reason, the red side has to be
lighted by 20% or so, when you do this!)

6) Add the "Resize" filter and change it to the size you want.

(Save it to a good compressed AVI format, but don't over-compress it.
Watch your red side and be sure not to totally destroy it. Just add
enough compression to get your file size down to something you can
handle!)


Here's a very low resolution/file size example... just to *prove* the
point of being able to do this with high compression:
This image and/or movie is from a "hyper clouds" experiment from a
week or two ago, but I super-imposed a full moon behind the clouds :-)
No, I didn't take the photo of the moon... I think I got it from two
separate satellites... I can't remember... it's hiding behind the
clouds, so you really don't see much detail, anyway:

1) http://www.puppetkites.net/temp/moonclouds1FPforA.avi
One image from the movie converted from an BMP to a one-frame DivX
AVI.
(Ver 5.0.5. Download the latest DivX free version from
http://www.divx.com/ ) This file is only 14 KB... smaller than a
JPEG! Page-flip it with the StereoMovie Maker freeware:
http://www3.zero.ad.jp/esuto/stvmkr/indexe.htm (You'll need Win3D,
too...)

2) http://www.puppetkites.net/temp/mooncloudsPforA.avi
The entire movie... DivX 5.0.5 AVI at 1.94 MB :-) That's 40 seconds of
30fps video with MP3 audio! Compression city! :-) Page-flip it with
the StereoMovie Maker freeware.


P. K. Kid
3D Adventures Of The Puppet Kite Kid:
(All G-Rated) http://www.PuppetKites.net
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, April 27, 2003 - 6:35 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Hey, everyone... this is really a mind-blowing thing... I really urge
everyone to try it with a hi-res image!!! Even with a 60 Hz flicker, you can see a "perfect
anaglyph" on a TV, which is something I never thought was possible!
Again, the steps for conversion are in my last post.
On my standard TV, it is perfect... absolutely perfect. The file size I tested was a one-frame
DivX AVI, 126K!

Unfortunately, I don't have a hi-res image that I can share... :-)

P. K. Kid
3D Adventures Of The Puppet Kite Kid:
(All G-Rated) http://www.PuppetKites.net
Top of pagePrevious messageNext messageBottom of page Link to this message

John Billingham

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, April 27, 2003 - 8:23 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Mr. Kid,
Excuse my probable density, but:
How does one play an .avi on one's "TV"
And if it is via one's "computer", and one's
"computer" has a monitor, WHY?
Mr. Billingham
Top of pagePrevious messageNext messageBottom of page Link to this message

XioN

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, April 28, 2003 - 1:41 am:   Edit PostDelete PostView Post/Check IPPrint Post

First off, there are ALOT of video cards / tuner cards with an optional composite out... which can be hooked to most television set and video casette records. Also, you can take the AVI and convert is to SVCD (using 3rd-party softwares like Nero Burning ROM) and put that finished SVCD in your television's DVD player.
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, April 28, 2003 - 3:17 am:   Edit PostDelete PostView Post/Check IPPrint Post

Okay... this is a bit confusing... perhaps :-)
Why a TV? Because you can use a huge TV :-) I have only seen 19 inch computer CRTs, but I could be shopping at the wrong places ;-)
At any rate... you need 100 Hz to avoid flicker... but these are 29.97fps progressive pairs that are being page-flipped _from_ my computer. The AVI is playing on my computer, output from my video card S-Video (or whatever works :-) "out" to my 100 Hz monitor :-)
I can use 60 Hz on my CRT, with flicker, or 75, 85 or 100 Hz (progressively less flicker) but only 60 Hz on my TV here in the USA. I think a 100 Hz TV would work, but I don't know for sure. It works on my CRT at 100 Hz...
I have no idea why this is working... but it is. I can plug my shutterglasses in to my video card and view them on my 60, 75, 85 or 100 Hz CRT _or_ my 60 Hz TV (with flicker).
In anaglyph format, pre-converted as I told about previously, they are as ghost free as uncompressed images, as good as I've ever seen on a computer, and even great on my TV (but at 60 Hz with flicker). I have never before viewed an anaglyph on a TV without severe ghosting, color problems and compression artifacts. These are close to "perfect". I would hope that a 100 Hz TV would show them absolutely perfectly and flicker-free, like my CRT can at 100 Hz.
I need a huge CRT, I guess ;-)

PKK
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, April 28, 2003 - 3:33 am:   Edit PostDelete PostView Post/Check IPPrint Post

Also, in case we are really confused, this works just fine on your normal CRT setup... I only output via the S-Video to my TV... my CRT is hooked up just like yours is :-)
The saving grace is that you can use (even) highly-compressed pairs, and get the same results with anaglyphs (for example) as uncompressed anaglyphs, because the conversion is on-the-fly.
I've never been able to do this with anaglyphs on a CRT, even, without ghosting and especially compression artifacts. The TV creates an even worse image... totally terrible :-)
I (and others) have also experimented with interlaced anaglyphs or even sync-doubled ones in A/B format for line-blanking... i.e., pre-converted A/B (over/under) for anaglyphs... but this page-flipping method is nearly "perfect"... the interlaced ones are quite *bad* looking and the sync-doubled ones, only a bit better because of the visible and irritating horizontal interlace lines...

HTH.
PKK
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, April 28, 2003 - 8:03 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Here's another wild and whacky experiment by your's truly :-) I
really don't expect everyone to be able to view this (or expect
everyone to even want to ;-)... but, hey, if you want to try something
that might be new (and good?) and _can_, then... do :-)

720 x 480 (NTSC DVD resolution) squeezed red/cyan (and
"shade-corrected") parallel pair for anaglyph, JPEG and MPEG:

JPEG, 67 KB:
http://www.puppetkites.net/temp/polarbearSPforA.jpg

MPEG 1, 4.45 MB, 4 seconds, no audio (sorry :-):
http://www.puppetkites.net/temp/polarbearSPforA.mpg

I will share this with both the Photo3D and 3D video groups, because
this is a *higher* resolution image and/or (very) short movie of this
recent (for me :-) "red-cyan parallel pair for anaglyph" experiment...
with an additional twist... it is _squeezed_ to half resolution...
something you can do to MPEGs, and maybe JPEGs... ;-), (I'd call that "anamorphic squeezing") with minimal problems to save on bandwidth (or
file size). This is one reason this is in parallel format and not
above/below... there's another long debate, possible, here, but I did
some testing on "anamorphic", 3D, progressive MPEGs, and had great results! Another reason I like this format is you could potentially (I've never tried
it :-) output this format to two projectors via a dual head video card
without using hardware demux or hardware filters. (Something to try
:-) I'm sure the A/B *people* have plenty of reasons not to do this,
but, hey, it doesn't hurt to experiment and have fun :-)
If you use the new StereoMovie Maker freeware to page-flip this
"movie" or you need to resample the JPEG to get it to work, you will
first have to upsample the width x2 or 1/2 the height, depending on
what your computer can successfully play smoothly, and save it to
compressed AVI... I'm not going to try to upload another AVI :-) AVIs,
unlike MPEGs, don't resize on-the-fly to double width without
bitmapping (stair-stepping) terribly. (another vote for MPEG :-) I noticed that even the DivX AVI codec doesn't work
for on-the-fly *widening*. There's something magical about on-the-fly
resizing of MPEGs :-) YMMV :-)
Don't let the crud on the glass in this image make you think the 3D
is reversed :-)... I have a fair amount of footage of this and hope to
put it together in a way that combines wide angle and close-up
shots... this is a close-up which closely shows the crud on the window
:-)
I don't really want to get into the 16:9 debate, again... that's just
the way that I _personally_ enjoy shooting and viewing, these days :-)
This is basically "DVD size" format (NTSC)... just so people can
relate to the resolution... so, IOW, you could do this with DVDs :-)
I also want to mention that I am using/capturing with analog
equipment, so you should be able to do *better* than this with digital
equipment... I have to wait 6 months for Santa to come, again :-)
You will need to boot these to "full-screen" with a 4:3 display to
have the correct aspect ratio... it is "letterboxed" for 4:3, but
squeezed exactly in half... you _have_ to double the width.
Your page-flipping software should have a "full-screen" mode, and
this is what you need to use for this image/movie.
You can also view it in interlaced ("line-blanking") mode on your CRT
with anaglyph glasses, but you can see the horizontal lines if you do
it that way... page-flipping is a much better way, of course :-)
It should look good on a CRT or interlaced monitor (dare I say, "TV"
;-) above 100 Hz (as long as you page-flip it from a computer). The
movie is only 4 seconds long with no audio (sorry, I'm still on a 56k
modem :-).


P. K. Kid
3D Adventures Of The Puppet Kite Kid:
(All G-Rated) http://www.PuppetKites.net
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, April 28, 2003 - 9:24 pm:   Edit PostDelete PostView Post/Check IPPrint Post

I wrote:

> I noticed that even the DivX AVI codec doesn't work
> for on-the-fly *widening*. There's something magical about
on-the-fly
> resizing of MPEGs :-) YMMV :-)

"YMMV" stands for "your mileage may vary" :-)

I need to add something in case someone starts pulling out their hair
in frustration, and sues me for the hair transplant ;-)..
I used the word, "resize" in the above statement. It may not sound
like a big deal, but it is... MPEGs _stretch_ in the width very nicely
when playing in most media players or DVD software players... they do
not, however "upsize" or "upsample" (resize) very well... sort of a
catch 22, and surely one (small :-) argument against this squeezed
parallel format. (If anyone knows a trick in doing this, speak up :-)
Really the only way to avoid this is to downsample the image in the
height, if you must "resize" it, so you don't notice the problem as
much, but obviously you lose resolution.
Sadly, the DivX codec doesn't seem to stretch _or_ resize well :-(
OTOH, AVIs resize much better than MPEGs, but you can't successfully
_stretch_ them in the width in a media player...
It's as if someone planned this plot against us all ;-)

Anyway... stop pulling your hair out :-)

PKK
Top of pagePrevious messageNext messageBottom of page Link to this message

Aaron

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, October 29, 2005 - 12:59 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Hi all I am new here but have downloaded stereo video maker and have been trying to convert DVD to Avi in anaglyph. One problem great picture but no sound it doesn't want to combine the sound files from the dvd which I decrypted first with DVD decrypter. What am I doing wrong why is there no Audio? There is no audio when playing back the avi left and right together either, even when the option is selected I cant seem to get it to work.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | User List | Help/Instructions | Program Credits Administration