VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. 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.
    Quote Quote  
  2. What kind of audio and video codecs were used for the AVI. VDub won't open every kind of AVI natively. If you don't know, check with MediaInfo or post a text file from it here.

    Or try a different way to open them other than AVISource, FFVideoSource perhaps.
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Re-read manono's response.

    What Vdub can read & what AVISynth can read can be two very different things (AVISynth->Vdub is frame-serving uncompressed, so what matters is the input to AVISynth).

    Scott
    Quote Quote  
  5. 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?
    Quote Quote  
  6. 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.
    Quote Quote  
  7. 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%)
    Quote Quote  
  8. 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%)
    Quote Quote  
  9. I haven't a clue. Sorry. Perhaps someone else can help.
    Quote Quote  
  10. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    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
    Quote Quote  
  11. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    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)
    Side question: how do I put the filename on each video in the side-by-side arrangement? I've played around with "Info" but couldn't get the second video data to display. I've found this:

    Code:
    StackHorizontal(clip1.subtitle("50"), clip2.subtitle("25FPS"))
    But can't work out how get the filename into the subtitle automatically, ie without typing it in.
    Last edited by Alwyn; 1st Jun 2023 at 09:44. Reason: Side question revised.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!