Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1 movie only on my ATI 9800?



On Dec 20, 2004, at 3:54 PM, Lorenzo wrote:

Hi,
sorry but since you told me that I can improve the speed up to 400% I am
getting crazy to get that. "QT Player" can quite play 2 movies 752 x 400 at
the same time without any problem. Within my OpenGL animation the 2 movies
play well too but all the moving objects go at half a speed on
my G5 + ATI9800.
And I have been trying any way to use GL_YCBCR_422_APPLE unsuccessfully.

I would need some more specific information about the movies, like the codec used and data rate, and also what the rest of your GL app does. I can get two (three sometimes) 720x480 NTSC DV clips playing at 30fps with the GL scene being drawn at 60fps on my 1Ghz Powerbook. The way you task QT and draw the scene is pretty critical so here's a few hints:


- use a production/acquisition format like DV, Photo-Jpeg or even uncompressed YUV
- remove any audio
- try StartMovie() for playing the video
- SetMovieRate() will set the speed but it takes a fixed point value
- call MoviesTask() often. I do this once per GL render pass.
- throttle the GL rendering. I target 60fps and locked to the VBL of a laptop or projector
- I rolled my own testing code for frame edges, which is ugly, ugly code, but works well



Have you a small piece of code to show me

The code you sent to me a few weeks ago looked fine for the texturing, and it should work with that QT call I gave you. The application I work on is large with the code spread over several classes, so the best I can do at the moment is extract little fragments. Maybe someone else has a more succinct example, like GLCompositor without the composting code?


cgc

_______________________________________________
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
References: 
 >Re: 1 movie only on my ATI 9800? (From: Lorenzo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.