Avidemux Forum

Avidemux => Windows => Topic started by: Sartre on March 21, 2013, 11:06:02 PM

Title: SWSResize causing green tint
Post by: Sartre on March 21, 2013, 11:06:02 PM
Same x264 settings, lanczos resize. AViDemux 2.6 r8502 (March 19)

Converted at original size 1920x800

http://img713.imageshack.us/img713/8748/1080p20130321200652.jpg (http://img713.imageshack.us/img713/8748/1080p20130321200652.jpg)


Resized to 1280x532 with SWSResize

http://img832.imageshack.us/img832/717/720p20130321200702.jpg (http://img832.imageshack.us/img832/717/720p20130321200702.jpg)

(Both full-screen snaps)
Title: Re: SWSResize causing green tint
Post by: Jan Gruuthuse on March 22, 2013, 06:52:02 AM
One that dev(s) could/can only explain: perhaps there is an issue with color matrix Rec. 601 (http://en.wikipedia.org/wiki/Rec._601) and Rec. 709 (http://en.wikipedia.org/wiki/Rec._709)
Do you have other resizing available in avidemux? Like vdpau: Resize (linux with nvidia grphics card) or OpenGl Resize (found under OpenGl) and see if this improves/stays the same?
could be SWResize uses rec. 601 (SD TV) and the others Rec. 709 (HD TV)
If you don' have these, upload 5 seconds of that scene you posted the comparing screen shots of. Upload to Rapidshare.com or similar web service and provide a link to it. I do the test and upload the results.

Otherwise by reducing the pixels from 1920x800 to 1280x532 there are less pixels (171520) to show color (640x268) if the missing pixels are blueish that could explain the green color dominance?
Title: Re: SWSResize causing green tint
Post by: Sartre on March 22, 2013, 09:00:21 AM
I have an ATI card so no VDPAU and OpenGL crashes. Here is the clip I used (10sec - 8.4MB)

http://www.fileden.com/files/2008/9/20/2106747/xf2.mkv

Title: Re: SWSResize causing green tint
Post by: Jan Gruuthuse on March 22, 2013, 09:43:47 AM
Hard to tell here what is difference?
the several resizes download 2.4 MB each:
SWresize = http://rapidshare.com/files/871588612/xf2SWresize.mkv
OpenGL  = http://rapidshare.com/files/1692698035/xf2OpenGl.mkv
vdpau = http://rapidshare.com/files/1422798217/xf2VDPAU.mkv
screenshot all playing simultaneous (100% size):
(https://thumbs.rapidshare.com/thumbs/300/925/B724CE67B12F74C7D735B73454AB9.jpg) (https://thumbs.rapidshare.com/thumbs/1024/925/B724CE67B12F74C7D735B73454AB9.jpg) click on image for larger view
or download image: http://rapidshare.com/files/1999437899/OrignalVersusSWopenglVDPAU.png
my impression: opengl is closest?
avidemux Preferences [Video]
Try if you can run only with [v] Enable openGl support, don't use Video Display: OpenGl best, keep your current Video Display
Title: Re: SWSResize causing green tint
Post by: Sartre on March 22, 2013, 09:47:46 PM

All of your encodes have the light, greenish tint... not much difference between them in that respect.

Quality wise, the SWSRezize gives the sharpest picture, VDPau next and OpenGL the last.

QuoteTry if you can run only with [v] Enable openGl support, don't use Video Display: OpenGl best, keep your current Video Display
I tried setting only the checkbox before but the OpenGL resizer still doesn't show up.
Title: Re: SWSResize causing green tint
Post by: Jan Gruuthuse on March 23, 2013, 07:24:27 AM
Start avidemux from a command line (dos box, C:\) you should see some indication if avidemux could work with/found opengl?
for opengl see if you can get updated drivers for your ATi card?
Perhaps this is of some use for you? Getting proper OpenGL driver for older AMD(ex. ATI) graphics cards on Windows 8 (http://blog.rthand.com/post/2012/11/01/Getting-proper-OpenGL-driver-for-older-AMD(ex-ATI)-graphics-cards-on-Windows-8.aspx)
Title: Re: SWSResize causing green tint
Post by: Sartre on March 23, 2013, 07:35:50 PM
There's no GLResize plugin in my Video plugins folder, so that's why it's not showing up.

Doesn't matter anyway, since it still adds a green tint like SWSResize, and it doesn't look as sharp.

Title: Re: SWSResize causing green tint
Post by: Jan Gruuthuse on March 24, 2013, 05:16:23 AM
Nothing else I can do. Perhaps developer(s) pick up on this.
Try last nightly or 2.6.2 found here: Test installer for avidemux 2.6.2 (http://www.avidemux.org/smf/index.php/topic,11934.0.html)
Title: Re: SWSResize causing green tint
Post by: chamm on February 22, 2016, 06:14:41 AM
I think that the following line in the 2.6.11 changelog refers to this bug:

* [VIDEO] Fixed xvid4 encoding bug with large width