VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Another question for the AviSynth gurus!

    I have an uncompressed RGB AVI that i'm feeding through an AviSynth script before conversion.

    I was wondering if I have placed my "ConvertToYV12()" command in the right order:

    #ASYNTHER Default (AVISource)
    AVISource("E:\XYZ project\Uncompressed AVI exports\Sequence 01 (lagarith RGB).avi")
    ConvertToYV12()
    RemoveGrain()
    Tweak(sat=1.15)
    Lanczos4Resize(720,304,0,60,0,-56)
    LimitedSharpen()

    It seems logical to get the colorspace conversion out of the way first, and it produces nice Xvid files.

    But the reason I'm asking is that when I feed the same script into Staxrip for x264 MP4 encoding, the modified output script generated by Staxrip itself has the command ConvertToYV12() inserted again in the last line.

    Any ideas?
    Quote Quote  
  2. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Your placement is correct (and necessary), as RemoveGrain only accepts planar (YV12) input.
    Staxrip always adds ConvertToYV12 at the end, since it doesn't 'know' whether you already have one in your script.
    If the output is already YV12 at that point, ConvertToYV12 will do nothing, so no time is wasted.
    Quote Quote  
  3. Great - thankyou!
    Quote Quote  



Similar Threads

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