VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    May 2007
    Location
    Russian Federation
    Search Comp PM
    Hello!

    This is my first use of AVISynth. I am trying to convert 1,5 hours of AVCHD clips into DVD format. My source video is in about 200 short clips. I want to splice all files together in a single script. The problem is that I can't merge more than 15 minutes of video in a single script - AVISynth quickly uses up all system memory and throws an exception. (Actually, AVCSource() throws the exception) My PC is Pentium 4, 768 Mb RAM. Is it technically possible to process the whole video at once? What am I doing wrong?

    Here is my script:
    Code:
    LoadPlugin("dgavcdecode.dll")
    LoadPlugin("LeakKernelDeint.dll")
    
    AVCSource("00001.dga") ++ \
    AVCSource("00002.dga") ++ \
    
    ...
    
    AVCSource("00200.dga")
    
    LeakKernelDeint(order=1)
    BilinearResize(720, 576)
    
    ConvertToYUY2()
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    You should ask neuron2 at doom9.org. He wrote DGavcdecode
    Quote Quote  
  3. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    If you cant get it to work with Avisynth, you can always merge all clips together into one with TsMuxer. You may have to rename all extensions to m2ts.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  4. Member
    Join Date
    May 2007
    Location
    Russian Federation
    Search Comp PM
    Thank you for the replies!

    As a new user at doom9.org, I can't post there until Friday.

    Is it in general a good idea to make a single movie from several hundred short clips by splicing them in AVISynth?

    I have concerns that AVISynth is not meant to do this task. It has no problem frameserving a single file regardless of its length, but as I add more splices to the script, memory usage explodes. I used both DirectShowSource and AVCSource, they both fail at some point because of memory starvation. If I use DirectShowSource (with CoreAVC and Haali Splitter), the tray becomes full of Haali Splitter icons. Therefore I suppose that for each splice AVISynth at least starts a new instance of decoder - which consumes lots of memory.

    So, have you ever successfully used AVISynth for merging many clips together?

    After I failed with AVISynth, I demuxed video and audio with xport.exe, then merged the .264 files using the copy command. It also did not work for me... But this is going to be my next question. For now I would like to know whether it is technically possible to use AVISynth for my purpose at all.
    Quote Quote  
  5. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    Here goes my slightly-insane suggestion of the day :

    Wrap all your "NNNNN.ext" video segments in an uncompressed .ZIP archive,
    change the extension of the .ZIP, try to open it with Avisynth's DirectShowSource().

    So, have you ever successfully used AVISynth for merging many clips together?
    Yes, but I have never tried to join more than ten or twelve video segments.
    Quote Quote  



Similar Threads

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