License of Ffmpeg for android
Dear,
I download the "opencv-3.2.0-android-sdk.zip" file to develop an Android application for commercial. Btw, when i using tool to check the license of my application (include the "sdk" folder of "opencv-3.2.0-android-sdk.zip") then i got warning messages about ffmpeg tool is using. For example:
/sdk/java/javadoc/org/opencv/videoio/Videoio.html
/sdk/java/src/org/opencv/videoio/Videoio.java
...
I know that OpenCV include some ffmpeg source code for video processing. My questions are:
Are we allowed to use this ffmpeg part for Android commercial application"?
If no, how can i remove the part of ffmpeg under "sdk" folder (source code, java doc,..) ? (since my application does not use this function).
I appreciate your answer, thank you very much.
hmm, note, that there's no support for ffmpeg on android out-of-the-box at all, so i guess, you're safe.
(by default, Videoio only has a standalone, MJPEG codec)
Thank you for your answer. I think it's better to remove the ffmpeg part for safe. Since i'm new so i'm not sure which necessary step to completely remove the ffmpeg part, could you please guide me? (update the make file, remove source code folder,..)
Thank you very much.
again don't bother to change the src code. your apk will not contain anything ffmpeg related.
Thank you berak,
I confused about ffmpeg license under "opencv-3.2.0-android-sdk", is it LGPL or GPL?
Sorry but i can not found any license information of ffmpeg under "opencv-3.2.0-android-sdk" content.
i don't have any android sdk at hand, but the license in 3rdparty/ffmpeg is LGPL.
but really don't worry. even if the sdk contains references to ffmpeg (code is shared between desktop & android builds), none of it will end up in your android app
Thank you very much for your answer, berek.
For some reason, my application is not allowed to contain FFmpeg, so i will re-build the OpenCV library "libopencv_java3.so" to exclude FFmpeg property.
Normally, OpenCV could re-build using "make" command, but i don't know the option to exclude FFmpeg. Can you tell me that?
The option to exclude ffmpeg support is
-D WITH_FFMPEG=OFF
, but again, your application will not have FFMPEG since it is not supported on android... you do not have to rebuilt the library...