VideoHelp Forum
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 59
Thread
  1. Hi but please keep in mind that I'm a cat

    Using avisynth 64bit how can I smooth-rallenty a video clip setting the new framerate for example from 25 (initial original framerate) to 19? If possible I require a fast process preserving a good quality.

    And if possible I would like to create the "audio-slowmotion" effect if possible

    how can i DO? thanks
    Quote Quote  
  2. AssumeFPS(19, sync_audio=true)
    Quote Quote  
  3. thanks, but is there a way to improove quality? I use interlaced footage 50i, need I field interpolation?
    Quote Quote  
  4. QTGMC()
    AssumeFPS(19, sync_audio=true)
    Quote Quote  
  5. I get this error:

    Image
    [Attachment 48598 - Click to enlarge]


    what can it be?
    Quote Quote  
  6. The source filter is returning a color format that isn't supported by the version of QTGMC you are using. Try ConvertToYV12(interlaced=true) between the source filter and QTGMC.
    Quote Quote  
  7. but this occours in a (little) loss of quality?
    Quote Quote  
  8. Code:
    Import("v:\automazioneclip\avisynth\plugins\IResize.avsi")
    Import("V:\automazioneclip\AviSynth\AnimeIVTC.avsi")
    Import("V:\automazioneclip\AviSynth\QTGMC.avsi")
    Import("V:\automazioneclip\AviSynth\plugins\smoothFPS2.avsi")
    Import("v:\automazioneclip\AviSynth\plugins\FrostyBorders.avsi")
    Import("v:\automazioneclip\AviSynth\plugins\CropResizedic2017.avsi")
    LoadPlugin("v:\automazioneclip\AviSynth\Lsmash64perVirtualDub64\LSMASHSource.dll")
    LoadPlugin("V:\automazioneclip\AviSynth\plugins64\ffms2.dll")
    LoadCPlugin("v:\automazioneclip\avisynth\plugins64\yadif.dll")  
    LWLibavVideoSource("C:\Users\Administrator\Desktop\c65\C0065.MXF")
    ConvertToYV12(interlaced=true)      
    QTGMC()
    AssumeFPS(19, sync_audio=true)
    I have try the ConvertToYV12(interlaced=true) but I get:

    Image
    [Attachment 48599 - Click to enlarge]


    however if possible I would keep the avisynth 64bit enviroment
    Quote Quote  
  9. Code:
    Import("v:\automazioneclip\avisynth\plugins\IResize.avsi")
    Import("V:\automazioneclip\AviSynth\AnimeIVTC.avsi")
    Import("V:\automazioneclip\AviSynth\QTGMC.avsi")
    Import("V:\automazioneclip\AviSynth\plugins\smoothFPS2.avsi")
    Import("v:\automazioneclip\AviSynth\plugins\FrostyBorders.avsi")
    Import("v:\automazioneclip\AviSynth\plugins\CropResizedic2017.avsi")
    LoadPlugin("v:\automazioneclip\AviSynth\Lsmash64perVirtualDub64\LSMASHSource.dll")
    LoadPlugin("V:\automazioneclip\AviSynth\plugins64\ffms2.dll")
    LoadCPlugin("v:\automazioneclip\avisynth\plugins64\yadif.dll")  
    LWLibavVideoSource("C:\Users\Administrator\Desktop\c65\C0065.MXF")
    QTGMC()
    AssumeFPS(19, sync_audio=true)
    OR

    if I try to use the attached - different - version of QTGMC.avsi

    I get another type of error

    Image
    [Attachment 48601 - Click to enlarge]
    Image Attached Files
    Quote Quote  
  10. QTGMC does not accept YUY2 as source? Is QTGMC compatible with my avisynth+ R1576?
    Quote Quote  
  11. It's telling you what the problem is.
    Quote Quote  
  12. Newer versions accept YUY2, YV16

    You probably need to upgrade script and plugins , dependencies

    See the links
    http://avisynth.nl/index.php/QTGMC
    Quote Quote  
  13. You can either convert to YV12 or spend a lot of time tracking down which support filter is missing or the wrong version.
    Quote Quote  
  14. Image
    [Attachment 48609 - Click to enlarge]


    Oh wow *** now it works, thanks

    but only I need to take to virtualdub the video jet ready at 25fps interlaced (of course change only the duration). Original .mxf framerate is 25 interlace. How have I to modify the .avs script so that the output of avisynth become in slowmotion of 19 fps and have a new duration?

    And how I have to modify the script if I use a progressive source instead of interlaced?
    Last edited by marcorocchini; 7th Apr 2019 at 14:11.
    Quote Quote  
  15. QTGMC should be used only for interlaced footage?
    Quote Quote  
  16. Originally Posted by marcorocchini View Post
    25i deinterlaced to 50p, slowed to 19p, duration changed from 18 seconds to 46 seconds:
    Code:
    LWLibavVideoSource("C0050.MXF") 
    ConvertToYV12(interlaced=true)
    QTGMC()
    AssumeFPS(19)
    You can leave out the QTGMC for progressive sources. The running time will change from 18 seconds to about 24 seconds.
    Quote Quote  
  17. but QTGMC is doubling framerate as the yadif 1,1 ?
    Quote Quote  
  18. If you don't want double frame rate use FPSDivisor=2.
    Quote Quote  
  19. ok c*t but I think have 3 problems:

    1) If i open the .avs in virtualdub and encode it I get a 19fps video file: I need to slowmotion the source but the final output have to be the same fps of original, with a duration that correspond a 19fps. I need to expose to virtualdub or the encoder an .avs 50i (that slow the source from 25 (50i) to 19fps or x fps)

    2) using this script I see some jerky frames

    3) encoding at 4 fps is a little slow, is there a different way to speed-up the process preserving good quality?

    thank you
    Quote Quote  
  20. Originally Posted by marcorocchini View Post
    ok c*t but I think have 3 problems:

    1) If i open the .avs in virtualdub and encode it I get a 19fps video file: I need to slowmotion the source but the final output have to be the same fps of original, with a duration that correspond a 19fps. I need to expose to virtualdub or the encoder an .avs 50i (that slow the source from 25 (50i) to 19fps or x fps)

    2) using this script I see some jerky frames

    3) encoding at 4 fps is a little slow, is there a different way to speed-up the process preserving good quality?

    thank you

    You would need to generate extra frames . Either blends, duplicate or interpolation. Pros / cons to each. You decide. Interpolation can be the smoothest, but you might have bad edge artifacts in some scenes

    You can speed it up if you have enough cores with larger prefetch value (more multithreading) , or faster QTGMC Settings , or Something other than interpolation (e.g. blends, duplicates) because interpolation is slower . 4:2:0 will encode faster than 4:2:2 too. Timestrech audio is slower algorithm, but audio quality higher.

    1080p50, or 720p50 , or 1080i25 to reinterlace . If you *need* 25fps, then you need to reinterlace to keep the smoothness. 50p would be preferrable IMO for most situations

    I left it this example at 1080p50, 4:2:2, but the audio was converted to 16bit MP3 for the demo (you can leave it PCM 24bit, if you use transport stream)

    - Timestretch for audio . Rate = 76 because 19/25 = 76%
    - MFlowFPS num/den is 65789/1000 because FPS is 50.0 after bobbing . (25/19)*50

    Code:
    SetFilterMTMode("DEFAULT_MT_MODE", 2)
    SetFilterMTMode("FFVideoSource", 3)
    
    Aud1=FFAudioSource(C0050.MXF", track=1)
    Aud2=FFAudioSource("C0050.MXF", track=2)
    MergeChannels(Aud1,Aud2)
    ConvertAudioToFloat()
    TimeStretch(rate=76)
    ConvertAudioTo16Bit()
    st=last
    
    FFVideoSource("C0050.MXF")
    AssumeTFF()
    QTGMC(Preset="faster")
    q=last
    
    super = q.MSuper(pel=2)
    backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
    forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
    q.MFlowFps(super, backward_vec, forward_vec, blend=false, num=65789, den=1000)
    AssumeFPS(50)
    q2=last
    
    
    AudioDub(q2,st)
    Prefetch(4)
    Image Attached Files
    Quote Quote  
  21. Originally Posted by marcorocchini View Post
    1) If i open the .avs in virtualdub and encode it I get a 19fps video file: I need to slowmotion the source but the final output have to be the same fps of original
    I suspected that but you didn't specify it in your original post so I didn't supply that option. I figured if you couldn't be bother to clearly specify what you wanted I wouldn't give you a list of all possible options. Use a motion interpolating frame rate changer -- like you've been told several times before. Try Interframe().

    Originally Posted by marcorocchini View Post
    2) using this script I see some jerky frames
    19 fps is jerky/flickery.

    Originally Posted by marcorocchini View Post
    3) encoding at 4 fps is a little slow, is there a different way to speed-up the process preserving good quality?
    Use a faster preset in QTGMC or use a faster deinterlacer.
    Quote Quote  
  22. Originally Posted by poisondeathray View Post

    Code:
    SetFilterMTMode("DEFAULT_MT_MODE", 2)
    SetFilterMTMode("FFVideoSource", 3)
    
    Aud1=FFAudioSource(C0050.MXF", track=1)
    Aud2=FFAudioSource("C0050.MXF", track=2)
    MergeChannels(Aud1,Aud2)
    ConvertAudioToFloat()
    TimeStretch(rate=76)
    ConvertAudioTo16Bit()
    st=last
    
    FFVideoSource("C0050.MXF")
    AssumeTFF()
    QTGMC(Preset="faster")
    q=last
    
    super = q.MSuper(pel=2)
    backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
    forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
    q.MFlowFps(super, backward_vec, forward_vec, blend=false, num=65789, den=1000)
    AssumeFPS(50)
    q2=last
    
    
    AudioDub(q2,st)
    Prefetch(4)
    oh my ***

    it's too complicated for a furry *** but results seem absolutly fine

    Image
    [Attachment 48621 - Click to enlarge]


    what does mean

    Code:
    SetFilterMTMode("DEFAULT_MT_MODE", 2)
    SetFilterMTMode("FFVideoSource", 3)
    ?

    it's processors based?

    I need to do a batch
    Quote Quote  
  23. Originally Posted by marcorocchini View Post

    what does mean

    Code:
    SetFilterMTMode("DEFAULT_MT_MODE", 2)
    SetFilterMTMode("FFVideoSource", 3)
    ?

    it's processors based?

    I need to do a batch


    multithreading for avs+ ; certain filters / processes require different modes


    http://avisynth.nl/index.php/AviSynth%2B#Setting_MT_modes
    Quote Quote  
  24. ah ok but if I use LWLibavVideoSource or LSMASHVideoSource I need to use:

    SetFilterMTMode("DEFAULT_MT_MODE", 2)
    SetFilterMTMode("LWLibavVideoSource", 3)

    or

    SetFilterMTMode("DEFAULT_MT_MODE", 2)
    SetFilterMTMode("LSMASHVideoSource", 3)

    ?
    Quote Quote  
  25. You can see filtermodes here: https://publishwith.me/ep/pad/view/ro.rDkwcdWn4k9/latest

    You can download that and make an AVSI file in AviSynth+'s plugins folder so it autoloads.
    Quote Quote  
  26. ok but I need to load a specific .avsi?

    Can I use the script of poison with avisynth+ 0.1 R1576?
    Quote Quote  



Similar Threads

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