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
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 59
Thread
-
-
thanks, but is there a way to improove quality? I use interlaced footage 50i, need I field interpolation?
-
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.
-
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)
[Attachment 48599 - Click to enlarge]
however if possible I would keep the avisynth 64bit enviroment -
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)
if I try to use the attached - different - version of QTGMC.avsi
I get another type of error
[Attachment 48601 - Click to enlarge] -
Newer versions accept YUY2, YV16
You probably need to upgrade script and plugins , dependencies
See the links
http://avisynth.nl/index.php/QTGMC -
You can either convert to YV12 or spend a lot of time tracking down which support filter is missing or the wrong version.
-
[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.
-
example of my .mxf 50i :
https://www.dropbox.com/s/79t6xqarwo2ygz2/C0050.MXF?dl=0 -
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)
-
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)
-
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().
19 fps is jerky/flickery.
Use a faster preset in QTGMC or use a faster deinterlacer. -
oh my ***
it's too complicated for a furry *** but results seem absolutly fine
[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 -
multithreading for avs+ ; certain filters / processes require different modes
http://avisynth.nl/index.php/AviSynth%2B#Setting_MT_modes -
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)
? -
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.
Similar Threads
-
Removing "insuficient bitrate" effect on 4k video
By ricardouk in forum EditingReplies: 5Last Post: 4th Jul 2018, 22:34 -
"Ambience" effect of SnapSeed (Android APP) on AviSynth (or MeGui)?
By Heiler in forum Video ConversionReplies: 0Last Post: 9th May 2018, 01:51 -
[Vegas] do you know any audio pluging for a "radio" type of effect?
By rocco123 in forum EditingReplies: 2Last Post: 3rd May 2018, 15:39 -
Is there a way to "Paste" MPC-HC shader effect to a video?
By Unknown01 in forum Newbie / General discussionsReplies: 4Last Post: 5th Jun 2015, 16:30 -
How to get rid of "little blocks" effect of DVD-Video
By provato in forum RestorationReplies: 53Last Post: 16th Oct 2014, 13:11