Author Topic: SWSResize causing green tint  (Read 3872 times)

Sartre

  • Newbie
  • *
  • Posts: 16
SWSResize causing green tint
« 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


Resized to 1280x532 with SWSResize

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

(Both full-screen snaps)
« Last Edit: March 21, 2013, 11:24:29 PM by Sartre »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: SWSResize causing green tint
« Reply #1 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 and 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?

Sartre

  • Newbie
  • *
  • Posts: 16
Re: SWSResize causing green tint
« Reply #2 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


Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: SWSResize causing green tint
« Reply #3 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):
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
« Last Edit: March 22, 2013, 09:50:05 AM by Jan Gruuthuse »

Sartre

  • Newbie
  • *
  • Posts: 16
Re: SWSResize causing green tint
« Reply #4 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.

Quote
Try 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.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: SWSResize causing green tint
« Reply #5 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

Sartre

  • Newbie
  • *
  • Posts: 16
Re: SWSResize causing green tint
« Reply #6 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.


Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: SWSResize causing green tint
« Reply #7 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

chamm

  • Newbie
  • *
  • Posts: 2
Re: SWSResize causing green tint
« Reply #8 on: February 22, 2016, 06:14:41 AM »
I think that the following line in the 2.6.11 changelog refers to this bug:

Code: [Select]
* [VIDEO] Fixed xvid4 encoding bug with large width