VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Aug 2005
    Location
    AKL, NZ
    Search Comp PM
    Hi all,

    I have been working with Avisynth for sometime and am more then pleased with the out come.
    Reading up on forum has provided most the answers needed, until now. If someone could point me
    in the right direction I would be grateful.

    I have a 20 min film section that has been coverted from 24 fps to 29.97 fps.
    I would like to take it back to 24 and the encode to 25 fps for our system (PAL)

    I have been able to select the correct frames (fields) with "Select Every" How ever it seem this clip has had some last minute editing and the sequence chances. I can pick up the second sequence no problem.

    My question how do I script for Avisynth that I need to "Select Every" a second time at say frame
    39825?

    My script so far.

    MPEG2Source("I:\Speedway\First\VTS_01_1.d2v",idct= 0)
    AssumeFrameBased()
    AssumeTFF()
    ConvertToYUY2(interlaced=true)
    SeparateFields()
    SelectEvery(10,1,2,3,4,6,7,8,9)
    Weave()

    Any help would be grateful.
    Quote Quote  
  2. Hi-

    Trying to IVTC using SeparateFields and SelectEvery isn't such a good idea. If the cadence breaks even once, there goes your nice progressive image, as you found out. Much better would be to use one of the AviSynth IVTCs, such as Decomb, TIVTC, or SmartDecimate.

    For PAL you can either run the 720x576 MPV through DGPulldown set for 23.976->25fps, allowing the audio to remain unchanged, or add AssumeFPS(25) at the end of the script to make it 25fps, but also necessitating reencoding and speeding up the audio.

    However, if you insist on doing it your way, then something like this will work. If the cadence change takes place, say, after frame #1000, then:

    Trim1=Trim(0,999).SeparateFields().SelectEvery(bla h, blah).Weave()
    Trim2=Trim(1000,0).SeparateFields().SelectEvery(bl ah, blah).Weave()
    Trim1+Trim2

    http://www.avisynth.org/Trim
    http://www.avisynth.org/Splice
    Quote Quote  
  3. Member
    Join Date
    Aug 2005
    Location
    AKL, NZ
    Search Comp PM
    Thanks for your feedback Manono.
    I enjoy trying new ways of working video, however I decided to act on your thoughts and work
    with Decomb and the process setup perfectly

    Cheers
    Quote Quote  



Similar Threads

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