Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


lesson 35 - Playing AVI Files In OpenGL Question

This topic is 5488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi All I''ve reasontly been playing around with lesson 35 called "Playing AVI Files In OpenGL" First of good work Jeff Molofee Just one question though during playback of several avi''s i''ve noticed the image is very "blocky" and doesn''t appear at the same quality as you would see in a standard viewer. has anyone managed increase the playback quality or any suggestions how to ? or perhaps another cool open sourced openGL video player Cheers.

Share this post

Link to post
Share on other sites
I also wanted to playback AVIs without them having to be re-scaled, reducing image quality, so the way I did it was...

Say you wanna playback a 640x480 sized anim, create a 1024x512 texture, copy an AVI frame to that texture, then apply that texture, with appropriate texture coordinates (To cut off unused pixels in texture) to a quad in orthographic projection.

It''s probably not the fastest ways of doing it
But it works!

I must say special thanks to NeHe for his AVI tut aswell!

AVI playback/record source...


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!