VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member
    Join Date
    Aug 2023
    Location
    Goiânia
    Search Comp PM
    I'm trying to convert a video from 29 fps to 59 with ChangeFPS (to make it fluid and smooth) in Avisynth, but the result of the video is completely accelerated, could anyone help me with a script for this?
    Quote Quote  
  2. Mr. Computer Geek dannyboy48888's Avatar
    Join Date
    May 2007
    Location
    Texas, USA
    Search Comp PM
    Before changefps("ntsc_double") put a line above it with assumefps("ntsc_video"). If the video is vfr it will lose sync but for cfr wit should work fine.
    if all else fails read the manual
    Quote Quote  
  3. Member
    Join Date
    Aug 2023
    Location
    Goiânia
    Search Comp PM
    Originally Posted by dannyboy48888 View Post
    Before changefps("ntsc_double") put a line above it with assumefps("ntsc_video"). If the video is vfr it will lose sync but for cfr wit should work fine.
    It really went out of sync, the audio was delayed, was there any way to adjust this with a line or would it only be in the editing program in this case?
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    ChangeFPS should normally decimate/repeat frames to give the new rate. It wouldn't change the
    speed, nor would it make motion look any smoother
    Quote Quote  
  5. Mr. Computer Geek dannyboy48888's Avatar
    Join Date
    May 2007
    Location
    Texas, USA
    Search Comp PM
    What is your entire script?
    if all else fails read the manual
    Quote Quote  
  6. Member
    Join Date
    Aug 2023
    Location
    Goiânia
    Search Comp PM
    Originally Posted by davexnet View Post
    ChangeFPS should normally decimate/repeat frames to give the new rate. It wouldn't change the
    speed, nor would it make motion look any smoother
    Oh, really?
    And what should I do to really make it look smooth without losing image quality? It's possible?
    Quote Quote  
  7. Member
    Join Date
    Aug 2023
    Location
    Goiânia
    Search Comp PM
    Originally Posted by dannyboy48888 View Post
    What is your entire script?
    SetFilterMTMode ("QTGMC", 2)
    FFMPEGSource2("video.avi", atrack=-1)
    ConverttoYV12()
    temporaldegrain()
    FineSharp()
    Sharpen(0.2)
    aWarpSharp(depth=03)
    deflicker()
    DeScratch(mindif=5, asym=10, maxgap=3, maxwidth=3, minlen=90, maxlen=2048, maxangle=5, blurlen=15, keep=30, border=2, modeY=3, modeU=3, modeV=3, mindifUV=0, mark=false, minwidth=1)
    TTempSmooth()
    Lanczos4Resize(1920,1080)
    Quote Quote  
  8. If your video is interlaced you can just bob-deinterlace it
    Code:
    AssumeTFF()  #or BFF if the source is bottom field first
    QTGMC() #or use a bobber of your choice
    If it is progressive you would have to apply a temporal interpolator, like FrameRateConverter or RIFE
    Last edited by Sharc; 17th Nov 2023 at 01:36. Reason: typo
    Quote Quote  
  9. Member
    Join Date
    Aug 2023
    Location
    Goiânia
    Search Comp PM
    Originally Posted by Sharc View Post
    If your video is interlaced you can just bob-deinterlace it
    Code:
    AssumeTFF()  #or BFF if the source is bottom field first
    QTGMC() #or use a bobber of your choice
    If it is progressive you would have to apply a temporal interpolator, like FrameRateConverter or RIFE
    He's already progressive
    I have little knowledge of frame conversion, how would I do this FrameRateConverter or RIFE interpolation?
    Quote Quote  
  10. Mr. Computer Geek dannyboy48888's Avatar
    Join Date
    May 2007
    Location
    Texas, USA
    Search Comp PM
    Try
    FFMPEGSource2("video.avi", atrack=-1, fpsnum=30000, fpsden=1001)
    Also try using lsmash if it still act up. Both are ffmpeg based but I've always had 1 get it right if the other didn't as they index differently.
    if all else fails read the manual
    Quote Quote  
  11. Originally Posted by Isac.martins View Post
    He's already progressive
    I have little knowledge of frame conversion, how would I do this FrameRateConverter or RIFE interpolation?
    Are you sure it is progressive? Or is it telecined film? If so you would have to IVTC (Inverse Telecine) it at first.

    For framerate conversion see:
    http://avisynth.nl/index.php/FrameRateConverter
    http://avisynth.nl/index.php/RIFE
    Last edited by Sharc; 17th Nov 2023 at 08:42.
    Quote Quote  
  12. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    FFMPEGSource2("video.avi", atrack=-1)
    ConverttoYV12()
    temporaldegrain()
    FineSharp()
    Sharpen(0.2)
    aWarpSharp(depth=03)
    deflicker()
    DeScratch(mindif=5, asym=10, maxgap=3, maxwidth=3, minlen=90, maxlen=2048, maxangle=5, blurlen=15, keep=30, border=2, modeY=3, modeU=3, modeV=3, mindifUV=0, mark=false, minwidth=1)
    TTempSmooth()
    Lanczos4Resize(1920,1080)
    Some comments on your script, as you were asking help on YouTube
    - DeFlicker should be first
    - DeScratch should be second
    - TemporalDegrain and TTempSmooth are similar. Use just one, for example TemporalDegrain2 with TR=3
    - 3 different sharpeners to obtain what?
    - Lanczos4Resize can be replaced by Nnedi3
    - sharpen after denoise
    - sharpen before of after upscale according to your source and preference
    Quote Quote  
  13. Member
    Join Date
    Aug 2023
    Location
    Goiânia
    Search Comp PM
    Originally Posted by lollo View Post
    FFMPEGSource2("video.avi", atrack=-1)
    ConverttoYV12()
    temporaldegrain()
    FineSharp()
    Sharpen(0.2)
    aWarpSharp(depth=03)
    deflicker()
    DeScratch(mindif=5, asym=10, maxgap=3, maxwidth=3, minlen=90, maxlen=2048, maxangle=5, blurlen=15, keep=30, border=2, modeY=3, modeU=3, modeV=3, mindifUV=0, mark=false, minwidth=1)
    TTempSmooth()
    Lanczos4Resize(1920,1080)
    Some comments on your script, as you were asking help on YouTube
    - DeFlicker should be first
    - DeScratch should be second
    - TemporalDegrain and TTempSmooth are similar. Use just one, for example TemporalDegrain2 with TR=3
    - 3 different sharpeners to obtain what?
    - Lanczos4Resize can be replaced by Nnedi3
    - sharpen after denoise
    - sharpen before of after upscale according to your source and preference
    Thank you for the tips
    Quote Quote  



Similar Threads

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