Hi Folks, Here is a small patch to get FFmpeg working with both OpenJPEG master and Grok master, for J2K support. The comment on the commit has all of the details; the main change is to remove the OPJ_STATIC flag from configure, so that FFmpeg can be configured with a dynamic build of both codecs.
I also want to reiterate that because FFmpeg can be distributed under GPL v3, and Grok is licensed under the AGPL, there are no licensing issues regarding distributing FFmpeg together with Grok. Quoting from Wikipedia: "By contrast, GPLv3 and AGPLv3 each include clauses (in section 13 of each license) that together achieve a form of mutual compatibility for the two licenses. These clauses explicitly allow the "conveying <https://en.wiktionary.org/wiki/convey#Verb>" of a work formed by linking code licensed under the one license against code licensed under the other license,[3] <https://en.wikipedia.org/wiki/Affero_General_Public_License#cite_note-3> despite the licenses otherwise not allowing relicensing under the terms of each other.[4] <https://en.wikipedia.org/wiki/Affero_General_Public_License#cite_note-fsf2-4> In this way, the copyleft of each license is relaxed to allow distributing such combinations.[4] " <https://en.wikipedia.org/wiki/Affero_General_Public_License#cite_note-fsf2-4> So, this patch will expand the choice of J2K codecs for all users who use FFmpeg under the GPLv3 license. Kind Regards, Aaron Cheers, Aaron _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel