VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. How to join the video that has been split from multiple source with avisynth?

    file1
    Code:
    LoadPlugin("C:\Users\Pengguna\Music\MeGUI-2774-32\tools\lsmash\LSMASHSource.dll")
    LWLibavVideoSource("C:\Users\Pengguna\Videos\New folder (4)\01.ts")
    LoadPlugin("C:\Users\Pengguna\Music\MeGUI-2774-32\tools\avisynth_plugin\yadifmod2.dll")
    Yadifmod2(order=1)
    #crop
    Spline36Resize(1280,720) # Spline36 (Neutral)
    #denoise
    
    __film = last
    __t0 = __film.trim(1639, 23163)
    __t0

    file2
    Code:
    LoadPlugin("C:\Users\Pengguna\Music\MeGUI-2774-32\tools\lsmash\LSMASHSource.dll")
    LWLibavVideoSource("C:\Users\Pengguna\Videos\New folder (4)\02.ts")
    LoadPlugin("C:\Users\Pengguna\Music\MeGUI-2774-32\tools\avisynth_plugin\yadifmod2.dll")
    Yadifmod2(order=1)
    #crop
    Spline36Resize(1280,720) # Spline36 (Neutral)
    #denoise
    
    __film = last
    __t0 = __film.trim(1317, 17746)
    __t0
    file3
    Code:
    LoadPlugin("C:\Users\Pengguna\Music\MeGUI-2774-32\tools\lsmash\LSMASHSource.dll")
    LWLibavVideoSource("C:\Users\Pengguna\Videos\New folder (4)\03.ts")
    LoadPlugin("C:\Users\Pengguna\Music\MeGUI-2774-32\tools\avisynth_plugin\yadifmod2.dll")
    Yadifmod2(order=1)
    #crop
    Spline36Resize(1280,720) # Spline36 (Neutral)
    #denoise
    
    __film = last
    __t0 = __film.trim(1046, 5933)
    __t1 = __film.trim(5934, 9374)
    __t2 = __film.trim(9375, 11494)
    __t3 = __film.trim(11495, 11805)
    __t0 ++ __t2 ++ __t1 ++ __t3
    i want to join the 3 different source to 1 video.
    Quote Quote  
  2. Since you already have three working scripts: you can open AviSynth scripts in another AviSynth script with AviSource:

    Code:
    v1 = AviSource("script1.avs")
    v2 = AviSource("script2.avs")
    v3 = AviSource("script3.avs")
    
    v1+v2+v3
    Quote Quote  
  3. Member
    Join Date
    Nov 2013
    Location
    Western Australia
    Search Comp PM
    I just came across this thread after needing something similar, I am trying to combine just two videos.

    However I also need audio. Any tips? An example would be preferable because my avisynth knowledge is bad.
    Last edited by WAusJackBauer; 30th Dec 2022 at 10:20.
    Quote Quote  
  4. Originally Posted by WAusJackBauer View Post
    I just came across this thread after needing something similar, I am trying to combine just two videos.

    However I also need audio. Any tips? An example would be preferable because my avisynth knowledge is bad.

    Are they the same characteristics ? Dimensions, frame rate, pixel type, audio sample rate etc...
    Code:
    aud1=LWLibavAudioSource("video1.ext")
    vid1=LWLibavVideoSource("video1.ext")
    av1=AudioDub(vid1,aud1)
    
    aud2=LWLibavAudioSource("video2.ext")
    vid2=LWLibavVideoSource("video2.ext")
    av2=AudioDub(vid2,aud2)
    
    av1 ++ av2
    Quote Quote  



Similar Threads

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