Blockiness, aliasing on edges - Red colors only (1.0.5 Bug)

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Blockiness, aliasing on edges - Red colors only (1.0.5 Bug)

Postby napx » 30 Mar 2010 12:19

Hi,
I recently noticed that red colors in a Big Bang Theory episode are all blocky and very annoying in VLC 1.0.5. The same problems do not appear in WMP12. I do not know if this is a known issue (I tried searching). I made a zip file with 2 screenshots.

bbt_wmp12.png vs. bbt_vlc105.png (see my post below)

It is not the exact same frame but the problem is easily visible. I also apologize for using rapidshare (10 downloads limit) but image sharing sites would recompress the image making the problem undetectable. I would be grateful if someone can reshare them if they have access to a good image hosting site.

Here's the setup I tested this on:

Dell Inspiron 1520.
Windows 7 Ultimate 64-Bit, fully updated.
Nvidia 8400M GS, driver 195.62 / 197.16.
Last edited by napx on 30 Mar 2010 17:35, edited 1 time in total.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 30 Mar 2010 16:59

Please, share images via image servicers like imgur. Rapidshare is horrible nowadays.

Do other video output modules work any better?
http://wiki.videolan.org/WindowsFAQ-1.0 ... _output.3F

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 30 Mar 2010 17:17

OK here's photobucket. I tried directx3d, opengl and gdi output modes with no change.


WMP:

Image


VLC:

Image


+ Another example :

Image

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 31 Mar 2010 17:33

Is there some short sample video you could share to us?

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 31 Mar 2010 18:18

I paid attention while watching other videos. And they all reproduce this problem, only in red colors. The distortion is in all shades of red, but the brighter/fuller the red, the worse it gets. It's not some samples that this is happening, but all videos, therefore there's no point to sharing a sample. There is nothing special about the video file that does this it seems.
I tried turning off post-processing, no change.
Any ideas except try and see what happens with the upcoming VLC 1.1 ?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 01 Apr 2010 17:31

It seems this bothers VLC 1.1.0 also. Thanks for noticing this. I opened trac ticket for this
http://trac.videolan.org/vlc/ticket/3487

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 02 Apr 2010 03:29

Glad to help. VLC belongs to all of us and all should contribute as they can. Is it universal and not my config?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 02 Apr 2010 15:52

I can replicate the issues with those images if I open them with my VLC so it is at least Win32 level issue.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 03 Apr 2010 11:43

I found mention of the same problem here:

http://www.cccp-project.net/forums/inde ... pic=3442.0

(Vista, CCCP codec, AMD graphics)

Maybe the problem is not in VLC at all but files with low bitrate encoding. Then I wonder what the WMP codec does to mask the problem..

Here is an explanation from that forum:

"The samples are taken from overlapped pixels and/or a smaller number of samples spread across those pixels and/or samples recorded in a macro block pattern not directly representing each pixel but representing a pattern within the macro block. This unfortunately makes the macro blocks within solid colours and vivid colours very noticeable depending on which encoder is used, the encoder's bit rate, quantisation settings and also any chroma optimisations that are selected at the time of encoding. This macro block encoding also creates the well known halo effect around high contrast content within the scene like logos and sharp edges. When the bit rate falls below a certain threshold it becomes very noticeable."

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 04 Apr 2010 14:22

It isn't bitrate related, since the image files itself can be used to replicate the issue.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 09 Apr 2010 12:20

True. I didn't think of loading the static image into VLC before.
I tried loading various .jpg's into VLC, and it exhibits the same issue. I also noticed that pictures loaded into VLC have slightly more washed-out, less vibrant colors than when I view them with Windows Photo Viewer. Could this be considered a problem too?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 09 Apr 2010 16:18

JPEG files can have additional color correction info but AFAIK VLC doesn't support those. It might explain some color issues.

Also if you have NVIDIA display adapter, then try
viewtopic.php?f=14&t=72889&p=240603&hilit=YUV#p240603

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 09 Apr 2010 18:58

The fix on viewtopic.php?f=14&t=72889&p=240603&hilit=YUV#p240603 solved the slight color issue! thanks.
Does disabling hardware YUV>RGB conversion come with a performance penalty though?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 10 Apr 2010 16:31

Yep, but very minor one.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 20 May 2010 00:30

I see on trac that the issue is still not resolved. I have a tidbit of new information for you. I notice similar pixelation with red colors in flash videos on sites like The Onion too. The problem is not as bad as in VLC with the Onion vidoes, but I assume it's because the videos are way more compressed overall so overall quality is lower.

Check out this video : http://www.theonion.com/video/new-googl ... dir,17470/

0:08 the reporter's red tie
0:57 red rectangle on the very right hand of the screen
1:08 red phone icon on the handheld device

can you see the pixelation?

This is very odd. It must be something to do with either Nvidia drivers, or Windows 7 x64 ? Since we know the problem is not there in WMP, what could VLC and Adobe Flash player have in common?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 20 May 2010 17:16

could VLC and Adobe Flash player have in common?
Overlay or YUV>RGB conversion done via display adapter.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 21 May 2010 16:39

I have "Use hardware YUV>RGB conversions" disabled in VLC, the problem persists. Is this expected?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby Jean-Baptiste Kempf » 21 May 2010 18:26

Deactivate Overlay too.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 21 May 2010 20:06

Tried that already (and again now). Does not solve it.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby VLC_help » 22 May 2010 16:40

Then it might be some sort of DirectX or Direct3D driver bug.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 20 Jun 2010 15:14

Update:
Nvidia drivers 257.21 x64 Windows 7

Problem remains with Output modes "Default", "Windows GDI", "OpenGL", "DirectX3D".

Output mode "DirectX" does not have the problem! However this disables Windows Aero.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 22 Jun 2010 23:56

Problem is no longer there in VLC 1.1 :)
Except when I take a snapshot in VLC.. "Print Screen" screenshot does not show problem either..

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby Jean-Baptiste Kempf » 23 Jun 2010 13:29

jpg snapshot?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

napx
Blank Cone
Blank Cone
Posts: 30
Joined: 23 Aug 2009 18:49

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby napx » 23 Jun 2010 13:47

VLC 1.1 default settings (cleared pref's and cache).


Printscreen pasted into photoshop and saved as png (This is how I see it during playback):
Image


Snapshot using VLC's snapshot tool:
Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Blockiness, aliasing on edges - Red colors only (1.0.5 B

Postby Jean-Baptiste Kempf » 23 Jun 2010 13:48

ok, does it happen if you use jpg to snapshot?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 62 guests