Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the C source code open? #49

Open
yulf opened this issue Sep 19, 2015 · 9 comments
Open

Is the C source code open? #49

yulf opened this issue Sep 19, 2015 · 9 comments

Comments

@yulf
Copy link

yulf commented Sep 19, 2015

Hi, I found you have used ffmpeg to mix the audio and video, Is the C source code open? Where can I get it?

@chrisballinger
Copy link
Member

ffmpeg.org?

On Sat, Sep 19, 2015 at 4:58 AM, yulf [email protected] wrote:

Hi, I found you have used ffmpeg to mix the audio and video, Is the C
source code open? Where can I get it?


Reply to this email directly or view it on GitHub
#49.

@yulf
Copy link
Author

yulf commented Sep 22, 2015

The author must have modified some codes to satisfy the application. This is the key.

@chrisballinger
Copy link
Member

No, the FFmpeg sources are unmodified. The JNI bridge is open source.

On Mon, Sep 21, 2015 at 6:41 PM, yulf [email protected] wrote:

The author must have modified some codes to satisfy the application. This
is the key.


Reply to this email directly or view it on GitHub
#49 (comment)
.

@yulf
Copy link
Author

yulf commented Sep 22, 2015

Where can I download the JNI bridge codes?

@chrisballinger
Copy link
Member

@yulf
Copy link
Author

yulf commented Sep 22, 2015

Did the author release the C source code ? I can not find them.

@Arlem
Copy link

Arlem commented Sep 22, 2015

The FFmpeg wrapper can be found here: https://github.com/OpenWatch/FFmpegWrapper-Android/tree/master/FFmpegWrapper/jni

But, if you want to make changes to that code, you have to build the library with ndk-build.sh

EDIT: the compiled and built .so library goes here:
https://github.com/Kickflip/kickflip-android-sdk/tree/master/sdk/src/main/jniLibs

Pay attention to match library/architecture

@yulf
Copy link
Author

yulf commented Sep 22, 2015

In https://github.com/Kickflip/kickflip-android-sdk/blob/master/sdk/src/main/java/net/openwatch/ffmpegwrapper/FFmpegWrapper.java, there are functions as follow:
public native void setAVOptions(AVOptions jOpts);
public native void prepareAVFormatContext(String jOutputPath);
public native void writeAVPacketFromEncodedData(ByteBuffer jData, int jIsVideo, int jOffset, int jSize, int jFlags, long jPts);
public native void finalizeAVFormatContext();

But, In https://github.com/OpenWatch/FFmpegWrapper-Android/blob/master/FFmpegWrapper/jni/FFmpegWrapper.c, I can not find corresponding C implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants