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. |
11th June 2016, 04:48 | #1 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
A note on Simpleresize
If Simpleresize is fed RGB data instead of YUV data, it will incorrectly report a problem with the horizontal resolution not being a multiple of 2, rather than a problem with the colorspace.
This should be fixed.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 11th June 2016 at 20:05. |
11th June 2016, 05:00 | #2 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Last edited by Reel.Deel; 12th June 2016 at 02:15. Reason: Add original statement from op |
|
11th June 2016, 05:08 | #3 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Script:
Code:
mpeg2source("blahblahblah.d2v") converttorgb() crop(7,0,-9,-0) simpleresize(352,240) Code:
Avisynth open failure: SimpleResize: Horizontal pixels must divide by 2 Quote:
EDIT: Nope, align=true didn't do jack.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 11th June 2016 at 05:14. |
|
11th June 2016, 13:59 | #6 | Link |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
Has anybody used WarpedResize [with a YV12 source] lately? For me it is warping Chroma from one side instead of centered like Luma, which looks a bit odd:
Code:
LoadPlugin(p + "SimpleResize\Avisynth_2.5_Alpha\SimpleResize.dll") ColorBars(pixel_type="YV12") Subtitle("5 4 3 2 1 0 1 2 3 4 5", \ align=5, size=Height*0.2, font="Courier New", \ text_color=$aaffffff, halo_color=$ff000000) WarpedResize(Width, Height, 1.5, 1.0) Subtitle("WarpedResize(hWarp=1.5)", align=8, \ text_color=$ebebeb, halo_color=$ff000000) return Last Code:
## fix WarpedResize YV12 chroma bug; make warp arguments optional function WarpedResize2(clip C, int width, int height, float "hWarp", float "vWarp") { Assert(C.IsYV12, \ "WarpedResize2: source must be YV12") Assert(width % 4 == 0, \ "WarpedResize2: 'width' arg must be mod 4") Assert(height % 4 == 0, \ "WarpedResize2: 'height' arg must be mod 4") hWarp = Default(hWarp, 1.0) vWarp = Default(vWarp, 1.0) U = C.UToY .WarpedResize(width / 2, height / 2, hWarp, vWarp) V = C.VToY .WarpedResize(width / 2, height / 2, hWarp, vWarp) Y = C .WarpedResize(width, height, hWarp, vWarp) return YToUV(U, V, Y) } Last edited by raffriff42; 16th March 2017 at 23:16. Reason: (fixed image links) |
11th June 2016, 17:00 | #7 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
Very interesting, raffriff42.
This could be the missing puzzle stone to move from DVD PAL to NTSC. Last edited by GMJCZP; 11th June 2016 at 17:22. |
11th June 2016, 19:46 | #8 | Link | ||
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Quote:
Quote:
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 11th June 2016 at 20:01. |
||
11th June 2016, 22:43 | #10 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
I clarified the nature of the problem, but it doesn't change any of the relevant facts or even significantly alter the conversation.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
12th June 2016, 02:06 | #12 | Link | |
Registered User
Join Date: Feb 2002
Location: California
Posts: 2,695
|
Quote:
Superior field-matching filter needed I commented on it at the time, but didn't realize until now that it is a habit. Lots of people edit their posts to correct typos, update links, add references to later posts, etc. I think that is within normal forum etiquette. However, when the nature of the post is significantly changed, especially when it is the thread starter, and even more especially when people have already responded to what was originally said, it messes everything up. I agree with you that, under these circumstances, it is pointless to try to have any sort of discussion. I have learned my lesson and will stick to threads that don't have this problem. |
|
12th June 2016, 06:32 | #13 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Quote:
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|