VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Hi all,

    I have done some searching on what I want to do but only found information from years ago and I am hoping that something better has come along. I am trying to take 4 avi files of some races I shot and attach them together with a fade out in between. I also want to use some of the virtual dub filters on the video to smooth it and MSU smart deblocker to make the picture look better so when i burn it to DVD it will look pretty good. I have the burning to DVD method down, I need ideas or advise on how to load a video put in a transitiion and then do the next video, and so on until all the videos are loaded with transitions in between them and then run the whole thing through the smoother filter and MSU smart deblocker. Any ideas or suggestions would be greatly appreciated? If anyone suggest AVISYnth, please send code and how to use because I sure am lost trying to figure that out at this time.

    Thanks in advance..
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Fades in Vdub : http://au.youtube.com/watch?v=B4QJCDg2mXY

    There may be better ways in the latest version, but I don't use vdub for this type of work.

    If you need to use different settings for cleaning up each clip then do this processing first on a clip by clip basis, saving each clip out using a lossless codec. Once you have cleaned all the clips you can append them in virtualdub and add the fades.
    Read my blog here.
    Quote Quote  
  3. Hello,

    Thanks for the info. I will look into it. I am also wanting to try this in AVISynth as I read more on it, but I am running into problems when trying to combine the videos it keeps saying they are not compatible fps which I know they are as I shot them all with the same camera and settings. I am getting fpsrate not the same error.

    Here is the code I have been playing with:

    video1=AVISource("E:\My Videos\HCS_10_11_08\Heats\AVI\100_2463.avi")
    video2=AVISource("E:\My Videos\HCS_10_11_08\Heats\AVI\100_2464.avi")
    AlignedSplice(video1,video2)

    I am totally new at this, the videos are both 30 fps avi converts of mov files shot from Kodak digital camera, but i want to learn how to do this over time.

    Any help is appreciated...
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    post g-spots of both files to confirm that something didn't change during the conversion
    Read my blog here.
    Quote Quote  
  5. Hello,

    The problem they are 30.x fps where x is never the same, so now the question is what can I do? The originals are MOV files from the camera and they are the same speed as avi files I tried to convert. I am trying to do the above with a few encodings as possible as I do not want to lose any more quality then I have to. Please tell this major newbie what to do or try?

    Thanks..
    Quote Quote  
  6. Hi all...

    I got it, please let me know if there is anything I can do to improve this code as I am an old programmer, but not fimilar with all the tricks of this language:

    vid00=AVISource("100_2463.avi")
    vid01=vid00.AssumeFPS(29.970000)
    vid04=vid01.FadeOut2(50)
    vid02=AVISource("100_2464.avi")
    vid03=vid02.AssumeFPS(29.970000)
    AlignedSplice(vid04,vid03)
    ResampleAudio(44100)
    Quote Quote  
  7. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    If they are AVI files, then you can use Avidemux to join the files. Choose yes when it asks if you want to Smart Render. That way, it doesn't recompress the file.

    I use Virtualdub 1.8.6 and use the Fill filter in Blend Mode with the Curve Editor to fade in and out from black. Then I choose Full Compression > Compression > choose the codec that was originally used to compress the AVI > choose Smart Render > save AVI. This will Direst Stream Copy all of the movie except where you put the fades.

    I'll make a small guide and post it to show how it's done.
    Quote Quote  
  8. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by helper
    Hi all...

    I got it, please let me know if there is anything I can do to improve this code as I am an old programmer, but not fimilar with all the tricks of this language:
    Exactly the same result, but maybe more elegantly, using the . and ++ operators::

    Code:
    AVISource("100_2463.avi").Assumefps("ntsc_video",true).FadeOut2(50) ++\
    AVISource("100_2464.avi").Assumefps("ntsc_video",true)
    ResampleAudio(44100)
    It's like Perl, there are lots of syntactical tricks that save time (and potentially obfuscate the code beyond recognition...)
    See http://avisynth.org/mediawiki/Main_Page#New_to_AviSynth_-_start_here

    Also, try SSRC(44100,false) instead of ResampleAudio.
    It does not work in all cases, but when it does it gives a better result.

    But why are you resampling? If it's to make them match, you need to resample each one before joining, otherwise you will get an error: eg:
    Code:
    AVISource("100_2463.avi").Assumefps("ntsc_video",true).ResampleAudio(44100).FadeOut2(50) ++\
    AVISource("100_2464.avi").Assumefps("ntsc_video",true).ResampleAudio(44100)
    Quote Quote  
  9. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    Here's the Virtualdub guide. Make sure when you make the curve that you keep the outside points all the way to the bottom or you'll end recoding the whole clip. To set the points of the curve, hold down the sift key and left click the mouse. You can adjust the the points out as far as you need them to get the effect that you're looking for. If you need the black to stay black longer, you can add more points to the top.





    Quote Quote  
  10. Hello,

    Thank you all for the ideas.

    Alanhk, I was doing the resample, as I learned to do the coding with AVSGenie not the best code but it helped me to learn it. So, is the resample necessary or should it be done for each one, I thought the way I had it that it would do it to the final video only.

    DarrelS, that is so cool. Talk about making it easier to learn something. Thanks a ton.
    Quote Quote  
  11. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    MSU Deblock in Vdub
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  12. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by helper
    Alanhk, I was doing the resample, as I learned to do the coding with AVSGenie not the best code but it helped me to learn it. So, is the resample necessary or should it be done for each one, I thought the way I had it that it would do it to the final video only.
    Clips have to have the same fps, size and audio sampling rate before you can join them. You'll get an error message when you play the script otherwise.

    If not, they're all the same, so you can do one resample after the join.

    Why are you changing the sample rate? If it's already 44,100 no need (though I suspect it may be a no-op in that case).

    And if you are doing any AVS coding at all, I highly recommend AvsP.
    VirtualDubMod (not the main release of VirtualDub) has a useful, simple script editor built in.
    The Doom9 forum is the place to go for discussion and questions and lots of sample code.
    Quote Quote  



Similar Threads

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