Username:
B
I
U
S
"
url
img
#
code
sup
sub
font
size
color
smiley
embarassed
thumbsup
happy
Huh?
Angry
Roll Eyes
Undecided
Lips Sealed
Kiss
Cry
Grin
Wink
Tongue
Shocked
Cheesy
Smiley
Sad
1 page
--
--
List results:
Search options:
Use \ before commas in usernames
I really wanted to watch the 2 player speedrun of Doom2 having both videos play side by side. I was having trouble finding a Avisynth script to merge 2 videos horizontally to each other. I just wanna be able watch them together in Virtualdub.

Can anyone help me? Thanks.
Thread title:  
Edit history:
dex: 2008-08-14 06:07:42 am
Invisible avatar
Code:
a=avisource("your_vid_on_the_left").lanczos4resize(320,240).Trim(frames)
b=avisource("your_vid_on_the_right").lanczos4resize(320,240).Trim(frames)
final=StackHorizontal(a,b).ConvertToYV12()
return final

That will return you a 640x240 video with the first vid on the left, second on the right, and with the audio from the first vid (you can of course make a different size etc. with ease, I'm sure you'll be able to edit it to your liking. StackHorizontal is what you're looking for, though).

If you want audio from both clips, uh, wait a sec while I write the mixing script. Smiley

EDIT: Here you go:
Code:
a=avisource("your_vid_on_the_left").lanczos4resize(320,240).Trim(frames)
b=avisource("your_vid_on_the_right").lanczos4resize(320,240).Trim(frames)
final=StackHorizontal(a,b).ConvertToYV12()
audio=MixAudio(a, b, 0.5)
return AudioDub(final, audio)
Thanks for the code, but I'm still having a problem. It says megui couldn't find a decompressor for fourcc x264. I have everything downloaded for megui and the right Microsoft framework to run megui, I think this may also be the reason why it doesn't work in VDub. All VDub says is an unknown error.

Thanks again if you can help.
Yarr
Try setting the H.264 decoder to libavcodec in the ffdshow VFW interface.
Quote from Poesta:
Try setting the H.264 decoder to libavcodec in the ffdshow VFW interface.

No luck I can't get into the ffdshow VFW interface options. I have the ffdshow, ffvfw. I can add videos to play with ffdshow, but i don't have x.264 i have x.263+ which I'm suspecting isn't the same thing.
Edit history:
Poesta: 2008-08-14 06:00:06 pm
Yarr
You're mixing up terms. x264 is a library used for encoding in H.264. xH.263+ is and older video codec. To get into the VFW interface, make a shortcut with

Target: C:\WINDOWS\system32\rundll32.exe ff_vfw.dll,configureVFW
Start in: C:\WINDOWS\system32


Hope that works for you.
This is in the KB.

http://speeddemosarchive.com/kb/index.php/General_advice#Load_H.264.2FAAC_MP4_in_VirtualDub.28Mod.29
Yarr
Yes, but he said he couldn't get into the interface. I had the same thing when I deleted the shortcuts in the start menu. According to the kb, you don't need the VFW config but the normal video config. The target is

C:\WINDOWS\system32\rundll32.exe ffdshow.ax,configure
Edit history:
Snuvs: 2008-08-14 11:36:45 pm
Quote from Poesta:
Yes, but he said he couldn't get into the interface. I had the same thing when I deleted the shortcuts in the start menu. According to the kb, you don't need the VFW config but the normal video config. The target is

C:\WINDOWS\system32\rundll32.exe ffdshow.ax,configure


It says it can't find the ffdshow.ax module. So I found it in the ffdshow folder I DLed and copied ffdshow.ax into the System32 folder. It still came up wit the same problem. *sigh*

I should mention I have Vista x64 edition. So I think this may be the reason for these problems.

EDIT: So I deleted and uninstalled all my FFDshow stuff, and my ffvfw stuff. I then reinstalled FFDshow. Well Virtualdub still has problems loading the avs script, but meGUI works just fine. I have no problem encoding the video before I watch it. But I wanna say when I used another script in Virtualdub it didnt work, but the raw avi file from fraps worked, its just my mp4 files dont. So I think my virtualdub is having problems.

EDIT2: Well I encoded the videos with meGUI and the videos is perfect. I just really wanna figure this crap out with Virtualdub. I may just reinstall VDub and hope that fixes it.
Edit history:
Poesta: 2008-08-15 04:55:30 am
Yarr
If avisource( ) doesn't work, try directshowsource( ).

edit: Well, both work for me. I'm using VirtualDub 1.8.4. The weird thing is, both videos are aproximately 360 MB, but VirtualDub says the new projected file size is 9,2 GB. Shocked

edit: Nevermind, I'm doing a fast recompress now. @Snuvs: Make sure you've got the 64-bit version of VirtualDub. You don't want to drive a Ferrari with 60 mph, if you know what I'm saying. Wink