I installed VirtualDub 1.10.4 and newest version of AviSynth.
I tried both
clip1=AVISource("C:\path\to\file1.avi")
clip2=AVISource("C:\path\to\file2.avi")
StackHorizontal(clip1, clip2)
and
clip1=DirectShowSource("C:\path\to\file1.avi")
clip2=DirectShowSource("C:\path\to\file2.avi")
StackHorizontal(clip1,clip2)
by "file"-"open video file" in VirtualDub.
However, it couldn't open the video and showed "AVI importer fileter error: (Unknown)(80040154)".
Anyone who can help me fix the issue.
Thank you very much.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
My VirtualDub can open the videos individually. However, when I tried to put two videos side by side using AviSynth, VirtualDub somehow couldn't read the AVS. code.
-
I just wonder what kind of code I can apply in VirtualDub to introduce two videos side by side.
How to run AVISynth code in VirtualDub? -
Assuming the names and paths are correct, the 'code' is also correct. You're using StackHorizontal correctly. Maybe the problem is the audio. Try this:
clip1=AVISource("C:\path\to\file1.avi",false)
clip2=AVISource("C:\path\to\file2.avi",false)
StackHorizontal(clip1, clip2)
Try opening just one:
AVISource("C:\path\to\file1.avi")
and then the other.
Or provide the information I originally requested. -
Here are the information of my video. I did make the names and paths right in my code. Any clue?
General
Complete name : C:\Users\Qingfeng\Desktop\video\Movie 5-cropped.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 1.68 GiB
Duration : 15s 0ms
Overall bit rate : 962 Mbps
Writing application : Lavf52.54.0
Writing library : VirtualDub build 35491/release
Video
ID : 0
Format : RGB
Codec ID : 0x00000000
Codec ID/Info : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
Duration : 15s 0ms
Bit rate : 962 Mbps
Width : 1 023 pixels
Height : 1 305 pixels
Display aspect ratio : 0.784
Frame rate : 30.000 fps
Bit depth : 8 bits
Bits/(Pixel*Frame) : 24.023
Stream size : 1.68 GiB (100%) -
The following is the information of another files.
General
Complete name : C:\Users\Qingfeng\Desktop\video\Movie 7-cropped3.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 1.68 GiB
Duration : 15s 0ms
Overall bit rate : 962 Mbps
Writing application : Lavf52.54.0
Writing library : VirtualDub build 35491/release
Video
ID : 0
Format : RGB
Codec ID : 0x00000000
Codec ID/Info : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
Duration : 15s 0ms
Bit rate : 962 Mbps
Width : 1 023 pixels
Height : 1 305 pixels
Display aspect ratio : 0.784
Frame rate : 30.000 fps
Bit depth : 8 bits
Bits/(Pixel*Frame) : 24.023
Stream size : 1.68 GiB (100%) -
Other than the fact that it's a HUGE bitrate, and it's portrait mode, and it's using odd-numbered dimensions (which might bother many encoders), not sure. Maybe the 2 source filters are also picky about odd-numbered dimensions. Maybe you need to specify RGB24 as the colorspace (pixel_type).
Scott -
Going for the longest old-thread warning...
I'm trying to compare two videos which have different frame rates, one 25 and the other 50. Both are Progressive (I encoded them with QTGMC FPS divisor 2 and 1 respectively).
Code:SetFilterMTMode ("QTGMC", 2) AVISource("I:\Roberts\Capture Masters\Christmas\Christmas.avi") ConvertToYV12() AssumeBFF() QTGMC(preset="Fast", FPSDivisor=1, EdiThreads=8) Prefetch(20)
When I put them together with Manono's code, the 50 video (left video) plays at the correct speed, whereas the 25 video (right video) plays at double speed in VDub.
Any thoughts on making them play at the same "speed" ie as if I was playing them in separate windows of VLC Player, hitting "play" at the same time?
Code:clip1=AVISource("Christmas FPS 1.avi") clip2=AVISource("Christmas FPS 2.avi") StackHorizontal(clip1, clip2)
Code:StackHorizontal(clip1.subtitle("50"), clip2.subtitle("25FPS"))
Last edited by Alwyn; 1st Jun 2023 at 09:44. Reason: Side question revised.
Similar Threads
-
Encoding a side-by-side passive video so that is auto-detected
By tkdoherty in forum Video ConversionReplies: 5Last Post: 18th Apr 2020, 06:33 -
Avisynth to ffmpeg - Comparison between two videos side by side
By mapg in forum Video ConversionReplies: 5Last Post: 17th Mar 2015, 13:00 -
Best way to shoot video for 2 side by side profile images?
By Tommy2013 in forum Newbie / General discussionsReplies: 4Last Post: 26th Mar 2013, 10:45 -
How to put two videos side by side
By Videographer in forum EditingReplies: 3Last Post: 12th Oct 2011, 20:57 -
[solved]3d side-by-side capture and conversion to anaglyph using VirtualDub
By jumpjack in forum CapturingReplies: 21Last Post: 13th Apr 2011, 19:23