Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: abls1 on June 09, 2015, 04:38:54 PM
-
I know its not needed but how do I add video card support to the code? is there a code for that or patch? A friend of mine is helping me learn programming.
Thanks
-
I assume you mean to add hardware acceleration support for the videos. That sounds like a fairly ambitious project for a first go at learning how to program!
Attract-Mode uses the FFmpeg library to play videos (ffmpeg.org). It doesn't use hardware acceleration, and I'm not aware of any patches for Attract-Mode that allow it to use HW acceleration for video.
If you want to try implementing this, You could start by looking at the FFMpeg documentation for how it would be done. They've got a page on their wiki that might be a good starting point: http://trac.ffmpeg.org/wiki/HWAccelIntro
-
Thanks for your response you are right for video and for processing power, this would be so for making layout do stuff like 3d rendering.I thought all I needed to do is to point or make a call to use the video card.. I will of course not be using any advance effects but if i do i have the power to use it