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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th April 2020, 03:51   #21  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
I believe the change of bit depth should not change a parameter, at least in most cases.
Both vapoursynth-dfttest and dfttest scale parameters to the bit depth so it wasn't a problem.

I haven't decided what to do next, but I may start with a few. mvtools-sf is also a good candidate. Depending on my time availability.
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 16th April 2020, 04:16   #22  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,685
Quote:
Originally Posted by MeteorRain View Post
I believe the change of bit depth should not change a parameter, at least in most cases.
Both vapoursynth-dfttest and dfttest scale parameters to the bit depth so it wasn't a problem.
so, parameter for those now float right? (if they not already), since float more flexible, For example if the parameter 0-255 with float we can set it like 112.5 and so, but with int we have only 256 options and that not suitable for more than 8bit

Quote:
I haven't decided what to do next, but I may start with a few. mvtools-sf is also a good candidate. Depending on my time availability.
since mvtools already has HBD (still there are no float motion analyzing) and it's complex maybe it's good to start with basic things that has no HBD yet in avs+ like VagueDenoiser, EEDI3 and Dither_resize16/fmtconv and then back to mvtools in the end
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 16th April 2020, 05:36   #23  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Which parameters are you talking about? DFTTest has all parameters in float I believe (except for those modes, sizes and frame numbers).

And I've uploaded the release (r7).
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median

Last edited by MeteorRain; 16th April 2020 at 05:38.
MeteorRain is offline   Reply With Quote
Old 16th April 2020, 05:41   #24  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,685
Quote:
Originally Posted by MeteorRain View Post
Which parameters are you talking about? DFTTest has all parameters in float I believe (except for those modes, sizes and frame numbers).
if they are, then no need to do anything I am just saying if any (Whether here or not)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 16th April 2020, 10:42   #25  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 3,075
Quote:
Originally Posted by MeteorRain View Post
And I've uploaded the release (r7).
I saw your readme.md is pointing to official FFTW download page.

Unfortunately they built only 3.3.5 version of dll, while there are many updated ones such as 3.3.7 or 3.3.8. The latest I can find is here and a fresh compile from you or pinterf with VS and clang (and perhaps Intel) to test would be nice.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 16th April 2020, 16:38   #26  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,685
is [Neo] FFT3D / DFTTest stable yet? cuz I want to make scripts use them instead of non-neo one

also as I said in #22 more ports from VS will be nice since avs+ still need those updates for HBD, so I will make another wave of scripts updates
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 16th April 2020, 19:58   #27  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Whether it is stable depends on your bug report. If you're happy about it then I think it's stable enough.

What are the things that you are looking to replace in your script from VS counterparts? Those 3 you mentioned?
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 16th April 2020, 20:28   #28  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,685
Quote:
Originally Posted by MeteorRain View Post
Whether it is stable depends on your bug report. If you're happy about it then I think it's stable enough.

What are the things that you are looking to replace in your script from VS counterparts? Those 3 you mentioned?
yes and along with SangNomMod those the most important for now, but there are others with kinda less important like TTempSmooth, EEDI2, TCanny (there are TCannymod by chikuzen but I think with no HBD), Yadifmod (there are Yadifmod2 by chikuzen with not completed HBD), IT, DeblockPP7

and after that maybe these VS only like Bwdif, W3FDIF, VMAF, BM3D
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 18th April 2020, 11:17   #29  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 594
Code:
ffvideosource()
neo_ff3d() #r3 crash with no message, r1v4 is ok (x64)
StvG is offline   Reply With Quote
Old 18th April 2020, 11:40   #30  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,647
Quote:
Originally Posted by MeteorRain View Post
I believe the change of bit depth should not change a parameter, at least in most cases.
Both vapoursynth-dfttest and dfttest scale parameters to the bit depth so it wasn't a problem.

I haven't decided what to do next, but I may start with a few. mvtools-sf is also a good candidate. Depending on my time availability.
This is one of the cases where you can argue that it should change. We're dealing with transforms so there's a direct connection between input range and transformed range. Just my thoughts. I suppose scaling is easier but then a 0-255 range makes no sense. Either have a proper 0-1 float or make the int range a percentage or whatever.

Don't propagate 0-255 scaled ranges, they make me very unhappy since they make no sense AND lack fine enough steps to for higher bitdepths.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 19th April 2020, 10:05   #31  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Quote:
Originally Posted by StvG View Post
Code:
ffvideosource()
neo_ff3d() #r3 crash with no message, r1v4 is ok (x64)
Can't reproduce here.

Source file resolution? (Tested 1280x720)
Source bit depth? (Tested 8-bit)
FFMS version? (Mine stamped at 2019-8-11)
Anything that I might have missed?
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 19th April 2020, 18:00   #32  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 594
Quote:
Originally Posted by MeteorRain View Post
Can't reproduce here.

Source file resolution? (Tested 1280x720)
Source bit depth? (Tested 8-bit)
FFMS version? (Mine stamped at 2019-8-11)
Anything that I might have missed?
Tested with 1280x720 / 1920x1080 8-bit video, blankclip(pixel_type="yv12").
Added ConvertBits(16) before neo_fft3d() doesn't change the situation.
Tested with this FFMS2, latest LSMASH.
AVSMeter - https://images2.imgbox.com/e6/ba/oz2BaBV8_o.png
AVX-512 CPU.
StvG is offline   Reply With Quote
Old 19th April 2020, 21:43   #33  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Oh avx 512. Yea I don't have any testing environment. Can you try debugging it for me?

(Or I can try to use a CPU emulator or rent a server to debug it. Or I can simply remove it since it's not such a big deal to support it now.)
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median

Last edited by MeteorRain; 19th April 2020 at 21:50.
MeteorRain is offline   Reply With Quote
Old 19th April 2020, 23:01   #34  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Should have fixed it. The issue is more stupid than I thought.

Please try v4.

Also opt parameter is introduced so you can disable AVX512 manually.
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median

Last edited by MeteorRain; 20th April 2020 at 03:55.
MeteorRain is offline   Reply With Quote
Old 20th April 2020, 11:14   #35  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 594
Thanks. It works now.
The output of opt=1 and opt=2 is identical.
The output of opt=3 and opt=4 is identical.
The output of opt=1/2 is a bit different than opt=3/4.
StvG is offline   Reply With Quote
Old 20th April 2020, 12:39   #36  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Do you have a combination of resolution-depth-parameters that I can test?

By the way I did find some issues when running 2 instances together. I'll check that part later.
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 20th April 2020, 14:44   #37  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 594
Code:
ColorBars(pixel_type="yv12") #whatever pixel_type
a=neo_fft3d(opt=3)
neo_fft3d(opt=2)
Compare(a,"yuv")
Live action video would have bigger difference.
StvG is offline   Reply With Quote
Old 20th April 2020, 23:43   #38  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 896
Please try r5 as I fixed the race condition when multiple instances are running together.
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 21st April 2020, 12:51   #39  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 594
The difference is still there.
StvG is offline   Reply With Quote
Old 22nd April 2020, 06:35   #40  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,170
Quote:
Originally Posted by StvG View Post
The difference is still there.
can you comment more detail?
kedautinh12 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 05:33.


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