or Connect
AVS › AVS Forum › 3D Central › 3D Tech Talk › left & right mkv into sbs mkv?
New Posts  All Forums:Forum Nav:

left & right mkv into sbs mkv?

post #1 of 18
Thread Starter 
I have been searching and reading for two days.A friend sent me a 3d video that is comprised of a left eye mkv,and a right eye mkv,that he watched on a stereoscopic player.Well I wanted to watch it on my 3d tv,but my computer isnt new enough to stream hd to my tv without stuttering,and i dont have an hdmi out.I have Sony Vegas 10 with 3d support,but it wont read an mkv,so i got mkvextractor,and vegas still wont read the h264 file i extracted. I am ,in no way, a video expert.And im getting confused about this.

What is the easiest way ,to get these 2 videos into a 3d sbs mkv?
post #2 of 18
I think avisynth can do that fairly easily and it's free. There are probably others as well.

I might be missing something but how can making this into one sbs file help if your computer is too slow to stream it?
post #3 of 18
Thread Starter 
I have the wd tv live hub,that plays sbs mkv fine.It just wont read 2 seperate files as one. I took a look at avisynth,but it started talking about writing scripts to make it do what you want,and I assumed I would instantly be lost. Is it less complicated than I thought?

EDIT: I just downloaded avisynth,and I dont see an executable,so it seems I am in over my head,and avisynth is a supplement for other programs? There must be a tutorial somewhere for what im trying to do using avisynth
post #4 of 18
Quote:
Originally Posted by freddyftbll View Post

I have been searching and reading for two days.A friend sent me a 3d video that is comprised of a left eye mkv,and a right eye mkv,that he watched on a stereoscopic player.Well I wanted to watch it on my 3d tv,but my computer isnt new enough to stream hd to my tv without stuttering,and i dont have an hdmi out.I have Sony Vegas 10 with 3d support,but it wont read an mkv,so i got mkvextractor,and vegas still wont read the h264 file i extracted. I am ,in no way, a video expert.And im getting confused about this.

What is the easiest way ,to get these 2 videos into a 3d sbs mkv?

Convert it to uncompressed AVI.

Mathew Orman
post #5 of 18
Thread Starter 
Quote:
Originally Posted by icester View Post

Convert it to uncompressed AVI.

Mathew Orman

What program do u suggest for that?

So i would:
1)extract the h264 from each mkv
2)convert them to avi
3)merge them into sbs with vegas
4)compress back into an mkv?
post #6 of 18
Quote:
Originally Posted by freddyftbll View Post

What program do u suggest for that?

So i would:
1)extract the h264 from each mkv
2)convert them to avi
3)merge them into sbs with vegas
4)compress back into an mkv?

Google for "mkv to avi"


Mathew Orman
post #7 of 18
Thread Starter 
I am well aware of google website,sir. Problem is,there are so many programs,plugins that its hard to decide what will work for ,what seems like a very simple task.

You have 870 posts on a forum to discuss audio/video,i was hoping for a more in depth reply than google it..?
post #8 of 18
Quote:
Originally Posted by freddyftbll View Post

I am well aware of google website,sir. Problem is,there are so many programs,plugins that its hard to decide what will work for ,what seems like a very simple task.

You have 870 posts on a forum to discuss audio/video,i was hoping for a more in depth reply than google it..?

I use WinX HD video converter.

http://www.winxdvd.com/hd-video-converter/

You can download the trial version, sir.

Mathew Orman
post #9 of 18
I found this with a quick search. VirtualDub would act as the frontend for avisynth and output the file. The scripting language is straightforward as I did some basic stuff with it, even creating a simple checkerboard output form left/right files but haven't gone much farther than that.


Use avisynth script in VirtualDub:


Code:
f1 = DirectshowSource("Right.mkv").ConvertToRGB32
f2 = DirectshowSource("Left.mkv").ConvertToRGB32


StackHorizontal(f1, f2)

I'm sure there are other, possibly simpler options, but this was the fist to come to mind.
post #10 of 18
Thread Starter 
thanks guys,will give these options a shot

EDIT:
OK im probably doing this wrong,but i put

Code:
f1 = DirectshowSource("d:/movies/Right.mkv").ConvertToRGB32
f2 = DirectshowSource("d:movies/Left.mkv").ConvertToRGB32


StackHorizontal(f1, f2)
into a txt,and saved it as my3d.avs , opened it with virtualdubmod,and its been saying (dub in progress) for a while now as it scrolls through the movie.Am i on the right track?
post #11 of 18
for a quick sanity check you could open the .avs file in windows media player to view the output. It will play slowly since it is doing the conversion in real time. you might also be doing other things in virtual dub like changing the output resolution that will not be shown by viewing the .avs output (will probably show a 3840x1080 sbs instead of a 1920x1080 sbs clip). I'm just guessing at a lot of this since I havn't played with this type of software much.
post #12 of 18
Quote:
Originally Posted by freddyftbll View Post

I have been searching and reading for two days.A friend sent me a 3d video that is comprised of a left eye mkv,and a right eye mkv,that he watched on a stereoscopic player.Well I wanted to watch it on my 3d tv,but my computer isnt new enough to stream hd to my tv without stuttering,and i dont have an hdmi out.I have Sony Vegas 10 with 3d support,but it wont read an mkv,so i got mkvextractor,and vegas still wont read the h264 file i extracted. I am ,in no way, a video expert.And im getting confused about this.

What is the easiest way ,to get these 2 videos into a 3d sbs mkv?

Greetings freddyftbll.

You may want to post this in the newbies forum over at doom9.

http://forum.doom9.org/forumdisplay.php?f=6
post #13 of 18
Quote:
Originally Posted by freddyftbll View Post

thanks guys,will give these options a shot

EDIT:
OK im probably doing this wrong,but i put

Code:
f1 = DirectshowSource("d:/movies/Right.mkv").ConvertToRGB32
f2 = DirectshowSource("d:movies/Left.mkv").ConvertToRGB32


StackHorizontal(f1, f2)
into a txt,and saved it as my3d.avs , opened it with virtualdubmod,and its been saying (dub in progress) for a while now as it scrolls through the movie.Am i on the right track?

Hope you have a big hard drive.
Full movie may take more than 100 GB to unpack.

There is a utility that does such conversion of stereoscopic content.

http://gl.tter.org/SSIFsucka/SSIFsucka_Beta3.exe

http://gl.tter.org/

Mathew Orman
post #14 of 18
Thread Starter 
thanks again for the replies!

@icester : i downloaded that program,and it seems to only accept ssif files for inputs,not mkv

I was letting virtualdub run overnight,to see the results,as it was taking a while,and of course windows updated my computer overnight,and rebooted,lol.

So before i started the project over,i played the avs file through windows media player,and rather than seeing 2 files running side by side,i saw 1 file "shorter" height wise than it should have been.It was 1/2 to 1/3 smaller from top to bottom,than if i player either original left or right file.Im starting to understand avisynth,I just gotta find the right commands to use with it i guess
post #15 of 18
Quote:
Originally Posted by freddyftbll View Post

thanks again for the replies!

@icester : i downloaded that program,and it seems to only accept ssif files for inputs,not mkv

I was letting virtualdub run overnight,to see the results,as it was taking a while,and of course windows updated my computer overnight,and rebooted,lol.

So before i started the project over,i played the avs file through windows media player,and rather than seeing 2 files running side by side,i saw 1 file "shorter" height wise than it should have been.It was 1/2 to 1/3 smaller from top to bottom,than if i player either original left or right file.Im starting to understand avisynth,I just gotta find the right commands to use with it i guess

I make this with avishynt

make a file with extension avs with this 3 lines:

left = DirectshowSource("left.mkv")
right = DirectshowSource("right.mkv")
StackHorizontal(left, right)

And open with virtualdubmod (the avs file) where left.mkv and right.mkv are in the same directory as the *.avs file

or:

how in my work:

left = DirectshowSource("I:\\0pelis\\mkv\\pelis\\Final v_Destination4-3D_L.mkv")
right = DirectshowSource("I:\\0pelis\\mkv\\pelis\\Final v_Destination4-3D_R.mkv")
StackHorizontal(left, right)

Where I:\\0pelis\\mkv\\pelis\\Final v_Destination4-3D_L.mkv is left.mkv and directory.

Then in video (in virtualdub) choose full conversion, the save as ....

Later probably you need resize the movie.

This script is copy of any I read in any post, by now I don't now how make resize at same time, probably is easy.

The time for final destination was (I remember - near 4 hours)

Info by: enrolao84


Full script for half SBS:

Code:

lv = DirectShowSource("left.mkv")
rv = DirectShowSource("right.mkv")
stacked = StackHorizontal(HorizontalReduceBy2(lv), HorizontalReduceBy2(rv))
ConvertToYV12(stacked)

If you have a video that requires crop, then the script becomes:

Code:

lv = DirectShowSource("left.mkv").crop(crop values)
rv = DirectShowSource("right.mkv").crop(crop values)
stacked = StackHorizontal(HorizontalReduceBy2(lv), HorizontalReduceBy2(rv))
ConvertToYV12(stacked)



Mathew Orman
post #16 of 18
Thread Starter 
thanks icester

I started virtualdub,with your script,fingers crossed, in the window i only see the left video and 1/4 of the right,but im hoping its there just not visible. We'll see in a few hours...

EDIT:
Started it after work,says 14 hours...we'll see how it goes
post #17 of 18
Does the left video look like it's full size or squished in half horizontally? If it's NOT squished, and assuming you want half sbs, then you need to include that function in the .avs file as Mathew shows in the stack line or as another line (BicubicResize?) to re-size the output file to 1920x1080.
post #18 of 18
Thread Starter 
i would like to thank everyone for thier help,the script icester posted was working,but (probably due to an error of mine),the output file was huge.So in the end,i found a beta of 3dmerge on filestube,merged the videos,and then remuxed them with mkvmerge.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: 3D Tech Talk
AVS › AVS Forum › 3D Central › 3D Tech Talk › left & right mkv into sbs mkv?