If you are not able to decode the video there is no way the script can know what is the width and height of the frame and thus cannot do the conversion, if the video can be opened but the script still can't get the right dimensions, they you can set them in the script manually.

kyw

Post subject: Re: Side by Side to anaglyph

Posted: 28 Oct 2010, 11:06

Joined:28 Oct 2010, 02:07Posts: 5

Bloody wrote:

Do you have the FFDshow codec installed?

If you are not able to decode the video there is no way the script can know what is the width and height of the frame and thus cannot do the conversion, if the video can be opened but the script still can't get the right dimensions, they you can set them in the script manually.

Well, it's installed. But the problem is the video is mkv. Maybe that's the reason I can't make the program open the video. (btw I have matroska codec, vlc can play it). Last thing I can do is to conver mkv to avi or sth else, then try it again.

Bloody

Post subject: Re: Side by Side to anaglyph

Posted: 28 Oct 2010, 13:40

Site Admin

Joined:29 Apr 2010, 17:51Posts: 3148Location: Sofia, Bulgaria

You can also try replacing the FFVideoSource with DirectShowSource or manually setting the videoW and VideoH to the width and height of the video frame.

kyw

Post subject: Re: Side by Side to anaglyph

Posted: 28 Oct 2010, 14:41

Joined:28 Oct 2010, 02:07Posts: 5

Now it works for both MKV and FLV files. I still can't use FF~code, but as you said, I use directshowsource. Well, it works! Great!

Also, I edited code a bit to convert over-under 3D videos to anaglyph. Here it is.

Resizing before merging into anaglyph mode should be better in general...

UncleBob

Post subject: Re: Side by Side to anaglyph

Posted: 20 Dec 2010, 17:33

Joined:20 Dec 2010, 14:48Posts: 2

Ok, thanks... Thought it could save a few CPU cycles to perform the only resize.

LookAndSee

Post subject: Re: Side by Side to anaglyph

Posted: 17 Feb 2011, 22:11

Joined:17 Feb 2011, 22:04Posts: 1

So this problem seems to be solved - and whats about the other way - is there a possibility to convert red/cyan to sbs? ( the next question will be about conversion from over-and-under to side-by-side) If you have any idea - thanx in advance

Who is online

Registered users: Bing [Bot], Yahoo [Bot]

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum