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 9th October 2019, 11:38   #121  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
New build is up. See first page.

Yuuno is not compatible with python-embedded anymore.
Some new Plugins are added, VSRepoGUI was added and the rest updated.

I hope this pleases Supervisor cat 😸
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 9th October 2019, 15:03   #122  |  Link
Cary Knoop
Cary Knoop
 
Cary Knoop's Avatar
 
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
Quote:
Originally Posted by ChaosKing View Post
I hope this pleases Supervisor cat 😸
Purr...........
Cary Knoop is offline   Reply With Quote
Old 2nd November 2019, 10:00   #123  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
New release with VS R48 is up, enjoy.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 14th May 2020, 08:28   #124  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Finally a new release with VS R50 & Python 3.8 https://github.com/theChaosCoder/vap...eleases/tag/r4
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 14th May 2020, 08:34   #125  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
I would like automate this stuff a bit more with github actions. Is there a way to store plugin binaries on github, but without having to commit them? Like a seperate storage space?
Or should I be evil and just commit everything?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 6th September 2020, 20:44   #126  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
New release.
Will add vseditor2 probably in the next release.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 5th October 2020, 16:36   #127  |  Link
tatsu2050
Registered User
 
Join Date: Feb 2018
Posts: 1
Just wanted to say... muchas thankas for this collection!
tatsu2050 is offline   Reply With Quote
Old 23rd September 2021, 11:21   #128  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
hey, thanks a lot for this pack

yesterday, I started to get into VS and would like to try out a few things, but would also like to use some fiters which i used in avisynth.

Tried this filter:

ContinuityFixer https://github.com/MonoS/VS-ContinuityFixer

getting the error: There is no function named ContinuityFixer

that's the script line:

clip = core.edgefixer.ContinuityFixer(clip, left=3, top=3, right=3, bottom=3, radius=3)

"core.edgefixer" seems to work, it's blue, but ContinuityFixer stays black, i also tried to find it in the fatpack folder, but there is no file named like this, i would guess it's simply missing, but on the git there is only continuity.cpp - but no .cpp files in the fatpack at all, i guess it would need to be converted?

help would be very appreciated, this is a very useful filter ... thanks in advance
Etroxamin is offline   Reply With Quote
Old 23rd September 2021, 12:35   #129  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Yeah it seems it is not included. Will add it with the upcomming R55 api4 fackpack release.

For know you can download it on the release page https://github.com/MonoS/VS-Continui...eleases/tag/V6
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 23rd September 2021 at 12:51.
ChaosKing is offline   Reply With Quote
Old 23rd September 2021, 13:04   #130  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
Quote:
Originally Posted by ChaosKing View Post
Yeah it seems it is not included. Will add it with the upcomming R55 api4 fackpack release.

For know you can download it on the release page https://github.com/MonoS/VS-Continui...eleases/tag/V6
thanks a lot for your quick reply, now it works
Etroxamin is offline   Reply With Quote
Old 24th September 2021, 09:38   #131  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
I think this is the updated Edgefixer version https://github.com/sekrit-twc/EdgeFixer
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 24th September 2021, 13:05   #132  |  Link
Julek
Registered User
 
Julek's Avatar
 
Join Date: Dec 2020
Posts: 88
The new one has a different result, but you can't use both at the same time because of name conflicts, so to be able to use both you can use this one instead of the old one: https://gitlab.com/Ututu/VS-ContinuityFixer
Julek is offline   Reply With Quote
Old 24th September 2021, 13:44   #133  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
hey again

before I open a new thread, it might be suitable to ask here. Thanks to the easy to use fatpack, i got most filters to work, yet i have not much knowledge about VS scritping and can't really find a way to apply filters to a range of frames.

I tried to follow this guide: https://silentaperture.gitlab.io/mdb...filtering.html

in this example:

Quote:
src = core.ffms2.Source("video.mkv")
deband = source.neo_f3kdb.Deband(src)

replaced = core.remap.Rfs(src, deband, mappings="[100 200] [500 750]")
it looks quite easy, unfortunately, vs editor is already complaining about the 2nd line,
giving me this error: Python exception: name 'source' is not defined.

to make it short, all i tried wasn't working, or didn't give a result where the filter is limited to certain frames.
Maybe someone could share a script or simply add what's needed to limit a filter to a range of frames.

here's my very simple scritp for deband:

Quote:
import vapoursynth as vs
core = vs.core
src = core.ffms2.Source("video.mkv")
src = core.neo_f3kdb.Deband(src)
src.set_output()
so, what should be added to limit the debanding filter to e.g. frames 100-110?

thanks in advance for any help.
Etroxamin is offline   Reply With Quote
Old 24th September 2021, 14:10   #134  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
This should work I guess (not tested)
Code:
import vapoursynth as vs
core = vs.core

src = core.ffms2.Source("video.mkv")

deband = core.neo_f3kdb.Deband(src)
src= core.remap.Rfs(src, deband, mappings="[100 200] [500 750]")

src.set_output()

With deband = core.neo_f3kdb.Deband(src).text.Text("DEBAND") You can easily check which frames exactly the filter is applied to with Text().


Quote:
it looks quite easy, unfortunately, vs editor is already complaining about the 2nd line,
giving me this error: Python exception: name 'source' is not defined.
Because source was not defined before, only src were.

correct would be
Code:
deband = core.neo_f3kdb.Deband(src)
OR
deband = src.neo_f3kdb.Deband()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 24th September 2021, 15:08   #135  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
Quote:
Originally Posted by ChaosKing View Post
This should work I guess (not tested)
Code:
import vapoursynth as vs
core = vs.core

src = core.ffms2.Source("video.mkv")

deband = core.neo_f3kdb.Deband(src)
src = core.remap.Rfs(src, deband, mappings="[100 200] [500 750]")

src.set_output()
yup, this works.

Another approach was suggested:

Code:
import vapoursynth as vs
core = vs.core
src = core.ffms2.Source("video.mkv")
deband = core.neo_f3kdb.Deband(src)
replaced = core.remap.Rfs(src, deband, mappings="[63300 63400]")
replaced.set_output()
this will also work, but can't say yet which might be better for multiple scene based filters, guess i have to test a bit more to find out.

thanks again, very appreciated
Etroxamin is offline   Reply With Quote
Old 24th September 2021, 20:04   #136  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
finesharp.py https://gist.github.com/4re/8676fd350d4b5b223ab9

seems not to be included in the fatpack (but its on the list), maybe you could add this in the next release. I will check more from the pack over time, and report here if anything is missing, perhaps most just get the file/script and don't repot here for missing stuff.

Edit:

CAS https://github.com/HomeOfVapourSynth...apourSynth-CAS

is included in the pack, but not on the list, might be worth to mention there, it's a quite useful sharpener, especially when combined with masks ....

Last edited by Etroxamin; 26th September 2021 at 12:50.
Etroxamin is offline   Reply With Quote
Old 28th September 2021, 14:24   #137  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
ok, after spending some time with scripting, i would like to to do some test encodes.

the editor has a in-build encoder, i tried this, and it worked 1 time.
But now i get this error:

x264 [error]: could not open output file `\x264_10bit_video.mkv'

i haven't changed the encode parameters:

--demuxer y4m --preset medium --crf 16 --output-depth 10 -o "{sd}\x264_10bit_video.mkv" -


Well, for my tests i would perhaps also need to specify a lot more parameters. To get down to 10 bit i use this:

src = core.resize.Bicubic(src, format=vs.YUV420P10, matrix_s='709', dither_type='none')

errors about missing/wrong color information were shown, when i tried this, so i tried a simple video without any filters first, as said, that worked 1 time. Now nothing works ...

could need some help i guess, thanks in advance.
Etroxamin is offline   Reply With Quote
Old 28th September 2021, 17:20   #138  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
If the script preview works then so should the encode function. Make sure Header is set to Y4M. By default it is set so "no header", it's a bug in vsedit.
Switching profiles to a different one and then back re-sets the header also to the correct value.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 28th September 2021, 19:49   #139  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
Quote:
Originally Posted by ChaosKing View Post
If the script preview works then so should the encode function. Make sure Header is set to Y4M. By default it is set so "no header", it's a bug in vsedit.
Switching profiles to a different one and then back re-sets the header also to the correct value.
thanks for your answer ChoasKing,

i tried to switch to Y4M header, also tried to reload everything, etc. and as said it worked, but also were complaining about colors, however, i just tried it with x265, as it would be my choice anyway and now it works flawlessly, don't know why x264 doesn't want to work anymore, but might not be important anyway.

I will just stick with x265 for now, overall i'd say i can offer better quality anyway, even if it sometimes can screw up some minor details, which x264 did quite well, but an overall better quality is perhaps the more important thing
Etroxamin is offline   Reply With Quote
Old 29th September 2021, 22:24   #140  |  Link
Etroxamin
Registered User
 
Join Date: Jul 2021
Location: Bremen, Germany
Posts: 36
ok, i made some test encodes, looking good so far, but i encountered a huge problem:

in a larger test video, i got video jitter in one scene, very noticeable and have no idea what can cause this, the error is not reproduceable, and didnt happen in the first test, as well in another test to see if it happens again with the exactly same script.

EDIT:

seems like this error was caused by ffms2, problem was fixed with older release

Last edited by Etroxamin; 1st October 2021 at 12:36.
Etroxamin is offline   Reply With Quote
Reply

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 00:53.


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