Dear Sergio and Matias.
With the help of libMPEG2 Windows CE port at
http://arisme.free.fr/ports/libmpeg2.php I've managed with playing of MPEG files, so now, if you open your source, we can bring back MPEG1/2 video playback.
libMPEG2 is a great open-source library which was used by many of different linux/windows programms.
Best regards, Nomad.
Have a progress in this field. Linked libmpeg2 with GledPlay, made a simple test playing for now only fullscreen video on PPC2003 in VS2005.
Have some questions.
1. Is color format of backbuffer surface that comes to onNextFrame() handler allways 565 16bit?
2. How did you manage to link libraries in GledPlay's VS2005 solution without specifying them in every project's properties field? (Fields are empty but in comand string tab all needed libraries and also include directories are specified). And what is a configuration profile named "Mixed" in platforms?
3. Would you mind if I send you or post my code, so you could say how it can be better integrated into library's framework?
Best regards, Nomad.
Hi Nomad,
We have a problem here. That lib is released under the GPL license. That means that if you are going to use it in any way in your project, then your project MUST be distributed as a GPL software (you have to deliver your sources with it) so that's not good if you are planning to do some money with.
GledPlay will be (is been) distributed with a LGPL license. That a little more "commercial" friendly. because it's open source, everything that you add to the lib must be open source, but if you use as a DLL, your game can have any license you want (even commercial). So we should find a mpeg lib with LGPL license (or MIT, Apache, etc).
Best regards,
Sergio.
I forgot: yes, the pixels are always 565.
Regards,
Sergio.
Sergio wrote:That lib is released under the GPL license. That means that if you are going to use it in any way in your project, then your project MUST be distributed as a GPL software (you have to deliver your sources with it) so that's not good if you are planning to do some money with.
In my understanding according to the GPL license you only need to distribute the libmpeg2 source code (and changes) with your product, not the complete source code of (all other parts of) your product.
Am I wrong here?
I'm afraid to say that's incorrect. That applies to LGPL license (like GledPlay), not to GPL license.
Quoting a GNU organization FAQ about GPL:
You have a GPL'ed program that I'd like to link with my code to build a proprietary program. Does the fact that I link with your program mean I have to GPL my program?
Yes.
The source, if you want more information:
http://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL
Regards,
Sergio.
Sergio, I see you are absolutely right, sorry for the confusion.