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 > VapourSynth
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th February 2015, 19:18   #1481  |  Link
Kupildivan
Registered User
 
Join Date: Feb 2015
Posts: 19
Are they have to be the ported ones? Or native avisynth plugins will work too?
Kupildivan is offline   Reply With Quote
Old 20th February 2015, 19:28   #1482  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Vapoursynth's QTGMC works with vapoursynth filters only, except for the denoising. It uses avisynth's fft3dGPU and FFT3DFilter if they are selected, else it uses native dfttest.
Are_ is offline   Reply With Quote
Old 20th February 2015, 20:15   #1483  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
As Are_ said all plugin are native, for avoiding to use avs plugin remember to set denoising to at least Slow or set manually the denoiser to dfttest [also you can use 16bit precision if you want ]
MonoS is offline   Reply With Quote
Old 20th February 2015, 22:25   #1484  |  Link
lo1t3yu
Registered User
 
Join Date: Feb 2015
Posts: 18
Quote:
Originally Posted by MonoS View Post
In the same way you used it in avs, be sure to have all the necessary plugins
It's clear, but interestingly how ffms2 decoding interlaced sources now. Is correctly (for smoothed 2x fps with phases saving)? I don't know about 2.20, may be interlaced sources now is fully supported... Else have need to use directshowsource2 that impossible in vapoursynth.
Thanks to all vapoursynth's (and plugins) devs for the crossplatform and modern frameserver!

Last edited by lo1t3yu; 20th February 2015 at 22:48.
lo1t3yu is offline   Reply With Quote
Old 21st February 2015, 16:44   #1485  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
Quote:
Originally Posted by lo1t3yu View Post
It's clear, but interestingly how ffms2 decoding interlaced sources now. Is correctly (for smoothed 2x fps with phases saving)? I don't know about 2.20, may be interlaced sources now is fully supported... Else have need to use directshowsource2 that impossible in vapoursynth.
Thanks to all vapoursynth's (and plugins) devs for the crossplatform and modern frameserver!
Have you tried with lsmash??
MonoS is offline   Reply With Quote
Old 21st February 2015, 16:45   #1486  |  Link
YamashitaRen
Registered User
 
Join Date: Apr 2014
Location: France
Posts: 33
Quote:
Originally Posted by MonoS View Post
Have you tried with lsmash??
I confirm that lsmash works fine. ffms2 with "threads=1" should works too.
https://github.com/vapoursynth/vapoursynth/issues/139

Last edited by YamashitaRen; 21st February 2015 at 16:50.
YamashitaRen is offline   Reply With Quote
Old 23rd February 2015, 15:27   #1487  |  Link
lo1t3yu
Registered User
 
Join Date: Feb 2015
Posts: 18
Quote:
Originally Posted by MonoS View Post
Have you tried with lsmash??
No, i will try later.
ffms2 works even without param 'threads=1'.
Also, vs works and all needed plugins loaded.
Quote:
libaddgrain.so libdeblock.so libffms2.so libgenericfilters.so libmvtools.so libscenechange.so libtemporalsoften2.so libyadifmod.so
libdctfilter.so libeedi2.so libfmtconv.so liblsmash.so libnnedi3.so libtdeintmod.so libtemporalsoften.so
Quote:
import vapoursynth as vs
import havsfunc as haf
core = vs.get_core()
v = core.ffms2.Source(source='2_1080i.mkv', fpsnum=25, fpsden=1)
v = haf.QTGMC(v, Preset='Slow', TFF=True)
v = core.fmtc.resample(v, w=1280, h=720, kernel="spline64")
v.set_output()
Quote:
vspipe --y4m script.vpy - | x264 - --demuxer y4m --crf 20 --profile high --level 4.1 --preset slow --output encode.mkv
Script don't show errors, but x264 breaks:
x264 [error]: could not open input file `-'
Streaming into pipe also don't works.
If script runned without qtgmc then x264 encodes stream.
Quote:
import vapoursynth as vs
import havsfunc as haf
core = vs.get_core()
v = core.ffms2.Source(source='2_1080i.mkv', fpsnum=25, fpsden=1)
v = core.nnedi3.nnedi3(v, field=3)
v = core.fmtc.resample(v, w=1280, h=720, kernel="spline64")
v.set_output()
Quote:
vspipe --y4m script.vpy - | x264 - --demuxer y4m --crf 20 --profile high --level 4.1 --preset slow --output encode.mkv
It works.
x264 compiled with options: --enable-static, --enable-shared

Last edited by lo1t3yu; 23rd February 2015 at 15:31.
lo1t3yu is offline   Reply With Quote
Old 23rd February 2015, 15:45   #1488  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
vspipe should output some error message, but if you don't see one, run this instead, to make sure x264's output isn't overwriting it:
Code:
vspipe script.py /dev/null --progress
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 23rd February 2015, 16:00   #1489  |  Link
lo1t3yu
Registered User
 
Join Date: Feb 2015
Posts: 18
Quote:
Originally Posted by jackoneill View Post
vspipe should output some error message, but if you don't see one, run this instead, to make sure x264's output isn't overwriting it:
Code:
vspipe script.py /dev/null --progress
This breaks segfault.
lo1t3yu is offline   Reply With Quote
Old 23rd February 2015, 16:20   #1490  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Maybe are you using an outdated version of some filter? This does not crash for me.
Are_ is offline   Reply With Quote
Old 23rd February 2015, 16:43   #1491  |  Link
lo1t3yu
Registered User
 
Join Date: Feb 2015
Posts: 18
Quote:
Originally Posted by Are_ View Post
Maybe are you using an outdated version of some filter? This does not crash for me.
All libs have been compiled from sources (from here or git). May be required libs were missed? What plugins and which versions are you using?

Last edited by lo1t3yu; 23rd February 2015 at 17:18.
lo1t3yu is offline   Reply With Quote
Old 23rd February 2015, 16:59   #1492  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
A missing plugin would result in a different error message (usually).

Did you compile GenericFilters from here? https://github.com/chikuzen/GenericFilters
The original author disappeared and left behind a number of bugs which have been fixed here: https://github.com/myrsloik/GenericFilters.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 23rd February 2015, 19:18   #1493  |  Link
lo1t3yu
Registered User
 
Join Date: Feb 2015
Posts: 18
Quote:
Originally Posted by jackoneill View Post
A missing plugin would result in a different error message (usually).

Did you compile GenericFilters from here? https://github.com/chikuzen/GenericFilters
The original author disappeared and left behind a number of bugs which have been fixed here: https://github.com/myrsloik/GenericFilters.
Thanks! Myrsloik's version of GenericFilters works fine.

Last edited by lo1t3yu; 23rd February 2015 at 19:36.
lo1t3yu is offline   Reply With Quote
Old 27th February 2015, 09:16   #1494  |  Link
lo1t3yu
Registered User
 
Join Date: Feb 2015
Posts: 18
Will VS be supporting audio proccessing? (it's may be helpful for ts hdtv videos with errors).
lo1t3yu is offline   Reply With Quote
Old 27th February 2015, 11:08   #1495  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
Quote:
Originally Posted by lo1t3yu View Post
Will VS be supporting audio proccessing? (it's may be helpful for ts hdtv videos with errors).
Jackoneill alredy wrote something http://forum.doom9.org/showthread.php?t=171555
MonoS is offline   Reply With Quote
Old 2nd March 2015, 16:20   #1496  |  Link
mawen1250
Registered User
 
Join Date: Aug 2011
Posts: 103
I encountered a problem with plugin loading on my friend's computer.

Windows7 SP1 64bit
Python 3.4.3 32bit&64bit
VapourSynth R26 32bit&64bit

With print(core.list_functions()) in Python command line(both 32bit and 64bit were tested), only the core functions were displayed. None of the plugins in VapousSynth\coreXX\plugins and VapousSynth\pluginsXX were auto loaded.
Trying loading those plugins manually, it didn't work either. Running the script with vsedit64 or vspipe64, it always returns the error 'Failed to load XXX.dll'.
I've confirmed that all the required MSVC runtime dlls were installed.

The error message is something like this one:

Last edited by mawen1250; 2nd March 2015 at 17:39.
mawen1250 is offline   Reply With Quote
Old 3rd March 2015, 21:07   #1497  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
I have the same issue.
Myrsloik is aware.

I see that we use same/latest Python- can this be the reason?
kolak is offline   Reply With Quote
Old 3rd March 2015, 23:50   #1498  |  Link
RTW47
Rome Total War
 
RTW47's Avatar
 
Join Date: Mar 2013
Location: C:\Python33
Posts: 39
updated Python 3.4.1 > 3.4.2 > 3.4.3, but don;t seem to have any problems with it (so far);

Code:
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import vapoursynth as vs
>>> c=vs.get_core()
>>> c.std.LoadPlugin(path=r'F:\L-SMASH-Works_r728-g34b1526\VapourSynth\x64\vslsmashsource.dll')
>>> c.lsmas.list_functions()
'LWLibavSource(source:data; stream_index:int:opt; cache:int:opt; threads:int:opt; seek_mode:int:opt; seek_threshold:int:opt; variab
le:int:opt; format:data:opt; dr:int:opt; repeat:int:opt; dominance:int:opt)\nLibavSMASHSource(source:data; track:int:opt; threads:i
nt:opt; seek_mode:int:opt; seek_threshold:int:opt; variable:int:opt; format:data:opt; dr:int:opt)\n'
>>>
__________________
GOTO:EOF

Last edited by RTW47; 4th March 2015 at 00:02.
RTW47 is offline   Reply With Quote
Old 6th March 2015, 08:50   #1499  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by mawen1250 View Post
I encountered a problem with plugin loading on my friend's computer.

Windows7 SP1 64bit
Python 3.4.3 32bit&64bit
VapourSynth R26 32bit&64bit

With print(core.list_functions()) in Python command line(both 32bit and 64bit were tested), only the core functions were displayed. None of the plugins in VapousSynth\coreXX\plugins and VapousSynth\pluginsXX were auto loaded.
Trying loading those plugins manually, it didn't work either. Running the script with vsedit64 or vspipe64, it always returns the error 'Failed to load XXX.dll'.
I've confirmed that all the required MSVC runtime dlls were installed.

...
I'll try to make the error message when loading plugins more informative. Unfortunately the windows api will never reveal to you the name of a missing file (if any).
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th March 2015, 14:52   #1500  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
Quote:
Originally Posted by Myrsloik View Post
I'll try to make the error message when loading plugins more informative. Unfortunately the windows api will never reveal to you the name of a missing file (if any).
For Avisynth an excellent tool for this purpose (and a lot more) was created by Groucho2004 : it's called AVS Infotool (see http://forum.doom9.org/showthread.php?t=170647 )

The "plugin" function from this tool shows all the auto-loaded plugins with their dependencies : see images.

Maybe something similar can be created for VS ?
You could also use "Dependency Walker" to check the dependences from this .DLL plugin.
Attached Images
  

Last edited by Pat357; 7th March 2015 at 14:59.
Pat357 is offline   Reply With Quote
Reply

Tags
speed, vaporware, vapoursynth


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 03:14.


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