Opened 14 years ago

Last modified 13 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 stippi)

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 X512, 14 years ago

Attachment: aviVideoBug.png added

comment:1 by stippi, 14 years ago

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?

in reply to:  1 comment:2 by X512, 14 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.

comment:3 by stippi, 14 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?

in reply to:  3 comment:4 by X512, 14 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.

comment:5 by stippi, 14 years ago

I just see the potential for misunderstanding, did you have two players open for the same video at the same time?

in reply to:  5 comment:6 by X512, 14 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 X512, 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 X512, 14 years ago

Version: R1/DevelopmentR1/alpha2

comment:9 by mmadia, 14 years ago

Would you retest this with a nightly image?

comment:10 by X512, 14 years ago

The same problem in hrev38712.

comment:11 by diver, 14 years ago

Also reproducible in hrev38797 in vbox.

comment:12 by stippi, 14 years ago

Blocking: 6376 added

comment:12 by stippi, 14 years ago

Blocking: 6376 removed
Owner: changed from nobody to dlmcpaul
Status: newassigned

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 stippi, 14 years ago

Description: modified (diff)
Summary: Playing avi video brokenSIMD color space conversion does not handle all color spaces correctly.
Note: See TracTickets for help on using tickets.