View Full Version : New SimpleResize v 0.3.2 - chroma delay bug fix


trbarry
16th September 2002, 20:08
Hi -

Version 0.3.2.0 of my SimpleResize Avisynth filter fixes a horizontal chroma delay bug. No other changes.

See:

www.trbarry.com/Readme_SimpleResize.txt or
www.trbarry.com/SimpleResize.zip

- Tom

jarthel
17th September 2002, 14:11
thanks Tom.

Jayel

vidiot
17th September 2002, 15:16
Havenīt noticed this bug so far...
Hope it is still as fast as before...:D

Thx

Harald

trbarry
17th September 2002, 17:56
The bug was posted in another thread around here somewhere. What it amounted to was a fractional pixel chroma delay in the V component of YUV color that could occur on odd pixels. It didn't show up much but in some extreme cases could make it look like your display was very slightly out of convergence. Someone with a great eye spotted it.

The speed should be identical.

- Tom

iago
17th September 2002, 19:26
I can confirm that it is still lightning fast as before ;).
Thanks for this new fixed version trbarry.

regards,
iago

MaTTeR
18th September 2002, 02:31
Thanks for the fix Tom, though it was hardly noticeable if at all in about 60 movies I've ripped.

ookzDVD
18th September 2002, 08:39
@trbarry,

How about the width and height restriction which should be even,
is it removed ? or still applied ?

trbarry
18th September 2002, 17:44
The width must still be a multiple of 2. This is not going to change because that is a requirement of the YUY2 data format.

I don't even remember about the height. I don't think so.

But be aware that many codecs or even video card like a multiple of 16 best, I think Xvid among them.

- Tom

jarthel
19th September 2002, 13:15
is simpleresize faster than other resize filter like lanczosresize?

Thanks

jayel

iago
19th September 2002, 13:24
@jarthel

Yes, absolutely (faster than LanczosResize)! You can try both to see the difference ;).

iago

SuperLumberjack
17th August 2016, 21:58
Hello :)

I tried this resize filter to change the aspect ratio of a video (I converted 8/7 aspect ratio to 4/3) and it's the best thing I found to do this ;)

The only problem is that the YV24 and RGB24 color formats aren't supported. So the chroma resolution is divided by 2 with the YUY2.

It's why, I wanted to know if we could hope the support of one of these two formats or both ?

Thanks for the answer :thanks:

(sorry for my bad English, I'm French)

Groucho2004
17th August 2016, 22:38
This has to be the worst case of necrophilia ever here, 14 years!
I tried this resize filter to change the aspect ratio of a video (I converted 8/7 aspect ratio to 4/3) and it's the best thing I found to do this ;)
Install the recent version of Avisynth (2.6) and use internal filters. This will also solve your colour space issues. A good place to start is here (http://avisynth.nl/index.php/Main_Page).

SuperLumberjack
18th August 2016, 08:56
Hello. Yeah, it's old ! :D

But if I want to use the SimpleResize filter, it's because I have better results than with the others filters.

With the others filters it becomes blurry horizontaly. But with the SimpleResize filter, it's like an analogic enlargement I find :p

The only problem is the chroma downscaling when I convert RGB24 in YV12 or YUY2.

feisty2
18th August 2016, 09:31
it becomes blurry horizontaly.
Bicubicresize(b=-1,c=0)

SuperLumberjack
18th August 2016, 12:52
Thanks ! :thanks:

It's a good idea, but it's a bit unnatural :o

The ideal it's a horizontal enlargement type "CRT screen-like" if you see what I mean :p

But I know it's hard to find.

The SimpleResize would be perfect if there isn't a lost of accuracy due to the conversion to YUY2 color format.

feisty2
18th August 2016, 13:05
http://forum.doom9.org/showthread.php?t=170732

SuperLumberjack
18th August 2016, 14:06
Thanks !

But I don't like scanlines :p I wanted to say a horizontal enlargement which looks natural, not blurry, which looks pixel perfect like a CRT did.

But I want to enhance my image too ;)

I think the SimpleResize is the best for that. But it becomes blurry because of the convertion of RGB24 to YUV2. It's just the chroma. If it was in YUV24 or RGB24, there shouldn't be any problem I think.

I should create a new topic. I don't want to pollute this one.

raffriff42
18th August 2016, 14:33
I like feisty2's Bicubicresize(b=-1,c=0) suggestion, but if you must use SimpleResize: w=<new width, integer>
h=<new height, integer>

## Last=RGB24
MergeRGB(
\ ShowRed ("YV12").SimpleResize(w, h)
\ , ShowGreen("YV12").SimpleResize(w, h)
\ , ShowBlue ("YV12").SimpleResize(w, h)
\ )

## Last=YV24
YToUV(
\ UToY.SimpleResize(w, h)
\ , VToY.SimpleResize(w, h)
\ , Last.SimpleResize(w, h)
\ )

SuperLumberjack
18th August 2016, 14:38
Thanks ! :thanks:

But can you explain please ? I don't understand everything. My scripts are generally very basic :p

Per example, my video has a native resolution of 256x224. I want 1408x1080.

SuperLumberjack
18th August 2016, 16:17
I understood. I try ;)

SuperLumberjack
18th August 2016, 21:32
Thanks for your help raffriff42 (and the others too) ! ;)

This is the best :

## Last=YV24
YToUV(
\ UToY.SimpleResize(w, h)
\ , VToY.SimpleResize(w, h)
\ , Last.SimpleResize(w, h)
\ )

In RGB 24 there is a loss of quality, because of the "YV12" I suppose. But in YV24 it's perfect :p

Zarper
13th February 2021, 01:03
This thread is listed on the SimpleResize page on the AviSynth site as the discussion thread for SimpleResize, so I hope this is the right place to ask a question.

When using SimpleResize/WarpResize inside AvsPmod (AviSynth+ 3.7.0 64 bit) it works just fine. But if I try to encode it with ffmpeg it stalls without loading the clip and opening it in a media player first just gives a black screen and if I try to jump I get the error:
CAVIStreamSynth: System exception - Access Violation at 0x00007FFF1A6E1BE0
Same error but different place for WarpResize.

kedautinh12
12th May 2021, 09:08
New ver 3.5 by Asd-g
http://avisynth.nl/index.php/SimpleResize

Katie Boundary
21st September 2022, 16:55
Who is Asd-G?

StainlessS
21st September 2022, 17:04
No Account on D9, although a well recognised developer.
Account on GitHub:- https://github.com/Asd-g
Dont know if he/she ever had acc on D9.

kedautinh12
21st September 2022, 18:16
No Account on D9, although a well recognised developer.
Account on GitHub:- https://github.com/Asd-g
Dont know if he/she ever had acc on D9.

I think had account but private info