VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    I have an anime One Piece original NTSC DVD9(720x480, 29.970 fps). I'd like to encode it to x264 .mkv using MeGUI and Avisynth. I use Yatta for the IVTC. My final Avisynth script is this :

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\decomb.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\dgdecode.dll")
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\fieldhint.dll")
    LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
    LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")


    function Preset0(clip c) {
    #Name: Default
    c
    return last
    }

    DGDecode_Mpeg2Source("E:\One Piece\Rawovi\VTS_01_PGC_01_1.d2v")



    FieldHint(ovr="E:\One Piece\Rawovi\VTS_01_PGC_01_1.d2v.fh.txt")
    FieldDeinterlace(blend=true,dthreshold=0)


    PresetClip0=Preset0()

    PresetClip0.Trim(0,43336)



    Decimate(cycle=5,quality=3,ovr="E:\One Piece\Rawovi\VTS_01_PGC_01_1.d2v.dec.txt")


    V = DGDecode_mpeg2source("E:\One Piece\Rawovi\VTS_01_PGC_01_1.d2v")
    A = FFAudioSource("E:\One Piece\Rawovi\VTS_01_PGC_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")

    AudioDub(V, A)
    trim(0,43336)
    crop( 4, 0, -12, 0)
    ConvertToYUY2()
    spatialsoften(2,5,15)
    ConvertToYV12()
    sharpen(.15,0)
    tweak(sat=1.10)
    import("C:\Program Files (x86)\AviSynth 2.5\AAA.avs")
    AAA(640,480,15,15,1,2,false)
    But I don't get the result I need. The IVTC is not properly done, I guess, because the output .mkv is still 29.970 fps instead of 23.976 fps and the video is not IVTC-ed or deinterlaced or something

    Screenshot :



    And then, the next frame is normal, as it should be.



    What am I doing wrong ?
    Quote Quote  
  2. Originally Posted by AlienWare View Post

    What am I doing wrong ?
    Everything. All that stuff before the V= and A= lines was ignored. And even before that there was never an IVTC, just a deinterlace (FieldDeinterlace) followed by decimation. Is there something wrong with using a simple TFM().TDecimate() (or Telecide().Decimate())? Modified slightly for NTSC anime.

    I don't use Yatta, but was any field matching supposed to have been done?
    Quote Quote  
  3. Yes, V=, A=, AudioDub(V,A) threw out everything you did earlier in the script.
    Quote Quote  
  4. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    Then what do I need to do so that it gets ivtc-ed and trimmed(video and audio) properly?

    EDIT : I think I managed to do it properly, at least it is how it is supposed to be in the MeGUI preview window. I will update this post when the encode finishes
    Last edited by AlienWare; 27th Aug 2011 at 09:13.
    Quote Quote  
  5. Did you do something like this?

    V = DGDecode_mpeg2source("E:\One Piece\Rawovi\VTS_01_PGC_01_1.d2v")
    A = FFAudioSource("E:\One Piece\Rawovi\VTS_01_PGC_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")
    AudioDub(V, A)
    trim(0,43336)
    TFM(hints="E:\One Piece\Rawovi\VTS_01_PGC_01_1.d2v")
    TDecimate()
    crop( 4, 0, -12, 0)...
    Quote Quote  
  6. Member
    Join Date
    Feb 2011
    Location
    Croatia
    Search Comp PM
    Yes, exactly that, and it worked as it should Except I didn't use TFM and TDecimate, but the script that Yatta gave me
    Quote Quote  



Similar Threads

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