Opened 19 years ago

Last modified 14 years ago

#316 new defect

Using mplayer DirectFB output on ppc with radeonfb produces strange video output

Reported by: verbuggt@… Owned by: reimar
Priority: normal Component: vo
Version: 1.0pre7 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Overview: Playing a movie with -vo directfb on ppc and using radeonfb results
in the following output: The whole movie is divided into vertical stripes, and
in each stripe, the pixel order is reversed!

Steps to Reproduce: 1. play a movie with -vo directfb on ppc using radeonfb

Actual Results: The Movie is divided into vertical stripes and in each stripe
the pixel order is reversed.

Expected Results: Normal video ouput

Additional Information: - Playing the movies with -vo x11 results in normal
video output!

  • Playing the movies with -vo directfb -vf format=rgb32 or rgb16 or bgr32 or

bgr16 doesn't produce the stripes and the wrong pixel order per stripe, but
the colors are strange!

  • A movie with a resolution of 352x288 produces about 88 stripes (hard to

count)!

  • A movie with a higher resolution produces more vertical stripes (also hard

to count, so could be wrong)

Attachments (3)

Screenshot.jpg (671.1 KB ) - added by verbuggt@… 19 years ago.
This Image shows you the strange output.
mplayer.txt (229 bytes ) - added by verbuggt@… 19 years ago.
Output of mplayer -v -ao alsa -vo directfb movie.mov (made with tee)!
mplayer_directfb.txt (125.0 KB ) - added by verbuggt@… 19 years ago.
Output of mplayer -v -ao alsa -vo directfb movie.mov (made with tee)!

Download all attachments as: .zip

Change History (8)

by verbuggt@…, 19 years ago

Attachment: Screenshot.jpg added

This Image shows you the strange output.

comment:1 by verbuggt@…, 19 years ago

If I don't give mplayer the -vf format= option, it is using Planar YV12!

comment:2 by reimar, 19 years ago

(In reply to comment #1)

Created an attachment (id=153) [edit]
This Image shows you the strange output.

The output when using -v would be a lot more useful.
What about -vf format=bgr24 and -vf format=rgb24??
Are the colours wrong in the same way for -vf format=rgb32 and -vf format=bgr32?
Also try -vf format=bgr32,rgb2bgr=swap etc.

by verbuggt@…, 19 years ago

Attachment: mplayer.txt added

Output of mplayer -v -ao alsa -vo directfb movie.mov (made with tee)!

comment:3 by verbuggt@…, 19 years ago

-vf format=bgr24 and rgb24 don't work at all: the selected video_out device
doesn't support this codec
But this could be my framebuffer because booting with
video=radeonfb:1024x768-24 didn't work (only 16 and 32 worked)!

Note: If I play a movie with directfb it always switches to vt7 and then the
screen is black, i have to switch to vt1 (or any other vt) (Alt+Ctrl+F1) and
then back to vt7 to see the movie!!! The sound is always playing, even before
switching vts to see the movie!

I have disabled hardware acceleration, because links is having some problems
with it, but turning it on for mplayer doesn't change anything!

I have a ATI Mobility Radeon 7500!

I attached the text output of "mplayer -v -ao alsa -vo directfb movie.mov"!
There the output looks like I descibed (stripes, but right color)!

If i add -vf format=yv12 then the screen is staying black forever (even
switching vts doesn't help!), but if I don't add -vf ... it is also using
planar yv12 and I see the movie playing after vt switching (with stripes, right
color)!

If i just add -vf format it uses yuy2 and there the stripes are not there, but
the color is strange (other colors than bgr32/16 rgb32/16)!
Adding -vt format=yuy2 works (i see the movie in contrast to adding yv12!)!

BGR32 and RGB32 are producing different colors!

-vf format=bgr32,rgb2bgr=swap produces no stripes, but strange colors (like rgb
or bgr)!

Summary: only no -vf produces correct colors, but stripes!
All other -vf format settings I tried either don't work at all or have no
stripes but a strange color!

If I should do something, just tell me, if you give me a .patch file to test
something I'm able to do that too! :) THANKS!!!

(In reply to comment #2)

(In reply to comment #1)

Created an attachment (id=153) [edit] [edit]
This Image shows you the strange output.

The output when using -v would be a lot more useful.
What about -vf format=bgr24 and -vf format=rgb24??
Are the colours wrong in the same way for -vf format=rgb32 and -vf

format=bgr32?

Also try -vf format=bgr32,rgb2bgr=swap etc.

by verbuggt@…, 19 years ago

Attachment: mplayer_directfb.txt added

Output of mplayer -v -ao alsa -vo directfb movie.mov (made with tee)!

comment:4 by verbuggt@…, 19 years ago

attachments.isobsolete: 01

I uploaded the wrong file, this is the correct Attachment! :)

comment:5 by compn, 14 years ago

Owner: changed from alex@… to reimar
Note: See TracTickets for help on using tickets.