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 > Avisynth Development
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 28th March 2020, 10:33   #5301  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Fortunately, DosBox emulates GUS (Gravis Ultrasound) devices nicely.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 29th March 2020, 14:35   #5302  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by wonkey_monkey View Post
Quick question: is the horizontally shifting chroma bug from <=2.61 fixed in Avisynth+?

http://avisynth.nl/index.php/Known_I...sitioning_Bugs
No, it's not (or at least something is still wrong with the chroma handling)

You can quickly test for it by doing an integer point resample modification to the chroma and back. It should be lossless, but using the built in avisynth+ functions it's not. Using avsresize (z.lib) it is lossless.

Lossless:
z_ConvertFormat(pixel_type="YUV422P10", resample_filter="point", colorspace_op="170m:601:170m:f=>170m:601:170m:f")
z_ConvertFormat(pixel_type="YV12", resample_filter="point", colorspace_op="170m:601:170m:f=>170m:601:170m:f")

not lossless
ConvertToYUV422(matrix="PC.601", chromaresample="point")
ConvertToYUV420(matrix="PC.601", chromaresample="point")
Stereodude is offline  
Old 30th March 2020, 06:37   #5303  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
can someone add HBD to http://avisynth.nl/index.php/MedianBlur2 and http://avisynth.nl/index.php/AddGrainC ?

they are very basic functions that needed in many scripts
__________________
See My Avisynth Stuff
real.finder is offline  
Old 30th March 2020, 07:34   #5304  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
AddGrain already have vapoursynth version, probably not that difficult to port back.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline  
Old 30th March 2020, 08:45   #5305  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by DJATOM View Post
AddGrain already have vapoursynth version, probably not that difficult to port back.
so you will do it?

I kinda shy to ask pinterf since he already did many ports and work for avs

if not you then maybe jpsdr or MeteorRain

for MedianBlur2 there are also https://forum.doom9.org/showthread.p...20#post1810220
__________________
See My Avisynth Stuff
real.finder is offline  
Old 30th March 2020, 09:08   #5306  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 450
Quote:
Originally Posted by real.finder View Post
can someone add HBD to http://avisynth.nl/index.php/MedianBlur2 and http://avisynth.nl/index.php/AddGrainC ?

they are very basic functions that needed in many scripts
AddGrain port of the vs version.
StvG is offline  
Old 30th March 2020, 09:39   #5307  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by StvG View Post
AddGrain port of the vs version.
thanks, it work but even in 8 bit it darker (1/255) than the original input or old AddGrain
__________________
See My Avisynth Stuff
real.finder is offline  
Old 31st March 2020, 00:13   #5308  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
so, anyone will pickup MedianBlur2?
__________________
See My Avisynth Stuff
real.finder is offline  
Old 31st March 2020, 07:40   #5309  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
I'll check how difficult it is. If project can be done in a day then probably ok.
pinterf is offline  
Old 31st March 2020, 14:04   #5310  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
Pinterf, i have a try to compile your last build of AviSynthPlus (VC2019),
but several times I encounter the following messages:

Error C3447 third operand to the conditional operator ?: is of type 'void', but the second operand is neither a throw-expression nor of type 'void'
and also
C2440 'return': cannot convert from 'AVSMapValue' to 'AVSMapValue &'

It is critical? I read some things in the following forum:
https://cboard.cprogramming.com/c-pr...type-void.html
Thank you in advance and sorry for disturbance. I'm not deep familiar with C/C++ programming.
mcjordan is offline  
Old 31st March 2020, 14:16   #5311  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Check it again please, work in progress.
pinterf is offline  
Old 31st March 2020, 14:19   #5312  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
Thank you. I'll try again later.
mcjordan is offline  
Old 31st March 2020, 14:51   #5313  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
Also in strings.cpp ->
Warning C4996 'std::codecvt_utf8_utf16<wchar_t,1114111,(std::codecvt_mode)0>': warning STL4017: std::wbuffer_convert, std::wstring_convert, and the <codecvt> header (containing std::codecvt_mode, std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16) are deprecated in C++17. (The std::codecvt class template is NOT deprecated.) The C++ Standard doesn't provide equivalent non-deprecated functionality; consider using MultiByteToWideChar() and WideCharToMultiByte() from <Windows.h> instead. You can define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.

and

error C2039: 'unique_ptr': is not a member of 'std'
message : see declaration of 'std'
syntax error: missing ';' before '<'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

Sorry for double post.
mcjordan is offline  
Old 31st March 2020, 15:55   #5314  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Put an
#include <memory>
in strings.h

rare case when gcc and clang was o.k., but msvc not.
pinterf is offline  
Old 31st March 2020, 17:56   #5315  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Quote:
Originally Posted by pinterf View Post
Put an
#include <memory>
in strings.h

rare case when gcc and clang was o.k., but msvc not.
you could probably write a very high level script-like API wrapper, like I recently did, if you wanna make the coding process painless for people that wish to write their own plugins but with little knowledge of C or C++
feisty2 is offline  
Old 31st March 2020, 18:31   #5316  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
#include <memory>
in strings.h
works like a charm.

Thank you, Pinterf.
mcjordan is offline  
Old 1st April 2020, 07:33   #5317  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by feisty2 View Post
you could probably write a very high level script-like API wrapper, like I recently did, if you wanna make the coding process painless for people that wish to write their own plugins but with little knowledge of C or C++
I enjoy your coding experiments despite the fact that sometimes I feel myself dummy and too old for those abstractions that are allowed by modern C++ syntax. I have the similar feelings when I'm looking into secrit-twc's repos who solves problems in two elegant lines which I'm doing with a half page of code. Probably my son will do it better than me (he's studying informatics), they had already C++ basics, C++11, 14 and 17 are covered by second half-year course, so he cannot help me right now in interpreting those magics you are doing.
pinterf is offline  
Old 1st April 2020, 10:06   #5318  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
I'd really hope someone's gonna write a wrapper like what I did to make a plugin dual interface, but in a more elegant and clean way.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline  
Old 2nd April 2020, 09:48   #5319  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
I actually took some time to read F2's code. I'm impressed by how elegant it's done. In my dual interface framework I put wrapper as template parameter, while he put the filter engine as template parameter. Very interesting design.

Lots of features are not supported yet -- lots of C++20 things. So no MSVC at this point == no chance for AviSynth+ for Windows.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline  
Old 2nd April 2020, 10:37   #5320  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Quote:
Originally Posted by MeteorRain View Post
Lots of features are not supported yet -- lots of C++20 things. So no MSVC at this point == no chance for AviSynth+ for Windows.
I actually successfully compiled GCC 10 (trunk ver) from the scratch in Cygwin for windows a few days ago. I'll admit that it was not a pleasant experience...
feisty2 is offline  
Closed Thread


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 06:01.


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