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)

overlay_color_distortion.jpg (56.8 KB ) - added by luroh 13 years ago.
MediaPlayer_output.txt (1.1 KB ) - added by luroh 13 years ago.
VLC_output.txt (1.1 KB ) - added by luroh 13 years ago.

Download all attachments as: .zip

Change History (7)

by luroh, 13 years ago

by luroh, 13 years ago

Attachment: MediaPlayer_output.txt added

by luroh, 13 years ago

Attachment: VLC_output.txt added

comment:1 by diver, 13 years ago

VLC:

main video output : using chroma module "i420_yuy2_mmx"

MediaPlayer:

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)!

http://cgit.haiku-os.org/haiku/tree/src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp#n319

Last edited 13 years ago by diver (previous) (diff)

comment:2 by korli, 13 years ago

Is it possible to check with MediaPlayer without overlay?

comment:3 by luroh, 13 years ago

MediaPlayer without overlay enabled plays bunny-rr.ogv without any discoloration in hrev43904, gcc2. Output:

resolve_colorspace: gfx_conv_yuv420p_rgba32_sse2
MediaTrackVideoSupplier::_SwitchFormat() -  codec changed colorspace of decoded format (B_YUV420 -> B_RGB32)!
Version 0, edited 13 years ago by luroh (next)

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

Note: See TracTickets for help on using tickets.