VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Dec 2006
    Location
    Norway
    Search Comp PM
    I am new to using Virtual Dub and I am trying to use it for editing a DVB-T stream as described here: https://forum.videohelp.com/topic356036.html
    Problem is that any file I feed into Virtual Dub, it only loads the first 920 frames (about 35 seconds) or so of the video... (even if the recorded .ts file is 2 hours long). I am just wondering if it's something very basic I am missing or if it has something to do with the format of the file (MPEG4, H264).
    Here is the avisynth script I am using:
    Code:
    vid=DirectShowSource("J:\test.ts",fps=25,convertfps=true,audio=false) 
    aud=wavsource("j:\test.wav") 
    aud=DelayAudio(aud,.1007) 
    audiodub(vid,aud) 
    Load_Stdcall_Plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll") 
    Yadif(order=1) #top field first 
    Crop(10,2,-8,0) 
    LanczosResize(720,576) 
    Trim(150,1072)
    Quote Quote  
  2. Trim(150, 1072)

    Do you understand what Trim means?
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  3. Trim(150,1072): throw away frames 0 to 149. Keep frames 150 to 1072. Throw away any frames after frame 1072.
    Quote Quote  
  4. Member
    Join Date
    Dec 2006
    Location
    Norway
    Search Comp PM
    OK, thanks very much for the reply. I am still a noob at scripts and that line totally slipped my mind.
    Quote Quote  



Similar Threads

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