DGL
https://delphigl.com/forum/

Any advice on playing MPEG2 or AVI video files via OpenGL?
https://delphigl.com/forum/viewtopic.php?f=19&t=6676
Seite 1 von 1

Autor:  dpm_dpmartin [ Sa Jun 16, 2007 13:38 ]
Betreff des Beitrags:  Any advice on playing MPEG2 or AVI video files via OpenGL?

I have played video files (MPEG2) via the Windows Media Player wrapper in Delphi previously, but I was wondering whether there is any other recommended ways of playing video files (preferably MPEG2, but AVI would be good as well) via OpenGL. Ideally I would be looking for a third-party Delphi unit I can use... but even a DLL type solution might be useful. If anyone has any ideas or suggestions of what works well for them, I would be pleased to hear them.

Autor:  TAK2004 [ Sa Jun 16, 2007 15:04 ]
Betreff des Beitrags: 

You must decode the video format with a lib like SDL_MPEG and then you can load the data as a texture in OpenGL.
http://sourceforge.net/project/showfiles.php?group_id=43805
If you write your app under windows you can use video for windows(vfw) for decoding the data.
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/