Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th March 2016, 15:32   #281  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 284
can you give full list of new features ?
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 27th March 2016, 18:59   #282  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by chainik_svp View Post
Vapoursynth seems much more efficient and stable in terms of multithreading, however the peak performance is the same as with Avisynth.

Picture quality is the same as with SVP ver.3.
No quality improvements? Shame

Alchemist OD (software version of their expensive hardware box) gained quality and now clearly outperforms SVP (for the cost of speed and resource requirements).

Also- is it just my imagination or SD content keeps much better quality than HD after SVP conversion (are there some internal compromises on SD+ frame sizes)?
kolak is offline   Reply With Quote
Old 27th March 2016, 20:24   #283  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
Quote:
Originally Posted by kolak View Post
Also- is it just my imagination or SD content keeps much better quality than HD after SVP conversion (are there some internal compromises on SD+ frame sizes)?
HD content does contain more accurate data on what's actually going on, but this comes at the price of having to do many more calculations to come forward to the same results as SD.
And since pretty accurate motion estimation on SD is already pretty expensive, getting the same kind of quality in HD would be really demanding on the hardware.
Bloax is offline   Reply With Quote
Old 27th March 2016, 23:21   #284  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
For file conversions SVP speed is very good, so I'm happy with eg. 3x slower mode which will also keep relatively good quality on HD.
I'm happy to do some test- got access to K80 Tesla card
kolak is offline   Reply With Quote
Old 24th August 2016, 00:01   #285  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 284
is this project is no long open source ?
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 24th August 2016, 00:17   #286  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by amayra View Post
is this project is no long open source ?
What makes you think that? From the SVP website:

Quote:
svpflow1

This is a motion vectors search plugin which is a refactored version of MVTools2 2.5 so this plugin is distributed under terms of the GNU GPL license.
Quote:
svpflow2

A closed-source frame rendering plugin.
It has always been this way, as the documentation states, you can find the svpflow1 source code here: http://www.svp-team.com/files/gpl/svpflow1-src.zip
Reel.Deel is offline   Reply With Quote
Old 22nd September 2016, 11:25   #287  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 322
I am completely confused by this!
How do I use SVPflow to change fps from 60 to 50 without involving the GPU?

Thanks.
Floatingshed is offline   Reply With Quote
Old 22nd September 2016, 12:47   #288  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Floaty, try Interframe if having problems, is simple. Just put dll's in Plugins and also the Interframe2.avsi script, then simple as

Code:
num=30000   # EDIT: or for 50FPS num=50 den=1
den=1001
Cores=4
Interframe(NewNum=num,NewDen=den,cores=Cores)
from Interframe2 script

Code:
function InterFrame(clip Input, string "Preset", string "Tuning", int "NewNum", int "NewDen", bool "GPU", string "InputType", 
    \ int "OverrideAlgo", int "OverrideArea", int "Cores", bool "FrameDouble") {
	# Defaults
	Preset        = default(Preset      , "Medium")
	NewNum        = default(NewNum      , 0       )
	NewDen        = default(NewDen      , 0       )
	Tuning        = default(Tuning      , "Film"  )
	GPU           = default(GPU         , false   )
	InputType     = default(InputType   , "2D"    )
	OverrideAlgo  = default(OverrideAlgo, 0       )
	OverrideArea  = default(OverrideArea, 0       )
	FrameDouble   = default(FrameDouble , false   )
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 22nd September 2016 at 13:11.
StainlessS is offline   Reply With Quote
Old 22nd September 2016, 21:47   #289  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 322
Hello, thanks for the suggestion, but I seem to have an unidentifiable issue with interframe.

I encode to h264 but the encode stops at random points each time, no obvious reason (sometimes after a few frames, sometimes after several minutes or an hour). If I use motionprotectedfps I have no problems, I could use this but was looking/hoping for a more modern filter with fewer artifacts...
Floatingshed is offline   Reply With Quote
Old 22nd September 2016, 23:04   #290  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Just curious, does stop if rendering to lossless avi via for instance ut-vidio or magicyuv ?
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 23rd September 2016, 08:11   #291  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 322
No it doesn't, in fact that is how I have been getting around it, render to lossless then run a second process to convert the lossless to h264. I am guessing that it is a memory issue but there's nothing obvious (to me anyway!)
Floatingshed is offline   Reply With Quote
Old 23rd September 2016, 14:32   #292  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
@FloatingShed, Could this perhaps be related to you issue:- http://forum.doom9.org/showthread.php?t=173908

Perhaps get together and compare systems.

EDIT: I dont know what SVP player is.

EDIT: Full quote.
Quote:
Originally Posted by Nic-154 View Post
This is some serius annoying troubel ive had lately on svp player, ive removed ervreything and did a fresh re-install of the whoe package but for some reason after like 3 seconds of playing on media player classic, the entire danm thing freezes up.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 23rd September 2016 at 14:36.
StainlessS is offline   Reply With Quote
Old 30th September 2016, 10:06   #293  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 284
Quote:
Originally Posted by Reel.Deel View Post
What makes you think that? From the SVP website:





It has always been this way, as the documentation states, you can find the svpflow1 source code here: http://www.svp-team.com/files/gpl/svpflow1-src.zip
svpflow1 in svp-team in website is 4.0.0.128 and in "SVP 4\plugins" have 4.0.0.132
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 8th April 2017, 04:48   #294  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
@chainik_svp

According to the changelog here, there's been a handful of updates to SVPflow. The first post and the the download section of the SVP wiki still list version 4.0.0.128.

Quote:
SVPflow - 4.1.0.141 - 2017-04-05
= fixed high CPU load with frame interpolation off

SVPflow - 4.1.0.140 - 2017-03-03
+ rendering in 10 bit color depth (Vapoursynth only)

SVPflow - 4.0.0.137 - 2016-08-25
= fixed random crash in mpv and VLC

SVPflow - 4.0.0.136 - 2016-08-18
= fixed video corruption with smooth.cubic=0

SVPflow - 4.0.0.135 - 2016-04-30
= Win: fixed random crash in some cases

SVPflow - 4.0.0.132 - 2016-03-18
- Win: dropped legacy Avisynth 2.5 interface support
+ Win: added SVConvert function in 64-bit version

SVPflow - 4.0.0.131 - 2016-03-04
= Mac: initial public release
- Linux: removed Qt dependencies

SVPflow - 4.0.0.130 - 2016-02-27
= may fix crashes in some cases
= fixed wrong colors in SVPlight

SVPflow - 4.0.0.129 - 2016-02-23
= fixed crash with SVPlight enabled
Reel.Deel is offline   Reply With Quote
Old 8th April 2017, 23:03   #295  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Looks like anything above 4.0.0.128 is not available for download.

https://www.svp-team.com/wiki/Plugins:_SVPflow

still shows 4.0.0.128 as latest version for download.
kolak is offline   Reply With Quote
Old 9th April 2017, 10:03   #296  |  Link
cork_OS
Registered User
 
cork_OS's Avatar
 
Join Date: Mar 2016
Posts: 160
Here are svpflow libs from the latest SVP4 update: https://www.dropbox.com/s/9wjx4uq07s...pflow.zip?dl=0
__________________
I'm infected with poor sources.
cork_OS is offline   Reply With Quote
Old 17th April 2017, 19:11   #297  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@cork_OS: do you also have the latest libs for Vapoursynth?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 17th April 2017, 23:27   #298  |  Link
cork_OS
Registered User
 
cork_OS's Avatar
 
Join Date: Mar 2016
Posts: 160
Quote:
Originally Posted by Selur View Post
@cork_OS: do you also have the latest libs for Vapoursynth?
No, but MysteryX have just asked Chainik to update the libs:
Quote:
Originally Posted by Chainik
Nothing can stop anyone to take .dll/.so/.dylib from the SVP installation

But I agree that it should be updated. We'll do it soon enough...
However there's nothing useful in the Avisynth part since rev.128
__________________
I'm infected with poor sources.
cork_OS is offline   Reply With Quote
Old 9th July 2017, 10:04   #299  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Using:
Code:
# Imports
import os
import sys
import ctypes
Dllref = ctypes.windll.LoadLibrary("G:/Hybrid/vsfilters/Support/libfftw3f-3.dll")
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("G:/Hybrid/vsfilters/Support/OpenCL.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'G:/Hybrid/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/FrameFilter/Interframe/svpflow2_vs64.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/FrameFilter/Interframe/svpflow1_vs64.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/DenoiseFilter/FFT3DFilter/vsfft3dfilter.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/DenoiseFilter/KNLMeansCL/KNLMeansCL.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/ResizeFilter/NNEDI3/libnnedi3.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="G:/Hybrid/vsfilters/SourceFilter/FFMS2/ffms2.dll")
# Import scripts
import havsfunc as havsfunc
# Loading C:\Users\Selur\Desktop\source.avi using FFMS2
clip = core.ffms2.Source(source="C:/Users/Selur/Desktop/source.avi",cachefile="H:/Temp/avi_3ed4c33894e101eeafef5c603ca7faab_4827.ffindex",format=vs.YUV422P8,alpha=False)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg")
# making sure input color range is set to TV (16-235) scale.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, NewNum=60, NewDen=1)
# Output
clip.set_output()
I get a 'Python exception: SVSuper: Clip must be YV12' since I wanted to stick with 4:2:2 for the output I was wondering:
What would be the most lossless way to apply Interframe/SVP and getting 4:2:2 as output?

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 10th July 2017, 02:33   #300  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
SVP supports only YV12. If you want to use it, you need to convert to YV12 and can then convert back to YV16 if you want.

Alternatively, my implementation FrameRateConverter supports YV16 or YV24, but is much slower especially with multi-threading -- but with considerably better quality.
MysteryX is offline   Reply With Quote
Reply

Tags
frame doubling, frame rate conversion, mvtools, opencl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.