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. |
![]() |
#3702 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,279
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
![]() |
![]() |
![]() |
#3704 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,279
|
Yes, it will use python 3.7.x. I'll switch to 3.8.x when cython adds official support for it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#3706 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,279
|
R48 is released!
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#3708 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,279
|
Because the way I'm handling things it's kinda annoying to set them. And it's not like you can ever trust them anyway...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#3711 | Link |
Registered User
Join Date: Jul 2019
Location: Russia
Posts: 63
|
What needs to be done to make a video have different FPS?
For example, I want to do something like that Code:
from vapoursynth import core import havsfunc as haf clip = core.d2v.Source('index.d2v') clip1 = core.std.Trim(clip, 0, 5579) clip1 = haf.QTGMC(clip1, Preset='Very Slow', Sharpness=0.5, FPSDivisor=1, SourceMatch=3, Lossless=2, MatchEnhance=0.75, TFF=True) clip2 = core.std.Trim(clip, 5580, 24186) clip2 = haf.QTGMC(clip2, Preset='Very Slow', Sharpness=0.5, SourceMatch=3, MatchEnhance=0.75, InputType=1) clip = clip1+clip2 clip.set_output() |
![]() |
![]() |
![]() |
#3712 | Link | |
Registered User
Join Date: Sep 2007
Posts: 4,477
|
Quote:
Internally in vapoursynth, it has to be CFR (constant frame rate) 1) You can duplicate frames and framerate in the second section (but same content speed). eg. by using core.std.Interleave Or , 2) you can temporarily assign a 2xFPS to the 2nd section using core.std.AssumeFPS to append sections (so it plays double speed), then use external timecodes (timestamps) method to make it VFR |
|
![]() |
![]() |
![]() |
#3713 | Link | |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 289
|
Quote:
I made x264 input filter and successfully provided vapoursynth timecodes (but code is a bit dirty), you can pick it here and compile: https://pastebin.com/QhjQ26qG |
|
![]() |
![]() |
![]() |
#3714 | Link |
Registered User
Join Date: May 2011
Posts: 179
|
http://www.vapoursynth.com/doc/insta...n-via-pip-pypi says that pip install should be done only after Vapoursynth is installed. So what is it for, or what is the purpose of that PIP installation?
|
![]() |
![]() |
![]() |
#3715 | Link |
Registered User
Join Date: Aug 2012
Posts: 185
|
I've reinstalled my whole system so i am now on a clean OS.
Installed Python 3.7.5 for all user (so it is in "C:\Program Files\Python37" ), installed Vapoursynth R48 and it gives me the same error. I've then started debuging and the line that is failing is the PyImport_ImportModule in vapoursynth_api.h, the module returned is NULL. Folder "Lib\site-packages", where i would put my script, is empty, would expect to find file "vapoursynth.pth" and the folder "vapoursynth" (checked in another system with R45), probably is that that is making VSPipe fails? Last edited by MonoS; 26th November 2019 at 21:14. Reason: The correct version of Vapoursynht is R45, not R46 |
![]() |
![]() |
![]() |
#3717 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,440
|
We have the hash...
https://github.com/vapoursynth/vsrep...t3dfilter.json
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository |
![]() |
![]() |
![]() |
#3718 | Link | |
Registered User
Join Date: Aug 2012
Posts: 185
|
Quote:
|
|
![]() |
![]() |
![]() |
#3719 | Link |
Registered User
Join Date: Sep 2018
Posts: 14
|
Code:
core.resize.Bicubic(core.std.BlankClip(format=vs.YUV444PS), format=vs.RGB24, matrix_in=1, primaries_in=1, primaries=1) #errors out (Resize error 3074: invalid colorspace definition (1/2/1 => 0/2/1). May need to specify additional colorspace parameters.) core.resize.Bicubic(core.std.BlankClip(format=vs.YUV444PS), format=vs.RGB24, matrix_in=1, primaries_in=1, primaries=1, transfer_in=1, transfer=1) #works core.resize.Bicubic(core.std.BlankClip(format=vs.YUV444PS), format=vs.RGB24, matrix_in=1) #works |
![]() |
![]() |
![]() |
#3720 | Link | |
AviSynth monkey
Join Date: Feb 2010
Posts: 322
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|