Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange colors with ffmpeg and SDL MAME

13 views
Skip to first unread message

Mentore Siesto

unread,
Oct 18, 2008, 4:35:17 PM10/18/08
to
Hello, something strange is going on here...

Using the latest (and greatest) SDL MAME and FFPlay I have some
strange colors. Seems that red and blue tones are kind of "inverted",
while green seems good.

This doesn't happen with MPlayer (but it still works bad on my
machine: it freezes or doesn't start) and K Movie Player (which is
really good, but slower than ffplay and seems to hang somewhere while
playing).

Does someone of you guys know the reasons of this strange behavior?

Thanks.
--
Mentore Siesto
eComStation Developer Team

Marcel Müller

unread,
Oct 18, 2008, 7:04:41 PM10/18/08
to
Hi,

Mentore Siesto schrieb:


> Hello, something strange is going on here...
>
> Using the latest (and greatest) SDL MAME and FFPlay I have some
> strange colors. Seems that red and blue tones are kind of "inverted",
> while green seems good.

well, how many times I had this symptom at different places?

> Does someone of you guys know the reasons of this strange behavior?

Bugs, workarund for bugs, workaround for bugs without the bug...
I don't know what happened to IBM when they introduced a BGR memory
layout into OS/2.

Some applications provide a switch to swap between RGB and BGR.


Marcel

Marty

unread,
Oct 19, 2008, 8:28:12 PM10/19/08
to

IBM did just fine. Question is, is SDL handling it correctly? Some
video drivers (Matrox) also said they were providing one colorspace, but
actually provided a different one, requiring a workaround.

Another possibility is confusion between ARGB/RGB4/BGR4 and RGB3/BGR3
colorspaces. This would make most things look yellowed or greenish if
it's wrong.

--
[Reverse the parts of the e-mail address to reply.]

Mentore

unread,
Oct 20, 2008, 3:08:24 AM10/20/08
to
On 20 Ott, 02:28, Marty <n...@comcast.martyamodeo> wrote:

> Marcel Müller wrote:
>
> > Some applications provide a switch to swap between RGB and BGR.
>
> IBM did just fine.  Question is, is SDL handling it correctly?  Some
> video drivers (Matrox) also said they were providing one colorspace, but
> actually provided a different one, requiring a workaround.
>
> Another possibility is confusion between ARGB/RGB4/BGR4 and RGB3/BGR3
> colorspaces.  This would make most things look yellowed or greenish if
> it's wrong.

I should have pointed out that this problems occur *only* with
Panorama VESA with ffplay and SDL MAME, while MPlayer and K Movie
Player (both the latest and the older releases) just display video
fine. So I thought it may be some problems related to Panorama VESA
interacting weirdly with these apps, but still don't know how to fix
it. Note that ffmpeg doesn't have these problems, even if it uses the
same ffplay engine; this makes me think it's only related to display
problems.

In the next days I will install an older PCI video card and reinstall
SNAP on my main machine, so the problem will "disappear", but it might
be better to know what triggers it :-)

Mentore

Marcel Müller

unread,
Oct 20, 2008, 4:29:01 AM10/20/08
to
Hi,

Mentore schrieb:


> I should have pointed out that this problems occur *only* with
> Panorama VESA with ffplay and SDL MAME, while MPlayer and K Movie
> Player (both the latest and the older releases) just display video
> fine. So I thought it may be some problems related to Panorama VESA
> interacting weirdly with these apps, but still don't know how to fix
> it. Note that ffmpeg doesn't have these problems, even if it uses the
> same ffplay engine; this makes me think it's only related to display
> problems.

the panorama driver is based on GRADD, isn't it? The GRADD engine had
several bugs of this kind in the past. I am pretty sure that they never
got fixed all. I remember a similar problem some months ago with the SDD
driver and I think WOVERLAY and mplayer.


Marcel

Mentore

unread,
Oct 20, 2008, 5:26:39 AM10/20/08
to

Yes, GRADD seems to still contain some bugs. What puzzles me is that
MPlayer, which uses the same engine of ffmpeg, and K Movie player
display colors fine - but since they've got other problems on my
machine, I can't use them. On the other side, ffplay works almost fine
but shows strange colors, and the same goes for SDL MAME.

It would be great to hear something from the developers of the OS/2
port.

Mentore

steen bondo

unread,
Oct 22, 2008, 1:34:50 PM10/22/08
to
Mentore Siesto wrote:

> Does someone of you guys know the reasons of this strange behavior?

I got a similar issue, just that here is ffplay correct, while k movie
got the colours wrong.


hilsen / regards
--
steen bondo - tolerance is not the same as tolerating intolerance

http://menzi.dk
---

David T. Johnson

unread,
Oct 22, 2008, 10:59:09 PM10/22/08
to
steen bondo wrote: > Mentore Siesto wrote: >> Does someone of you guys know the reasons of this strange behavior? > I got a similar issue, just that here is ffplay correct, while k movie > got the colours wrong. Are you using the K Movie v5? That seems to be working very well. Posted with OS/2 Warp 4.52 and Sea Monkey 1.5a

Mentore Siesto

unread,
Oct 23, 2008, 1:50:21 AM10/23/08
to
Tu, "David T. Johnson" <djoh...@isomedia.com> hai scritto questo in
data Thu, 23 Oct 2008 02:59:09 UTC:

> steen bondo wrote:
> > Mentore Siesto wrote:
> >
> >> Does someone of you guys know the reasons of this strange behavior?
> >
> > I got a similar issue, just that here is ffplay correct, while k movie
> > got the colours wrong.
> >
>
> Are you using the K Movie v5? That seems to be working very well.

Lucky you :-), I have some problems with KMP. Here and there it sits
and stops, I can't skip frames and such. Seems I have bad luck.

Marty

unread,
Oct 24, 2008, 12:36:11 PM10/24/08
to

The only bad luck in the computing world is getting stuck with Windows.
In OS/2 there are reasons for everything. Suggest you compare
hardware and driver versions with David.

Mentore Siesto

unread,
Oct 24, 2008, 6:08:39 PM10/24/08
to
Tu, Marty <n...@comcast.martyamodeo> hai scritto questo in data Fri, 24
Oct 2008 16:36:11 UTC:

> The only bad luck in the computing world is getting stuck with Windows.
> In OS/2 there are reasons for everything. Suggest you compare
> hardware and driver versions with David.

Don't tell me.

You surely remember VideoIN. It was not a good video-recording
application, because of the stream handler - rumors said there
were/are some nasty bugs which prevents a full frame/rate recording.

BUT: it *could* record and encode videos in Ultimotion and Indeo
formats, and even in QuickMotion, if one had the codec registered in
MMPM/2: all seamlessly and without a glitch.

Ok, VideoIN never worked fine :-( but here's my experience with Movie
Maker from XP...

The good thing: it works (this is bad for VideoIN).

The bad thingS:

1 - I can't use any codec which is not WMV or DV-format; no
quickmotion, no mp4, no mpeg. To produce videos for the web I'm stuck
on wmv (and converting it in mpg2 with ffmpeg);

2 - It's IMPOSSIBLE to set correctly encoding parameters, only stupid
fixed selections which make this program nearly useless.

You could tell me "Try some other software": the only shareware
application that I found working somehow is a video converter which
uses the ffmpeg engine.

And this is the mainstream operating system? Oh, sh*t!

(Mentore is a little harsh and not-so-objective when talking about
multimedia on OS/2)

Marty

unread,
Oct 27, 2008, 1:01:44 AM10/27/08
to
Mentore Siesto wrote:
> Tu, Marty <n...@comcast.martyamodeo> hai scritto questo in data Fri, 24
> Oct 2008 16:36:11 UTC:
>
>>The only bad luck in the computing world is getting stuck with Windows.
>> In OS/2 there are reasons for everything. Suggest you compare
>>hardware and driver versions with David.
>
> Don't tell me.
>
> You surely remember VideoIN. It was not a good video-recording
> application, because of the stream handler - rumors said there
> were/are some nasty bugs which prevents a full frame/rate recording.

Sadly my hardware at the time I used it was woefully inadequate for high
frame rates or high resolution. But the software was still pretty damn
impressive to my friends. I used it with a Creative Labs Video Blaster
on a 486/33 to record TV shows at 320x200. This was over 10 years ago
though.

I also had the Win3.1 MS video software "Video for Windows". It
required me to record at lower resolution, and was unable to compress on
the fly. So I could only record a short video clip at a time because my
hard drive would fill with the uncompressed clip, it would fail to
compress because I was out of space, and then the idiot thing would
delete the whole clip completely because I had asked for compression and
it couldn't meet that demand. Totally worthless with the hard drive
sizes of the day (mine was an admittedly modest 20MB, but 100 or so was
fairly extravagent).

> BUT: it *could* record and encode videos in Ultimotion and Indeo
> formats, and even in QuickMotion, if one had the codec registered in
> MMPM/2: all seamlessly and without a glitch.
>
> Ok, VideoIN never worked fine :-( but here's my experience with Movie
> Maker from XP...
>
> The good thing: it works (this is bad for VideoIN).
>
> The bad thingS:
>
> 1 - I can't use any codec which is not WMV or DV-format; no
> quickmotion, no mp4, no mpeg. To produce videos for the web I'm stuck
> on wmv (and converting it in mpg2 with ffmpeg);
>
> 2 - It's IMPOSSIBLE to set correctly encoding parameters, only stupid
> fixed selections which make this program nearly useless.
>
> You could tell me "Try some other software": the only shareware
> application that I found working somehow is a video converter which
> uses the ffmpeg engine.
>
> And this is the mainstream operating system? Oh, sh*t!
>
> (Mentore is a little harsh and not-so-objective when talking about
> multimedia on OS/2)

The thing is we know we have little devils in there, but they are
predictable. I turn my XP laptop on every day. Sometimes it take 3
seconds to accept my login. Sometimes it take 1.5 minutes. Sometimes
my wireless connection comes right up. Sometimes it never comes up.
Sometimes my VPN software connects immediately. Sometimes it never
connects. I've had it for years now, and there are no circumstances
that I can point to or possibilities that I can eliminate to narrow down
the cause. All data I've managed to gather conflicts with itself.
Deductive reasoning is usually very adequate for OS/2, and where it
falls down, hardware is usually at fault. But somehow Windows figures
out a way to defy it.

I hope that rant was enjoyable to the regulars here, as it will probably
be one of my last contributions. The official plug is being pulled by
Comcast pretty soon on the newsgroups, and though I do enjoy the
socialization here, I doubt I would pay money for it (absolutely no
offense intended to anyone in these groups, who by and large have been
an absolute pleasure and privilege to converse with over the years).

My OS/2 machine will be a key part of my LAN for doubtless years to come
as long as the hardware holds out. And it looks like the current
generation of developers leaves what is left of the community in
relatively good hands. Regards to everyone for their help over the
years and best wishes for those still in the trenches!

Mentore Siesto

unread,
Oct 27, 2008, 6:13:27 PM10/27/08
to
Tu, Marty <n...@comcast.martyamodeo> hai scritto questo in data Mon, 27
Oct 2008 05:01:44 UTC:

> I hope that rant was enjoyable to the regulars here, as it will probably
> be one of my last contributions. The official plug is being pulled by
> Comcast pretty soon on the newsgroups, and though I do enjoy the
> socialization here, I doubt I would pay money for it (absolutely no
> offense intended to anyone in these groups, who by and large have been
> an absolute pleasure and privilege to converse with over the years).
>
> My OS/2 machine will be a key part of my LAN for doubtless years to come
> as long as the hardware holds out. And it looks like the current
> generation of developers leaves what is left of the community in
> relatively good hands. Regards to everyone for their help over the
> years and best wishes for those still in the trenches!

Your rant was refreshing :-) but I suggest you to keep in contact with
the usenet people, even Google groups, newsland and other usenet web
gates have become useable enough. We would miss you and you would miss
us, don't you lie saying it's not true :-)

Keep up the good work and see you here again.

Mentore

Dave Yeo

unread,
Oct 27, 2008, 7:06:31 PM10/27/08
to
On 10/26/08 10:01 pm, Marty wrote:
> I hope that rant was enjoyable to the regulars here, as it will probably
> be one of my last contributions. The official plug is being pulled by
> Comcast pretty soon on the newsgroups, and though I do enjoy the
> socialization here, I doubt I would pay money for it (absolutely no
> offense intended to anyone in these groups, who by and large have been
> an absolute pleasure and privilege to converse with over the years).

IIRC there is someone (Jack?) who has a public news server which carries
all the OS/2 newsgroups. Perhaps someone can chime in with the address.
Dave

Jack Wise

unread,
Oct 28, 2008, 8:34:34 AM10/28/08
to

hal-pc.org still carries all the news groups.

--
Jack Wise

Marty

unread,
Nov 15, 2008, 3:39:02 AM11/15/08
to

A kindly lurker has sent me information on news.motzarella.org, and so
far it gets my "thumbs up". Glad to be back, and sorry for the
mini-hijack of the thread.

Percival P. Cassidy

unread,
Nov 15, 2008, 11:33:04 AM11/15/08
to

I've just checked out news.motzarella.org, and it looks interesting.
Another possibility is news.individual.net, hosted by the Free
University of Berlin and costing only 10 Euros a year. I used the latter
when it was still free and my old ISP's news access was in the toilet.

Perce

0 new messages