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

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th July 2022, 03:57   #4741  |  Link
Julek
Registered User
 
Julek's Avatar
 
Join Date: Dec 2020
Posts: 68
Quote:
Originally Posted by lansing View Post
I have a problem with the R59 installer. I have both Python 3.8 and 3.9 installed with 3.9 being the default. But the installer is only able to detect 3.8. I tested R57 and it is able to see both python versions.
Since R58 VS supports only 3.8 OR 3.10.
3.8 is still kept because it is the latest version available for windows 7.

More info: https://github.com/vapoursynth/vapoursynth/issues/858
__________________
CPU: AMD 3700X | GPU: RTX 3070Ti | RAM: 32GB 3200MHz
Discord: @Julek#9391 || GitHub

Last edited by Julek; 20th July 2022 at 04:00.
Julek is offline   Reply With Quote
Old 20th July 2022, 17:59   #4742  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,616
Quote:
Originally Posted by Julek View Post
Since R58 VS supports only 3.8 OR 3.10.
3.8 is still kept because it is the latest version available for windows 7.

More info: https://github.com/vapoursynth/vapoursynth/issues/858
The documentation should be updated, as it is still stating 3.9 to be the supported version.

http://www.vapoursynth.com/doc/insta...s-installation
lansing is offline   Reply With Quote
Old 20th July 2022, 19:56   #4743  |  Link
Julek
Registered User
 
Julek's Avatar
 
Join Date: Dec 2020
Posts: 68
Quote:
Originally Posted by lansing View Post
The documentation should be updated, as it is still stating 3.9 to be the supported version.

http://www.vapoursynth.com/doc/insta...s-installation
Yes, the site usually takes longer to update, even though it is already updated on GitHub.
__________________
CPU: AMD 3700X | GPU: RTX 3070Ti | RAM: 32GB 3200MHz
Discord: @Julek#9391 || GitHub
Julek is offline   Reply With Quote
Old 3rd August 2022, 18:29   #4744  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,493
R60 RC1

Code:
r60:
fixed blankclip crashing when fpsnum or fpsden is 0 despite it being allowed
fixed invalid format ids sometimes being treated as api3 values when passed to resize 
fixed error message frame generation in vfw
fixed writing beyond end out output buffer for audio in vfw
blankaudio now takes an array of channel constants since this better matches how most other functions work
fixed splitchannels crash on certain channel configurations (YomikoR)
added makefulldiff and mergefulldiff, these are versions of makediff and mergediff that don't clamp the difference to half range and instead use a higher precision diff clip
better error messages when filters get unsupported input formats or combinations thereof
freezeframes now accepts empty arrays and simply passes through the source clip
you can directly assign to frame-props
removed all deprecated (and replaced by better versions) functions in python: get_frame_async_raw, get_plugins, get_functions, list_functions, get_format, register_format
fixed convolution output for 9-15 bit material
Note that MakeFullDiff and MergeFullDiff are experimental functions that may be killed off if nobody does fun things with them. That's all.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 3rd August 2022, 23:02   #4745  |  Link
Greenhorn
Registered User
 
Join Date: Apr 2018
Posts: 60
What's the difference between Make/MergeDiff and Make/MergeFullDiff when using float format? Was that also clamped?
Greenhorn is offline   Reply With Quote
Old 4th August 2022, 11:58   #4746  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,493
Quote:
Originally Posted by Greenhorn View Post
What's the difference between Make/MergeDiff and Make/MergeFullDiff when using float format? Was that also clamped?
It's the same for float.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th August 2022, 19:16   #4747  |  Link
mastrboy
Registered User
 
Join Date: Sep 2008
Posts: 345
Quote:
Originally Posted by vapoursynth doc
ColorYUV std.Lut/std.Expr Do the adjustment yourself
https://github.com/amichaelt/vapours...isynthcomp.rst
Honestly, this is just too complicated to figure out for me, is there any helper functions available for this?

I tried to understand the code here: https://github.com/AviSynth/AviSynth...ters/color.cpp

But can not figure out how the Lut/expression for off_v is built from those functions...

I'm just trying to do the avisynth equivalent to "coloryuv(off_v=0.5)"
__________________
(i have a tendency to drunk post)
mastrboy is offline   Reply With Quote
Old 7th August 2022, 20:22   #4748  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,493
Quote:
Originally Posted by mastrboy View Post
Honestly, this is just too complicated to figure out for me, is there any helper functions available for this?

I tried to understand the code here: https://github.com/AviSynth/AviSynth...ters/color.cpp

But can not figure out how the Lut/expression for off_v is built from those functions...

I'm just trying to do the avisynth equivalent to "coloryuv(off_v=0.5)"
Add .5 to the third plane of a float format?

Code:
Expr(clip, ["", "", "x 0.5 +"])
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th August 2022, 21:29   #4749  |  Link
mastrboy
Registered User
 
Join Date: Sep 2008
Posts: 345
Quote:
Originally Posted by Myrsloik View Post
Add .5 to the third plane of a float format?

Code:
Expr(clip, ["", "", "x 0.5 +"])
Thanks, that works... I have a difficult time properly understanding lut/expr, is there any decent documentation freely available that is recommended for beginners that want to learn?

That only works for 8bit though, I guess ColorYUV scales input values internally... So what is the math to convert 8bit Expr to 16bit?

Edit: nevermind, found a helper function for scaling values between bitdepths: https://github.com/Irrational-Encodi...l/info.py#L129
__________________
(i have a tendency to drunk post)

Last edited by mastrboy; 7th August 2022 at 23:00.
mastrboy is offline   Reply With Quote
Old 15th September 2022, 15:19   #4750  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 6,775
R60 is released.
Quote:
fixed blankclip crashing when fpsnum or fpsden is 0 despite it being allowed
fixed invalid format ids sometimes being treated as api3 values when passed to resize
fixed error message frame generation in vfw
fixed writing beyond end out output buffer for audio in vfw
blankaudio now takes an array of channel constants since this better matches how most other functions work
fixed splitchannels crash on certain channel configurations (YomikoR)
added makefulldiff and mergefulldiff, these are versions of makediff and mergediff that don't clamp the difference to half range and instead use a higher precision diff clip
better error messages when filters get unsupported input formats or combinations thereof
freezeframes now accepts empty arrays and simply passes through the source clip
you can directly assign to frame-props
removed all deprecated (and replaced by better versions) functions in python: get_frame_async_raw, get_plugins, get_functions, list_functions, get_format, register_format
fixed convolution output for 9-15 bit material
source: https://github.com/vapoursynth/vapoursynth/releases

Thanks!

Cu Selur
__________________
Hybrid here in the forum, homepage
Notice: Since email notifications do not work here any more, it might take me quite some time to notice a reply to a thread,..
Selur is offline   Reply With Quote
Old 18th September 2022, 11:16   #4751  |  Link
Yomiko
Registered User
 
Join Date: Aug 2021
Posts: 70
Is there a way (with API4) to tell if a clip has "valid" variable format?
Yomiko is offline   Reply With Quote
Old 18th September 2022, 12:26   #4752  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,493
Quote:
Originally Posted by Yomiko View Post
Is there a way (with API4) to tell if a clip has "valid" variable format?
What do you mean by "valid"? If you get an input clip that's variable format it'll always be valid. If a filter returns a frame that doesn't fit the description things will error out.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 18th September 2022, 15:09   #4753  |  Link
Yomiko
Registered User
 
Join Date: Aug 2021
Posts: 70
I was thinking about the recently fixed resize issue, where a clip with "dynamic" format might be mistakenly made. Although previewers actually can handle such output nodes, I hope users can be well informed.
Yomiko is offline   Reply With Quote
Old 29th September 2022, 12:48   #4754  |  Link
Yomiko
Registered User
 
Join Date: Aug 2021
Posts: 70
In the C headers of API 3, VideoFormat is provided as a pointer in VSVideoInfo, effectively preventing me from creating a var format clip in a filter. Since API 4 it has been changed in the C header, but in python it remains to be None when the clip format is variable. Do you have any plan to also change in python?
Yomiko is offline   Reply With Quote
Old 1st October 2022, 18:29   #4755  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,493
Quote:
Originally Posted by Yomiko View Post
In the C headers of API 3, VideoFormat is provided as a pointer in VSVideoInfo, effectively preventing me from creating a var format clip in a filter. Since API 4 it has been changed in the C header, but in python it remains to be None when the clip format is variable. Do you have any plan to also change in python?
Change it to what? I don't understand the question.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Reply

Tags
speed, vaporware, vapoursynth

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 13:57.


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