View Full Version : Question about addborders
FuPP
7th April 2003, 23:27
I get something that seems "strange" to me when using addborders; I get a brighter pixel line close to the border. It is even brighter using converttoyuy2() a the end of the script.
1/ Is this brighter line normal? 2/ Why do I get a different result using converttoyuy2() ?
Regards,
FuPP
Using avs 2.5 latest build (04/04)
My script :
LoadPlugin("C:\video\avsfilters\yv12\MPEG2Dec3.dll")
mpeg2source("F:\tests\vts_01.d2v",cpu=0,idct=2)
Crop(26,76,668,424)
BicubicResize(448,320,0,0.5)
AddBorders(16,128,16,128)
converttoyuy2()
See attachment for pictures...
FuPP
9th April 2003, 08:55
Anyone ? Shodan, maybe ?
FuPP.
sh0dan
9th April 2003, 11:53
Seems like one chroma line isn't being bitblitted properly, if it the bottom you are thinking of.
Edit: It was the top. ;)
FuPP
9th April 2003, 12:55
Originally posted by sh0dan
Seems like one chroma line isn't being bitblitted properly, if it the bottom you are thinking of.
Edit: It was the top. ;)
It is visible on the left too.
Regards,
FuPP
FuPP
26th April 2003, 12:48
Originally posted by sh0dan
Seems like one chroma line isn't being bitblitted properly
Sorry to ask you that Shodan, but after you posted that answer, I had understood it was a bug (these lines are present on all my encodes). Could you confirm and, if so, tell me if anything has been planned ?
In fact, I think that these line can probably (slightly ?) affect compressibility...
Thanks a lot
Regards,
FuPP
sh0dan
26th April 2003, 13:02
After I posted here, I put up a bug report (http://sourceforge.net/tracker/?atid=482673&group_id=57023&func=browse) to remind myself of checking this, when I got the time!
It seems like a bug, but I need to carefully check each calculation. If there is missing a chroma line, it should be fixed.
Thinking more of it - letterbox should probably always "round up", when doing chroma. Chroma values in no luma is after all less visible than one line of luma with no chroma.
(Sorry if the last part doesn't make any sense) ;)
FuPP
26th April 2003, 23:38
Originally posted by sh0dan
Thinking more of it - letterbox should probably always "round up", when doing chroma. Chroma values in no luma is after all less visible than one line of luma with no chroma.
It makes sense to me, except that I'm not speaking about Letterbox but Addborders ;)
Maybe the code is shared between both filters...
Thx Shodan,
FuPP.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.