VideoHelp.com Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date: Aug 2005
    Location: AKL, NZ
    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
    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

  1. Should i use and avisynth script for Dv ?
    By smartel in forum Newbie / General discussions
    Replies: 0
    Last Post: 10th Mar 2012, 08:29
  2. Need Help with My AviSynth Script
    By Enkidu in forum Newbie / General discussions
    Replies: 3
    Last Post: 21st Jan 2011, 21:37
  3. Avisynth Script Help
    By jamhat in forum Video Conversion
    Replies: 2
    Last Post: 29th Nov 2009, 06:13
  4. Avisynth script
    By daz2712 in forum Video Conversion
    Replies: 2
    Last Post: 19th Aug 2009, 11:08
  5. avisynth script
    By magenta2007 in forum SVCD2DVD & VOB2MPG
    Replies: 7
    Last Post: 25th Sep 2007, 11:29
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools