-
Notifications
You must be signed in to change notification settings - Fork 385
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
Can not get metadata for audio #4
Comments
Can you post the URLs you were trying to use? |
I tried audio files in sdcard and its not work. URL: /mnt/sdcard/DCIM/music.mp2 . |
Can you give me a way to write code C log to java side. Using printf as in code does not work. |
I wrote log and found that the error was taken in method |
You need to include the following header: #include <android/log.h> You can then print debug statements with: __android_log_print(ANDROID_LOG_INFO, LOG_TAG, "Some statement"); There is no "error" in the library. It's not working with mp2 files because I didn't compile the library with mp2 support. Re-compile FFmpeg with mp2 support and it will work fine. |
I recompiled the library with all codecs enabled and commited the resulting libraries. Please re-download and try again. |
It works. Thanks for your help! |
Hello,
I tried to get metadata for mp3, mp2 file, but the error was taken at set_data_source.
Can you check it or I need to configure some place to make it work.
The text was updated successfully, but these errors were encountered: