media playback and editing - crossplatform

closed account (z605fSEw)
Hi
I am developing a cross platform video editing suite. It has to run on both windows and mac. I am using wxWidgets for the cross platform gui which works very well.
Currently i am stuck finding a solution for opening and editing uncompressed avi and mpeg files. I relise that opening avi in windows is easy but i have not come across any crossplatform soltions. i would like to be able to extract each frame, edit it then reinsert it to the original file or store it to another file.
I was wondering if anyone has any ideas on how to achieve this. Prefrebly i do not want to manually parse the files but if that is the only way is there any source code / examples to help me achieve this?
Thanks
Dan
Can you use mplayer's code (or mencoder)? It is under the GPL (no LGPL-wannabe-opensource), so you have to write FOSS yourself... but if that's no problem then you might want to have a look at it (it supports *everything* there is to support).
Last edited on
closed account (z605fSEw)
unfortunatly i am developing a commerical application and hence cannot use mplayer, sorry i forgot to mention that before.
Thanks for the great idea tho :)
Dan
Why can't you use a GPL product in your commercial application?
Last edited on
I would assume because the marketing-people in his company are as retarded as the marketing-people in any (well, most) other software company. Let's face it: they hear in every second course at university that they have to protect the secrets of the company, which includes sourcecode. That it would be beneficial for all parties if they wrote FOSS is something they cannot imagine.
If you take and use a GPL product, you must only release the source code for that product and any modifications you have made to it.

This doesn't require them to release the source code to their whole application.
This doesn't require them to release the source code to their whole application.

Yes, it does.

http://www.gnu.org/cgi-bin/license-quiz.cgi

Edit:
I.e., everything that is linked with it, which is likely one whole application.
Last edited on
Ahh I was thinking of the LGPL. I don't see how it's Wannabe Opensource though?

The GPL prevents market competition by allowing competitors to see each others products. LGPL allows companies to keep their trade secrets, but still requires them to distribute the LGPL products they use.
Last edited on
Well, I guess the view on the GPL, LGPL and BSD-like licenses is strongly dependent on whether or not you use&write FOSS yourself and how your company deals with it. My own view has changed a view times, but at the moment I think that the GPL is better ;-)

The GPL prevents market competition by allowing competitors to see each others products.

That's the part I like about it. If you want a little propaganda:
http://www.gnu.org/licenses/why-not-lgpl.html

Whatever. Wannabe-FOSS was misplaced, that's right.
I like Open Source, I use Open Source, and the company I work for is happy to make code Open Source on some of it's products.

However, There are still products that need to remain closed-source. While the GPL ppl tend to spiel that it's "prohibiting competition" etc, it's quite the opposite. I work for a science organisation, our ability to obtain funding is directly related to the quality of products and research we can provide. We'd lose funding if everything we did was Open Source and available to competing companies.
Topic archived. No new replies allowed.