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. |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,583
|
Things missing in Vapoursynth,....
Here are a few things I miss in Vapoursynth:
Cu Selur Last edited by Selur; 21st August 2024 at 15:46. |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,822
|
Cdeblend suffers from the same problem as srestore (linear cache)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 11th September 2023 at 22:12. |
![]() |
![]() |
![]() |
#4 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
Is this the most recent version of the source code? Should be a quick port
http://www.avisynth.nl/index.php/DeScratch
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#6 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
Would you happen to have a small test clip and some reasonable settings so I can verify that my port works?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,583
|
Not so small clip example: https://forum.videohelp.com/threads/...if-possible%29
usually, I takes multiple calls: Code:
f = f.DeScratch(maxgap=5,minlen=30,maxangle=55) f = f.DeScratch(maxgap=25,minlen=25,maxangle=30) (+ you often use it scene by scene) Cu Selur |
![]() |
![]() |
![]() |
#8 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
Please test and report your findings before I make a proper release. See it as the one true successor fork since I support both avs and vs and cleaned up the code quite a bit.
https://github.com/vapoursynth/descr...ases/tag/Test1
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#11 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
Quote:
Higher bitdepths is probably just a waste of time anyway. It's also somewhat annoying since the code mixes up row size and width.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,583
|
Works fine here too. YV16 and YV24 would be nice. I agree, high bit depth should not be really needed since I have never used this on anything but old tape scans or similar.
![]() Thanks for porting this! Cu Selur |
![]() |
![]() |
![]() |
#13 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
First and probably only release is up. Would be great if someone edits the avisynth wiki so more people can find it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#15 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
This is the most recent source and the correct despot version?
http://avisynth.nl/index.php/DeSpot Looks like YV24 support and YV16 is easily doable as improvement (only has the ancient YUY2 planar hack and nobody likes that).
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
![]() |
![]() |
![]() |
#17 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,583
|
@myrsloik: seeing that you started to do a proper port of Despot over at https://github.com/vapoursynth/despot I just wanted to know if there is hope for a release?
![]() |
![]() |
![]() |
![]() |
#18 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
Quote:
The main problem is that the code uses convoluted ways to avoid memory allocation and is by modern standards quite insane. Except in some modes where it forgets all about it and allocates like crazy. Maybe I'll have time to poke it again in a few weeks. Code archeology at its finest...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
![]() |
![]() |
![]() |
#20 | Link | |
Long-time Reader
Join Date: Jan 2017
Location: New Mexico
Posts: 15
|
Quote:
I've tried several times with Hybrid and it keeps failing after a few minutes. Never on the same frame. Have tried two different films with the same results. The older AS version of this filter in Hybrid works fine on the same content. To me, it looks like a memory leak. I start the job with about 5GB of mem full, out of 12GB. It creeps up to 12GB, bounces around up there for a few minutes, until, presumably, DeScratch steals it all and crashes. It encodes about 2-3 minutes of HD material before it quits. I can get it to go a bit longer if I turn off Hybrid's built-in feature and add DeScratch as a custom command with YUV422P8 color instead of YUV444P8. And another bit longer with YUV420P8. Another observation is that this new VS version of DeScratch is better at avoiding false positives between the characters in overlay text (or the text itself), versus the AS version (with the same settings, of course). With the AS version, I have to set the minlen 2 or 3 times taller than the text (red text, btw). This version simply ignores the text regardless of how low I set minlen. I had a hunch this was due to YUV444P8 and, sure enough, when I set it to YUV420P8, the VS version runs just like the AS version on this front. Thus, it would be extra nice to run on YUV444P8, assuming that's not a glitch. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|