Yes,
QT can run even 4 movies like this (I duplicated the file and checked).
Anyway, I think I have found the bug. I forgot to activate the following
line in case the client_Storage extension is supported.
glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, GL_FALSE);
Now I can quite run 4 movies at the same time. Fiuuuuu.
For a while I thought the G5 was..., but it is still my great Mac.
Only, I think, and when the client_Storage extension is not supported? Poor
users.
Thanks to all of you. Great list.
Best Regards
--
Lorenzo
email: email@hidden
> From: John Stiles <email@hidden>
> Date: Tue, 30 Nov 2004 08:54:48 -0800
> To: Lorenzo <email@hidden>
> Cc: Keith Bauer <email@hidden>, email@hidden
> Subject: Re: 1 movie only on my ATI 9800?
>
> Can QuickTime Player play two/three/four of your movies at once?
> If it can, so can you, and the bug is yours. Remember, the Window
> Server is based on OpenGL!
>
>
> On Nov 30, 2004, at 7:15 AM, Lorenzo wrote:
>
>> I have just used and tested that code at
>> http://onesadcookie.is-a-geek.net/svn/repos/QTValuePak
>> but the result is almost the same. The quality of the color is better
>> but
>> when the movies are 2 on two simple QUADs, the animation slows down
>> and the
>> G5 air-conditioning begins to run...
>>
>> I supposed that a G5 dual 2GHz with 2GB RAM with "2" x 1GHz bus and a
>> ATI
>> 9800 Pro with 256 MB were enough to animate 2 movies 480 x 360 Sorenson
>> Video 3, 25 FPS. But it seems to be not so. And even with 1 movie only,
>> sometimes I note a very little strange trembling in the movie frame.
>> It's
>> like it skips one frame. With my old code this never happened. My
>> animation
>> runs at 60 FPS in sync with the video.
>>
>> I ask to myself, am I really using both the 2 bus or should I use them
>> specifically writing some code?
>>
>> If I really can run one movie only, and if I knew that, I should not
>> have
>> bought a G5...
>>
>>
>> Best Regards
>> --
>> Lorenzo
>> email: email@hidden
>>
>>> From: Keith Bauer <email@hidden>
>>> Date: Tue, 30 Nov 2004 00:36:08 +1300
>>> To: Lorenzo <email@hidden>
>>> Cc: email@hidden
>>> Subject: Re: 1 movie only on my ATI 9800?
>>>
>>>> I tried firstly to use GL_TEXTURE_2D, then GL_TEXTURE_RECTANGLE_EXT
>>>> which
>>>> seems to be even slower. Am I using a wrong method to write the movie
>>>> to the
>>>> video card? Any suggestion will be greatly appreciated. Thanks.
>>>
>>> Yeah, pretty much. There are a bunch of crucial optimizations you're
>>> not doing.
>>>
>>> Take a look at the Apple sample code for this, or here:
>>>
>>> http://onesadcookie.is-a-geek.net/svn/repos/QTValuePak
>>>
>>> I could run 640x480 movies at full framerate through OpenGL on a 733
>>> with a GeForce 2MX, so I'd be very surprised if you can't do what you
>>> need.
>>>
>>> -Keith
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Mac-opengl mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/mac-opengl/
>> email@hidden
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden