VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    May 2005
    Location
    Eugene, Oregon USA
    Search Comp PM
    I am using avisynth to frameserve to tmpg. It's gvi because its from google. Here is what I've got so far...

    a=AVIFileSource("D:\Daniels\Google video\2.gvi").Lanczos4Resize(352,240)
    b=GetLeftChannel(a).Normalize(.98)
    c=GetRightChannel(a).Normalize(.98)
    d=MergeChannels(b,c).ResampleAudio(48000)
    AudioDub(a,d)

    I'm wondering if I should change the colorspace too because avisynth does everything better than TMPG. I just don't know what colorspace a DVD is. The colorspace of the original file is yv12.

    Thanks
    Multimedia Design student getting an AAS in Springfield, Oregon. I like Gymnastics and DVD authoring. I think the two go nicely together.
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Tmpgenc works in RGB, so your AVS script should convert the colourspace to RGB instead of tmpgenc.
    Read my blog here.
    Quote Quote  
  3. Hi-

    I've never seen or worked with a Google video, so I'll take it from you that the script works. GetChannel is more streamlined these days:

    a=AVIFileSource("D:\Daniels\Google video\2.gvi").Lanczos4Resize(352,240)
    b=GetChannel(a,1,2).Normalize(.98).ResampleAudio(4 8000)
    AudioDub(a,b)
    ConvertToRGB24()

    http://www.avisynth.org.ru/docs/english/corefilters/getchannel.htm

    TMPGEnc accepts RGB24. Like all MPEG-2 encoders, it'll output YV12.
    Quote Quote  



Similar Threads

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