Opened 15 years ago
Last modified 14 years ago
#5846 closed bug
SIMD color space conversion does not handle all color spaces correctly. — at Version 13
Reported by: | X512 | Owned by: | dlmcpaul |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Audio & Video/Codecs | Version: | R1/alpha2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
hrev36511 In some videos, the image doubles horizontally and has wrong colors if the native color space conversion is used in AVCodecDecoder. Using libswscale is slower but has the correct conversion. See USE_SWS_FOR_COLOR_SPACE_CONVERSION on line 43 of AVCodecDecoder.cpp
Change History (15)
by , 15 years ago
Attachment: | aviVideoBug.png added |
---|
follow-up: 2 comment:1 by , 15 years ago
comment:2 by , 15 years ago
Replying to stippi:
there is a toggle if hardware overlays are to be used, does that change anything?
No.
Also, what video hardware do you own?
nVidia GeForce 6600 LE.
follow-up: 4 comment:3 by , 15 years ago
Sounds like hardware that has overlay support in the driver. What happens if you launch a second MediaPlayer instance of the same video? Does the second video display correctly?
comment:4 by , 15 years ago
Replying to stippi:
What happens if you launch a second MediaPlayer instance of the same video? Does the second video display correctly?
Second player plays video same as first.
follow-up: 6 comment:5 by , 15 years ago
I just see the potential for misunderstanding, did you have two players open for the same video at the same time?
comment:6 by , 15 years ago
Replying to stippi:
I just see the potential for misunderstanding, did you have two players open for the same video at the same time?
I test with 1 player and 2 players at the same time. All tests have same result(see attached picture).
VLC playing video OK.
comment:7 by , 14 years ago
R1/A2 has this bug too. Example of wrong playing video: http://www.traversaltech.com/files/ogd1_boot_vga.avi.
comment:8 by , 14 years ago
Version: | R1/Development → R1/alpha2 |
---|
comment:12 by , 14 years ago
Blocking: | 6376 added |
---|
comment:12 by , 14 years ago
Blocking: | 6376 removed |
---|---|
Owner: | changed from | to
Status: | new → assigned |
David, the bug is in the color space conversion code. If USE_SWS_FOR_COLOR_SPACE_CONVERSION is defined to 1 on line 43 of the AVCodecDecoder.cpp, then the video plays fine.
comment:13 by , 14 years ago
Description: | modified (diff) |
---|---|
Summary: | Playing avi video broken → SIMD color space conversion does not handle all color spaces correctly. |
Maybe the alpha 1 release was not supporting your video hardware with overlays? In the MediaPlayer settings, there is a toggle if hardware overlays are to be used, does that change anything? Also, what video hardware do you own?