From: Bill F. <bil...@mi...> - 2003-01-16 05:18:56
|
Hi Michel, On 16 Jan 2003, Michel Dänzer wrote: > On Mon, 2003-01-13 at 12:15, Bastien Nocera wrote: > > On Sat, 2003-01-11 at 18:54, Bill Fink wrote: > > > Hi Bastien, > > > > > > On 11 Jan 2003, Bastien Nocera wrote: > > > > > > > I have some problems with goom as well. On my PPC (big endian), with the > > > > Xv output plugin, instead of some nifty colours on a black backdrop, i > > > > get a green backdrop and pink lines. It works fine with the XShm video > > > > out. Anybody knows where the problem would lie ? > > > > > > Do you have an ATI video card? I believe there is a problem with > > > the ATI Xv video driver that has endianness problems with YUY2 images > > > that I believe goom uses. It would be nice to have a xine option > > > that would compensate for this. I have a patch that Daniel Kobras > > > did for playdv (that uses YUY2), but I'm not sure I'm competent > > > enough to adapt it to xine (and don't have the time at the moment). > > > It would have to be an option since it depends on a number of factors > > > such as what video card you're using, what XFree86 version you're > > > using, and whether or not DRI is enabled. Here's a chart of how > > > YUY2 images work on PPC based on my testing so far: > > > > > > ATI/ ATI/ NVIDIA/ NVIDIA/ > > > no-DRI DRI no-DRI DRI > > > > > > XFree86 weird OK OK OK > > > 4.2.0 colors > > > > > > XFree86 weird weird not not > > > 4.2.99.2+ colors colors tested tested > > > > > > As you've noted, you can use the Xshm video output plugin as a > > > workaround. Even with the weird colors, goom is still cool. :-) > > > > > > I've attached Daniel Kobras's playdv YUY2 endianness patch in case > > > anyone wants to do anything with it for xine. > > > > That would be it then. It has weird colors, and I use DRI (using a > > snapshot from the DRI tree). > > > > Thanks for the pointer. I copied Michel on this as he might be > > interested to know. > > Yes, thanks. Does someone want to try > > http://penguinppc.org/~daenzer/DRI/ati-xv-endianness.diff > > or alternatively, how can I try this goom thing? I won't be able to test it for a while as I'm going to be away for a few days plus am busy with other projects at the moment. If you want to try goom, with xine-lib 1_beta2 and xine-ui 0.9.17 (or CVS), set gui.visual_anim to "Post Plugin" and gui.post_audio_plugin to "goom". Then play an audio-only stream such as an MP3 with xine using the Xv video output plugin, e.g.: xine -V Xv -p foo.mp3 This currently has the weird transposed colors (green and purple), whereas: xine -V Xshm -p foo.mp3 works fine. It will be great to get this fixed! -Thanks -Bill |