Friday, March 19, 2010

Edit Stereoscopic Video

Will not talk about how to get your footage...use two cameras, no matter real cameras or cameras in any 3d software...so, if you have image sequence please start from step 1, or else you have AVI files as footage, go straight to step 2. I'd suggest using AviSynth and VirtualDub to do the job. Both AviSynth and VirtualDub are free!

Note:image borrowed from Wiki

  1. Image sequence-->AVI

  2. create a file name it as "left.avs", suppose you have 100 tga files, from 0001.tga through 0100.tga, put the following line to "left.avs"

    ImageSource("%04d.tga", 1, 100, 25)

    at this point, you can use Windows Media Player to play this "left.avs" already! But we can get our AVI file via VirtualDub. From VirtualDub open "left.avs" and save it as "left.avi". Just as easy as that! Repeat the same steps, you will get right eye video ready, say you have "right.avi" up to now.

  3. Stack two AVIs Horizontally

  4. Create a new file and name it as "stereoscopic.avs" first, put the following line to it

    StackHorizontal(DirectShowSource("yourlocation\left.avi"),
    DirectShowSource("yourlocation\right.avi")


  5. Generate stereoscopic AVI

  6. Open "stereoscopic.avs" from VirtualDub, and save it as "stereoscopic.avi"...done!


...and DONE.

26 Comments:

Blogger 上心 said...

thank you for you to make me learn more,thank you∩0∩

7:51 PM  
Blogger 啟佐 said...

目標是什麼不重要,目標能產生什麼樣的效果才重要 ..................................................

11:40 AM  
Blogger 韋于倫成 said...

快樂與滿足的秘訣,就在全心全意投注於現在的每一分,每一秒上 ....................................................

1:52 PM  
Blogger 建霖 said...

人並不是生來要吃敗仗的。人可被毀滅,但不可被擊倒。..................................................

4:08 AM  
Blogger 張堯 said...

很期待新的內容,支持你.................................................................

6:37 AM  
Blogger 陳隆 said...

閒來無聊逛逛blog~~跟您打聲招呼~~.................................................................

12:56 AM  
Blogger 江婷 said...

河水永遠是相同的,可是每一剎那又都是新的。.................................................................

10:49 AM  
Blogger 堅強堅強 said...

人有兩眼一舌,是為了觀察倍於說話的緣故。............................................................

12:43 AM  
Blogger 吳婷婷 said...

當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。............................................................

10:56 PM  
Blogger 金正偉 said...

如果相遇.你會感到相知.那麼.有一種習慣叫做陪伴;如果陪伴.你會感到珍惜.那麼.有一種甜蜜叫做存在!..................................................................

4:48 AM  
Blogger 許紀廷 said...

開心不開心都是一天,祝您能夠笑著面對一切!............................................................

4:11 AM  
Blogger 吳婷婷 said...

加油!充實內函最重要!Beauty is but skin- deep...................................................................

6:07 PM  
Blogger 錢靜怡錢靜怡錢靜怡 said...

生命的意義,是在於活的充實;而不是在於活得長久。............................................................

12:08 AM  
Blogger 林彥以林彥以 said...

喜歡你的部落格,讓人流連忘返............................................................

3:52 PM  
Blogger 士凱士凱 said...

值得一看再看的格子,多謝分享.................................................................

12:29 AM  
Blogger 家榮家榮 said...

閱讀您的BLOG文章,真是件快樂的事!!.................................................................

12:30 AM  
Blogger 莊雅和莊雅和莊雅和 said...

感謝不吝分享您的心得..................................................

10:48 PM  
Blogger 趙千惠趙千惠 said...

我們能互相給予的最佳禮物是「真心的關懷」。..................................................

8:18 PM  
Blogger 曹初帆張武茜 said...

Lets cross the bridge when we come to it............................................................

8:24 PM  
Blogger 黃怡張華樺張華樺妹 said...

當最困難的時候,也就是離成功不遠的時候。..................................................

11:24 PM  
Blogger 家唐銘 said...

Circumstances are the rulers of the weak, instrument of the wise.............................................................

9:16 PM  
Blogger 文王廷 said...

人並不是生來要吃敗仗的。人可被毀滅,但不可被擊倒。..................................................................

2:52 PM  
Blogger 文王廷 said...

人生像一杯茶,若一飲而盡,會提早見到杯底..................................................

11:56 PM  
Blogger 孫邦柔 said...

快樂,是享受工作過程的結果......................................................................

10:02 AM  
Blogger 阿袁袁袁袁華 said...

與人相處不妨多用眼睛說話,多用嘴巴思考. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8:37 AM  
Blogger 怡靜怡靜怡靜怡雯 said...

Necessity is the mother of invention..................................................................

7:41 PM  

Post a Comment

<< Home