VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Feb 2009
    Location
    India
    Search Comp PM
    I am just trying to learn the nuances of avisynth and decided to try out something using virtualDubMod.

    I wrote a small script in avisynth to normalize a small file containing a song.

    The file was a size 87 MB, with a length of 5:16 min.

    Now when I load my script file in virtualDubMod, and save it as .avi with option "Direct Stream Copy" it produces a file of size 2.5 GB for this small song file.

    Here is my script file.

    clip=AVISource("trial_video.avi", False)
    aud=WAVSource("trial_audio.wav")
    aud=normalize(aud,0.95)
    AudioDub(clip,aud)
    ResampleAudio(48000)

    This is more from a learning perspective. I was trying out the audio options of avisynth.

    Is there any place where I could set the video bit rate. Seems the encoded bit rate with virtualDubMod is very high.

    Moreover in QuEnc encoder things work just fine in terms of expected file size since I set the bit rate to around 2000.
    Can someone let me know how bit rates are set in virtualDubMod ?
    Quote Quote  
  2. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    Avisynth outputs uncompressed video and audio.
    A "direct stream copy" of an uncompressed source will not be small.
    Quote Quote  
  3. Member
    Join Date
    Feb 2009
    Location
    India
    Search Comp PM
    But I would like to process my video without any encoding.

    My intent is to first demux the audio (already done).

    Make some changes to the audio stream, remux with video and then save the file.

    In fact I want the virtualDubMod not to do any video processing.
    Quote Quote  
  4. use virtualdub instead, as it allows you to "use audio from other file"

    But as midzuki says using avs script will give you uncompressed (i.e. whenever you use avs script, you have to re-encode). So open the original AVI file directly without avs script:

    video=>direct stream copy
    audio=> direct stream copy, audio from other file (point to your new audio, normalized in another application - e.g. eac3to)
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by pranab31
    But I would like to process my video without any encoding.
    In that case you can't use Avisynth. It creates a virtual AVI file with no compression and gives that to VirtualDub or whatever you use that opens the AVS file.
    Quote Quote  



Similar Threads

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