VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Jul 2013
    Location
    Sweden
    Search Comp PM
    Hi!

    I need help passing uncompressed audio in an avisynth script. I know that I can use virtualdub to do this step later but it would be easier if I could skip that step.

    This is my current script for my pal vhs conversions.

    AVISource("D:\Recordings\videohelp.avi")
    AssumeTFF()
    QTGMC(Preset="Slower", SourceMatch=3)
    Crop(8,0,-8,-0)
    Spline64resize(768,576)

    I prefer not to change colorspace. Using latest AvsPmod and avisynth 2.6.0.3 (dated january 14 2013)

    Is there anything you think that I should change in my rather basic script?

    A short huffyuv sample of my capture is attached. Captured on a Panasonic nv-hd960 with tbc and 3d dnr on. Through an Pioneer 555hx dvd-recorder to my Hauppauge USB-Live 2.

    Capture program used: AmarecTV Live v2.31

    Final destination format is mp4 using Handbrake or similar programs

    Thx
    Hakan
    Image Attached Files
    Quote Quote  
  2. Is there anything you think that I should change in my rather basic script?
    assuming your CPU has more than two cpu cores: use Avisynth MT
    I would probably:
    - add Stab() or another Stabilizer into the script
    - add some light denoising filter

    Final destination format is mp4 using Handbrake or similar programs
    Why the resizing then?
    Quote Quote  
  3. Member
    Join Date
    Jul 2013
    Location
    Sweden
    Search Comp PM
    Originally Posted by Selur View Post
    Is there anything you think that I should change in my rather basic script?
    assuming your CPU has more than two cpu cores: use Avisynth MT
    I would probably:
    - add Stab() or another Stabilizer into the script
    - add some light denoising filter

    Final destination format is mp4 using Handbrake or similar programs
    Why the resizing then?

    I've heard some people had problems with artifacts using MT so I skipped it.
    Just want the best possible quality. I don't know which metod to prefer. Resize in avisynth or in handbrake?
    Quote Quote  
  4. Why resize at all?
    Quote Quote  
  5. Member
    Join Date
    Jul 2013
    Location
    Sweden
    Search Comp PM
    The capture aspect ratio is 5:4 (720*576). It must be resized to 4:3 to look ok.
    Quote Quote  
  6. set the pixel aspect ratio properly in the container then.
    (also be sure not to mix up Display and Pixel aspect ratio)
    Last edited by Selur; 4th Aug 2013 at 16:46.
    Quote Quote  
  7. Member
    Join Date
    Jul 2013
    Location
    Sweden
    Search Comp PM
    Originally Posted by Selur View Post
    set the pixel aspect ratio properly in the container then.
    (also be sure not to mix up Display and Pixel aspect ratio)
    So quality wise you think it is best to do the resize (change pixel aspect ratio) in Handbrake?
    Quote Quote  
  8. No clue if Handbrake is able to only change the pixel aspect ratio which is only a container flag. (it does no active resizing)
    If it is not, I would reencode with Handbrake or whatever tool and later adjust the pixel aspect ratio in the container.

    Cu Selur
    Quote Quote  
  9. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I have no diea what the resize is about. The encoded origional is a 720x576 frame, which is standard for digital DVD (and SD-BluRay and AVCHD as well), which woiuld pklay back on a PAL DVD as a 4:3 frame. Resizing analog loses some quality anyway; also, cropping 16 pixels without restoring borders and stretching to 768 slightly alters the aspect ratio of your original image (the image inside the borders), and you end up with an uncentered bnorder anyway after resize (and did you notice chroma bleed into that right border in later frames?) But that's up to you. 768x576 is not valid for encoded PAL DVD, BD, or standard AVCHD. So I assume you want that frame size for PC-only display or web posting (and some sites might give you ssme flack on the frame size).

    Meanwhile I note your original equipoment is playing at inappropriate IRE and gamma settings. The image is washed out and starting to clip bright detail. Image brightness might also be causing more of the chroma bleed and corruption.

    original (high IRE and gamma):
    Image
    [Attachment 19192 - Click to enlarge]


    corrected -- but it would be better to capture at correct playback settings. I cropped but replaced borders and centered the image a bit.
    Image
    [Attachment 19193 - Click to enlarge]


    Code:
    COlorYUV(cont_y=5,off_y=-15,gamma_y=20,cont_v=-30,off_v=3,cont_u=-40,off_u=-8)
    Tweak(sat=1.4)
    I don't know why "MT" would make anything "better". It might run faster. But in my experience not many filters run in MT mode anyway, and it usually works only on good days with absolutely correct settings. But many enjoy it.

    I don't think there's a way to fix the bottom border damage. Some would crop it away, but it's possible that TV overscan will hide most of it.
    Last edited by sanlyn; 25th Mar 2014 at 09:49.
    Quote Quote  
  10. I don't know why "MT" would make anything "better". It might run faster.
    In my book, faster filters which don't cause problems are better.

    But in my experience not many filters run in MT mode anyway, and it usually works only on good days with absolutely correct settings. But many enjoy it.
    I read here from time to time that some mysterious user has some problems with some even more mysterious filter with Avisynth MT.
    Personally I normally use, the following list of scripts and filters, without a problem:
    Code:
    AddGrainC.dll
    AGC.dll
    ApplyInterlacedFilter.avs
    Average.dll
    avisynth.dll
    aWarpSharp.dll
    BlindDeHalo3_mt2.avs
    cnr2.dll
    ColorBalance.dll
    ColorMatrix.dll
    daa.avs
    DctFilter.dll
    deblock.dll
    Deblock_QED.avs
    Decomb.dll
    Deen.dll
    defreq.dll
    degrainmedian.dll
    Dehalo_alpha_mt.avsi
    DePan.dll
    DePanEstimate.dll
    DeVeed.dll
    dfttest.dll
    DGDecode.dll
    DGDecodeNV.dll
    DirectShowSource.dll
    dither.avsi
    dither.dll
    EdgeCleaner.avs
    EdgeSmoothFast.avs
    ediaa.avs
    EEDI2.dll
    eedi3.dll
    faa.avs
    FastLineDarkenMod.avs
    FFMS2.avsi
    ffms2.dll
    FFT3DFilter.dll
    FFT3dGPU.dll
    FineSharp.avsi
    flash3kyuu_deband.dll
    FluxSmooth.dll
    fturn-26.dll
    gradfun2db.dll
    HQDeringmod_v1.0.avsi
    hqdn3d.dll
    Hysteria.avsi
    ImageSequence.dll
    kernel32.dll
    libfftw3f-3.dll
    LimitedSharpenFaster.avs
    LoadDll.dll
    Logo.avs
    LSMASHSource.dll
    maa2.avsi
    MaskTools.dll
    MosquitoNR.dll
    Motion_12Dec05.dll
    MotionProtectedFPS.avsi
    Msmooth.dll
    mt_masktools-26.dll
    mt_xxpand_multi.avsi
    mvtools2.dll
    nnedi.dll
    nnedi2.dll
    nnedi3.dll
    NoiseGenerator.dll
    QTGMC-3.33.avsi
    RemoveDirt.avs
    RemoveDirtSSE2.dll
    RemoveGrainHDS.dll
    RemoveGrainSSE2.dll
    RepairSSE2.dll
    SalFPS3.avs
    SangNom.dll
    SangNom2.dll
    SPresso.avs
    Srestore.avsi
    SSE2Tools.dll
    Stab.avs
    STpresso.avs
    SupCore.dll
    SupTitle.dll
    TBilateral.dll
    TDeint.dll
    TemporalDegrain.avs
    TIVTC.dll
    TMM.dll
    Toon-v1.1.dll
    unblock.dll
    UnDot.dll
    VagueDenoiser.dll
    VariableBlur.dll
    vcomp.dll
    VerticalCleanerSSE2.dll
    vinverse.dll
    VSFilter.dll
    warpsharp.dll
    yadif.dll
    yadifmod.dll
    -> What filter do you use that do not work well with 32bit Avisynth 2.6a4 MT?

    Cu Selur
    Quote Quote  
  11. Member
    Join Date
    Jul 2013
    Location
    Sweden
    Search Comp PM
    Thanks Sanlyn for the input. I've got to try to correct the brightness /gamma then . Thanks for letting me know. Maybe there is a setting in my dvd recorder or the capture card proc amp that can fix it (or make it better).

    The material will not end up on discs. Only for pc / ipad /apple tv use.
    Quote Quote  



Similar Threads

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