Opened 13 years ago
Last modified 13 years ago
#8432 new bug
overlay color distortion
Reported by: | luroh | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Audio & Video/Codecs | Version: | R1/Development |
Keywords: | ffmpeg | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
hrev43901, gcc2, old T42 laptop with radeon driver (lspci says: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]).
MediaPlayer displays a color distorted picture when playing the test file bunny-rr.ogv, while VLC does not. Both of them are indicating that they are using hardware overlay.
Attaching a picture showing the problem and output excerpts from MediaPlayer and VLC respectively.
Attachments (3)
Change History (7)
by , 13 years ago
Attachment: | overlay_color_distortion.jpg added |
---|
by , 13 years ago
Attachment: | MediaPlayer_output.txt added |
---|
by , 13 years ago
Attachment: | VLC_output.txt added |
---|
follow-up: 4 comment:3 by , 13 years ago
MediaPlayer without overlay enabled plays bunny-rr.ogv without any discoloration in hrev43904, gcc2. Output:
MediaTrackVideoSupplier::_SwitchFormat() - preferred color space: B_YUV420 resolve_colorspace: gfx_conv_yuv420p_rgba32_sse2 MediaTrackVideoSupplier::_SwitchFormat() - codec changed colorspace of decoded format (B_YUV420 -> B_RGB32)!
comment:4 by , 13 years ago
Replying to luroh:
MediaPlayer without overlay enabled plays bunny-rr.ogv without any discoloration in hrev43904, gcc2. Output:
MediaTrackVideoSupplier::_SwitchFormat() - preferred color space: B_YUV420 resolve_colorspace: gfx_conv_yuv420p_rgba32_sse2 MediaTrackVideoSupplier::_SwitchFormat() - codec changed colorspace of decoded format (B_YUV420 -> B_RGB32)!
i've been suspecting an overlay problem in the mediaplayer for a while now,as i had the same problem with another model(can't remember the exact model some 109xx?)playing another file,download the file localy if you need to test with it. http://www.google.com/url?sa=t&rct=j&q=haiku%20screencast%20ssh&source=web&cd=1&ved=0CCIQtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D0n09nuJdkbE&ei=5gx3T53uDoj80QWujamQDQ&usg=AFQjCNGQdve6Teym95EVxzosq8Aq1PSGCA&cad=rja ,and in order to play correctly you need to disable overlay as reported by luroh,and it's also very likely that this is a dupe of #5758. this ticket is not a driver/driver-only issue.
VLC:
MediaPlayer:
http://cgit.haiku-os.org/haiku/tree/src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp#n319