2008-12-04, 10:13
Forward:
As a long time XBMC user and advocate, I would like to thank all the XBMC developers for the hard work and dedication. The following is something I found out there, that some of 'us' in the Windows thread MAY want to look at. This code will most likely NEVER make it into the XBMC trunk. This is just something to look at, and in no way does this constitute anything more than a thought. If this idea would take more than 10 min it should be dropped.
Subject:
What if I told you that there is an ffmpeg compatible GPGPU h.264/VC1 decoding library in the wild today?
While doing research into hardware based codecs that are not part of WinDVD/PowerDVD I found out that the Media Player Classic fork, MPC - Homecinema has hardware based h.264/VC1 decoding. Now this is based on ffmpeg, as 'we' are, so I thought I would go digging. The code in question was 'borrowed' from the MplayerC project, according to the GPL in the header files.
The good news is that is works on anything with programmable shaders, so the Radeon HD and newer NVidia graphics cards will work with this no problem.
The bad news is that the code is alpha, and windows only. It is based on the DXVA slandered so Linux and Mac are out of luck, and as 'we' are OpenGL, I don't know if we could even think about 'playing nice' with this code.
If this is a bad idea and should drop it, I will shut up and even kill the posting, if necessary. If I have insulted anyone or step out of line, I apologize.
Sources:
http://en.wikipedia.org/wiki/Unified_Video_Decoder
http://en.wikipedia.org/wiki/DirectX_Video_Acceleration
http://mpc-hc.sourceforge.net/DXVASupport.html
http://mpc-hc.svn.sourceforge.net/viewvc...cvideodec/
As a long time XBMC user and advocate, I would like to thank all the XBMC developers for the hard work and dedication. The following is something I found out there, that some of 'us' in the Windows thread MAY want to look at. This code will most likely NEVER make it into the XBMC trunk. This is just something to look at, and in no way does this constitute anything more than a thought. If this idea would take more than 10 min it should be dropped.
Subject:
What if I told you that there is an ffmpeg compatible GPGPU h.264/VC1 decoding library in the wild today?
While doing research into hardware based codecs that are not part of WinDVD/PowerDVD I found out that the Media Player Classic fork, MPC - Homecinema has hardware based h.264/VC1 decoding. Now this is based on ffmpeg, as 'we' are, so I thought I would go digging. The code in question was 'borrowed' from the MplayerC project, according to the GPL in the header files.
The good news is that is works on anything with programmable shaders, so the Radeon HD and newer NVidia graphics cards will work with this no problem.
The bad news is that the code is alpha, and windows only. It is based on the DXVA slandered so Linux and Mac are out of luck, and as 'we' are OpenGL, I don't know if we could even think about 'playing nice' with this code.
If this is a bad idea and should drop it, I will shut up and even kill the posting, if necessary. If I have insulted anyone or step out of line, I apologize.
Sources:
http://en.wikipedia.org/wiki/Unified_Video_Decoder
http://en.wikipedia.org/wiki/DirectX_Video_Acceleration
http://mpc-hc.sourceforge.net/DXVASupport.html
http://mpc-hc.svn.sourceforge.net/viewvc...cvideodec/