Public bug reported:

I discovered this bug when testing a different package, eog:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1436595

When a PNG image is opened in VLC with Video output set to "XVideo
output (XCB)", the colours are different than in other programs that
display PNG files such as Firefox.

avplay, and presumably ffplay, display pngs the same way as vlc does
with using XVideo output (XCB). With a png that is a gradient from value
0 to 255 with one column of each value, vlc with Xvideo output (XCB)
will have very slight apparent banding due to
http://en.wikipedia.org/wiki/Lateral_inhibition or some other related
effect. A histogram shows that about every 8th value is shifted up or
down by 1. Colours are different by a greater degree and in a systematic
way, so you don't need to have a uniform graident or use a histogram to
see the difference.

With a PNG, XVideo output (XCB) also had a green line on the right
border.

With a video using the 'Sorensen video v.3' video codec, XVideo output
(XCB) caused a green line to appear on the right side.

I have no idea if this is a bug in vlc or in a different project
(XVideo, or XCB?) that vlc has no control over. It seems likely that
bugs will tend to accumulate in places where it's hard to tell what
project is doing things wrong.

With both still images (pngs and jpgs) and the Sorensen video v.3 codec,
XVideo output (XCB) is the default output method if "Accelerated video
output (overlay", or "Overlay video output" is enabled. If it's
disabled, then OpenGL GLX video output (XCB) is the default output
method, which does not have any green lines, and renders images
'normally'. (That is, not the same as eog due to what seems like an eog
bug as described in the linked bug report, but the same as several other
programs.)

The various options have their own drawbacks, or it would be easy to
just select a better method if one was bugged. In case it helps, I am
attaching my notes on video settings.

I am using Ubuntu 14.10, and VLC version 2.2.0-pre2 Weatherwax, the
witch.

** Affects: vlc (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "vlc video settings.txt"
   
https://bugs.launchpad.net/bugs/1437550/+attachment/4358438/+files/vlc%20video%20settings.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437550

Title:
  PNG image colours are off/wrong for XVideo output (XCB)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1437550/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to