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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 6th February 2020, 06:06   #5121  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 2,849
Quote:
Originally Posted by real.finder View Post
Non-SSE2 version of AVS+ done by c/c++ code only, that why it's slower than old avs 2.6 that still has Non-SSE2 asm
Yes I know...
Don't get me wrong, I kinda like AVS+, and I do use it on at least one of my Win7 notebooks. But I also have to say that it was way too much trouble to get MT mode halfway stable with my preferred plugins. I think I got it now, but my speed gain dropped to a meager 2 to 3 fps. Not really worth the effort...
manolito is offline  
Old 6th February 2020, 10:20   #5122  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 1,835
Quote:
Originally Posted by pinterf View Post
Btw: is there anybody still using XP?
I'm not using XP anymore, but one suggestion or possible thing, is for "version with XP support" just provide the "files only" version (like you did for testing), and the installer and all stuff for the "version without XP support".
__________________
My github.
jpsdr is offline  
Old 6th February 2020, 10:38   #5123  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,652
Quote:
Originally Posted by real.finder View Post
Non-SSE2 version of AVS+ done by c/c++ code only, that why it's slower than old avs 2.6 that still has Non-SSE2 asm
Most old functions do have mmx version, which still work in 32 bit SSE-only builds. Where you may encounter significant difference between avs+ and classic avs, it's because of the low-memory scenarios. Internal frame caching is completely different, the main differences come from this fact.

On the other hand, I've seen cases in the past where compiler produced faster code from C and was optimizing better than the original hand-made assembly code.

Anyway, I added a 32bit non-SSE2 (SSE only) build to the yesterday's package.

Download Avisynth+ 3.5 test build (x86, x64, x86 SSE only) from here:
https://drive.google.com/open?id=1Sh...nV_niHBT0zRcZO
pinterf is offline  
Old 7th February 2020, 03:29   #5124  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,281
Lil bit Errata for Layer on Wiki,

Quote:
Layer

Layer (aka overlay, blend, merge) two clips of possibly different sizes, but with the same color format.

For pixel-wise transparency information, the alpha channel of an RGBA overlay_clip is used as a mask.

AVS+ Before Avisynth+ 3.4.0 Layer was working only for RGB32 and YUY2.
Filter "Overlay" was used primarily for YUV. Now Layer accepts practically all formats (no RGB24).
Also no RGB48, so no 3 channel Interleaved RGB without Alpha, supported.

Planar RGBP10 works OK
Planar RGBP12 works OK
Planar RGBP14 works OK
Planar RGBP16 works OK
Planar 32 bit Float No Alpha RGBPS OK
Planar 32 bit Float with Alpha RGBAPS OK

EDIT: Also, Maybe should throw Error if trying to use Layer on RGB24/RGB48, it just does nothing. (no change to target clip)
Sort of got S_ExLogo2() working for all colorspaces [barring YV411], no more bugs found (as yet).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 7th February 2020 at 03:49.
StainlessS is offline  
Old 7th February 2020, 10:48   #5125  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,652
Quote:
Originally Posted by StainlessS View Post
Lil bit Errata for Layer on Wiki,
Also no RGB48, so no 3 channel Interleaved RGB without Alpha, supported.
EDIT: Also, Maybe should throw Error if trying to use Layer on RGB24/RGB48, it just does nothing. (no change to target clip)
I've made Layer to support rgb24/48. (by processing them as planar rgb behind the scenes)
Download Avisynth+ 3.5 test build (r2947) x64, x86, x86-SSE-only
https://drive.google.com/open?id=1J4...F_u4pDdnk_E7Em
pinterf is offline  
Old 7th February 2020, 17:28   #5126  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,281
OOooo... lovely P, will save a little bit of jumping through hoops for special cases, thanx awfully
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 7th February 2020 at 19:03.
StainlessS is offline  
Old 8th February 2020, 08:41   #5127  |  Link
2ndR
Registered User
 
Join Date: Nov 2009
Posts: 4
Code:
YV12Source
ConvertTo16bit ()
ConvertToRGB48 ("Rec709")
ConvertTo8bit (dither = 1)
Does not work

Last edited by 2ndR; 9th February 2020 at 06:53.
2ndR is offline  
Old 8th February 2020, 16:19   #5128  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 4,297
Quote:
Originally Posted by 2ndR View Post
ConvertTo16bit ()
ConvertToRGB48 ("Rec709")
ConvertTo8bit (dither = 1)
Does not work

Starting from YV12? Try going through planarRGB

Code:
ConvertTo16bit ()
ConvertToPlanarRGB(matrix="Rec709")
ConvertTo8bit (dither = 1)
#ConvertToRGB24 # (if packed required)
poisondeathray is offline  
Old 8th February 2020, 21:50   #5129  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 982
Quote:
Originally Posted by pinterf View Post
is there anybody still using XP?
Me! And many other people here I think.
Although I have Windows 10 x64 at work, at home I have Fedora (Linux), but I still use Windows XP for pretty much everything from chatting to surfing the web and so on as long as it's not work-related.
My CPU does actually support instructions set up to AVX2 however XP supports 'till SSE4.2. The thing is that it would be a shame to drop XP Support. Is there any specific reason why it couldn't be targeted other than downloading the additional compiling tool for Visual Studio 2019 to target XP?
FranceBB is offline  
Old 8th February 2020, 22:05   #5130  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 344
Is there a plan to merge the latest Expr improvements from VS?
Stephen R. Savage is offline  
Old 8th February 2020, 22:10   #5131  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,994
Out of curiosity, is interleaved RGB (either in AviSynth or just in general) on its way to being deprecated? Or at least sidelined by Planar RGB?
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline  
Old 9th February 2020, 01:54   #5132  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,207
Quote:
Originally Posted by wonkey_monkey View Post
Out of curiosity, is interleaved RGB (either in AviSynth or just in general) on its way to being deprecated? Or at least sidelined by Planar RGB?
Sidelined, I would say yes.

Consider the interleaved RGB formats there for compatibility and because they - and YUY2 - were essentially grandfathered in. We're not adding new interleaved formats (save for possibly doing stuff like outputting v210 through the VfW layer, but that's not internal processing), but I can't see any reason we'd remove the ones that are already there.
qyot27 is offline  
Old 9th February 2020, 06:50   #5133  |  Link
2ndR
Registered User
 
Join Date: Nov 2009
Posts: 4
Quote:
Originally Posted by poisondeathray View Post
Starting from YV12? Try going through planarRGB
Thank you very much. Recent worries have been resolved
2ndR is offline  
Old 9th February 2020, 08:32   #5134  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,652
Quote:
Originally Posted by Stephen R. Savage View Post
Is there a plan to merge the latest Expr improvements from VS?
I've examined the changes but unfortunately had no time for porting them.
pinterf is offline  
Old 9th February 2020, 08:41   #5135  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,652
Quote:
Originally Posted by FranceBB View Post
Me! And many other people here I think.
Although I have Windows 10 x64 at work, at home I have Fedora (Linux), but I still use Windows XP for pretty much everything from chatting to surfing the web and so on as long as it's not work-related.
My CPU does actually support instructions set up to AVX2 however XP supports 'till SSE4.2. The thing is that it would be a shame to drop XP Support. Is there any specific reason why it couldn't be targeted other than downloading the additional compiling tool for Visual Studio 2019 to target XP?
Yep, I've seen the usage statistics in the latest poll over there, which was showing the demand for XP - I don't know whether it comes from the typical age tree of the visitors of forum-like social media , anyway as long as there is a relatively effortless option for building xp-friendly stuff, I'll keep it for a while.
pinterf is offline  
Old 9th February 2020, 08:45   #5136  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,652
Quote:
Originally Posted by wonkey_monkey View Post
Out of curiosity, is interleaved RGB (either in AviSynth or just in general) on its way to being deprecated? Or at least sidelined by Planar RGB?
Sidelined. And like I did in Layer, instead of supporting RGB24/48 directly and implement another set of code paths, the filter seamlessly converts them to planar RGB do the filter core and convert it back to the old format. Soon you'll even forget to put the word "planar" when mentioning RGB.
pinterf is offline  
Old 9th February 2020, 20:03   #5137  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,281
Hi P, can you confirm this please:- https://forum.doom9.org/showthread.p...54#post1899154

Quote:
Limitations and Known Issues
1. VLC playback parameters are identified upon start of playback.
Therefore AviSynth script should provide video with constant resolution and fps, as well as audio with constant sample rate,
number of channels and bit-depth. Otherwise VLC will probably crash.
Need to remark that scripts with varying resolution and audio parameters are very rare.
Quote:
Originally Posted by StainlessS View Post
Dont think is possible for Avisynth to change any of above during playback. [EDIT: Perhaps someone else can confirm this]
Thanks in advance.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 9th February 2020 at 20:10.
StainlessS is offline  
Old 9th February 2020, 20:49   #5138  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,362
Quote:
Originally Posted by pinterf View Post
Yep, I've seen the usage statistics in the latest poll over there, which was showing the demand for XP - I don't know whether it comes from the typical age tree of the visitors of forum-like social media , anyway as long as there is a relatively effortless option for building xp-friendly stuff, I'll keep it for a while.
Windows 7 is already out of mainline support and people are still using XP? I wouldn't advocate dropping it just to spite XP users, but at this point you can barely even run Windows 7 on the latest hardware (definitely not officially supported). Encoding has to be quite painfully slow on the most recent hardware that actually supports XP.

Are there really people trying to use their ~20 year old P4 with their nearly 20 year old OS to work with modern video formats and processing techniques? Given the hardware and OS they're using it seems like they shouldn't have any issues with running an old version of AVIsynth(+) too. They should be used to it since pretty much every application has already left them behind.

Last edited by Stereodude; 9th February 2020 at 20:52.
Stereodude is offline  
Old 9th February 2020, 21:44   #5139  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,281
Quote:
Encoding has to be quite painfully slow on the most recent hardware that actually supports XP.
Who cares, set it going and tell it to auto shutdown when done, easy peasy. [I prefer not to encode on my No1 Machine].
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline  
Old 9th February 2020, 22:56   #5140  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,012
Quote:
Originally Posted by Stereodude View Post
at this point you can barely even run Windows 7 on the latest hardware (definitely not officially supported).
Not true. I just checked Asus support page, most AM4 boards support W7 and these Ryzen CPUs are very fast when it comes to encoding video.

Quote:
Originally Posted by Stereodude View Post
Are there really people trying to use their ~20 year old P4
There's a bloke here who still uses a P3.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline  
Closed Thread

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


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