VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Hi!

    I stacked 4 videos using this code:

    Code:
    A=directshowsource("C:\Users\Sofia\Desktop\MVI_0660.MOV")
    B=directshowsource("C:\Users\Sofia\Desktop\MVI_0660.MOV")
    C=directshowsource("C:\Users\Sofia\Desktop\MVI_0660.MOV")
    D=directshowsource("C:\Users\Sofia\Desktop\MVI_0660.MOV")
    StackVertical(StackHorizontal(A,B),StackHorizontal (C,D))
    But when I play it, the video is sooo slow but the audio is just right.

    Please help! What should I do?

    Thanks!
    Quote Quote  
  2. Member olyteddy's Avatar
    Join Date
    Dec 2005
    Location
    United States
    Search Comp PM
    Get a more powerful PC?
    Quote Quote  
  3. So this is caused by my pc?
    Also, when I open this is in VirtualDub, there are parts which sort of pauses.
    But when I open this in windows media player, those pauses are gone but the video gets really slow.

    Thanks!
    Quote Quote  
  4. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    1) Avisynth is not intended for real-time playback,
    even though real-time playback is fine for "lightweight" scripts;

    2) You'd better mute the audio of each MOV source,
    and apply an AudioDub() to the assembled video stream.
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Code:
    DirectShowSource("C:\Users\Sofia\Desktop\MVI_0660.MOV")
    StackHorizontal(last,last)
    StackVertical(last,last)

    Originally Posted by El Heggunte View Post
    1) Avisynth is not intended for real-time playback,
    even though real-time playback is fine for "lightweight" scripts;
    As it's the same video repeated, you only have to source it once.
    That ran much easier than 4 different sources.

    Originally Posted by El Heggunte View Post
    2) You'd better mute the audio of each MOV source,
    and apply an AudioDub() to the assembled video stream.
    No need, the Stack... functions take the audio from only the first named source.
    Last edited by AlanHK; 13th Mar 2011 at 22:07.
    Quote Quote  
  6. Originally Posted by AlanHK View Post
    Code:
    DirectShowSource("C:\Users\Sofia\Desktop\MVI_0660.MOV")
    StackHorizontal(last,last)
    StackVertical(last,last)
    Originally Posted by El Heggunte View Post
    1) Avisynth is not intended for real-time playback,
    even though real-time playback is fine for "lightweight" scripts;
    As it's the same video repeated, you only have to source it once.
    That ran much easier than 4 different sources.

    Originally Posted by El Heggunte View Post
    2) You'd better mute the audio of each MOV source,
    and apply an AudioDub() to the assembled video stream.
    No need, the Stack... functions take the audio from only the first named source.

    Actually, I'll be using four different videos. I just placed the same file for testing.
    Will muting the audio really help? The video is like playing in slow motion, not just out of sync with the video.

    Thanks!
    Quote Quote  
  7. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by controlalt View Post
    Actually, I'll be using four different videos. I just placed the same file for testing.
    You might have said so and not wasted my time.


    Originally Posted by controlalt View Post
    Will muting the audio really help? The video is like playing in slow motion, not just out of sync with the video.
    Thanks!
    Read the rest of my post.


    In any case, it may play slowly but should encode correctly.
    Last edited by AlanHK; 13th Mar 2011 at 23:00.
    Quote Quote  
  8. Originally Posted by El Heggunte View Post
    1) Avisynth is not intended for real-time playback,
    even though real-time playback is fine for "lightweight" scripts;

    2) You'd better mute the audio of each MOV source,
    and apply an AudioDub() to the assembled video stream.
    How do you apply an AudioDub() to the assembled video stream?
    Could you type here the sample script?

    Thanks!
    Quote Quote  
  9. [QUOTE=AlanHK;2064277]
    Originally Posted by controlalt View Post
    Actually, I'll be using four different videos. I just placed the same file for testing.
    You might have said so and not wasted my time.

    Really sorry! Thanks for trying to help.
    Quote Quote  
  10. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by controlalt View Post
    Originally Posted by El Heggunte View Post
    2) You'd better mute the audio of each MOV source,
    and apply an AudioDub() to the assembled video stream.
    How do you apply an AudioDub() to the assembled video stream?
    The audio has nothing to do with the slowness, so you may not need to do anything.
    As AlanHK pointed out, with
    StackVertical(StackHorizontal(A,B),StackHorizontal (C,D))
    the audio is taken from A, and audio from B, C and D is ignored.
    If you want audio from C instead (for example), you would add
    AudioDub(C)
    Quote Quote  
  11. Originally Posted by Gavino View Post
    Originally Posted by controlalt View Post
    Originally Posted by El Heggunte View Post
    2) You'd better mute the audio of each MOV source,
    and apply an AudioDub() to the assembled video stream.
    How do you apply an AudioDub() to the assembled video stream?
    The audio has nothing to do with the slowness, so you may not need to do anything.
    As AlanHK pointed out, with
    StackVertical(StackHorizontal(A,B),StackHorizontal (C,D))
    the audio is taken from A, and audio from B, C and D is ignored.
    If you want audio from C instead (for example), you would add
    AudioDub(C)
    Thanks for this! I'll now try to compress the videos to a smaller size and see if fixes the slowness.
    Quote Quote  



Similar Threads

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