javacv
javacv copied to clipboard
Do you support rubberband filter?
I want to execute the ffmpeg command in Android. I have introduced the Javacv ffmpeg library in the project, and I used the following method to call the ffmpeg command
String ffmpeg = Loader.load(org.bytedeco.ffmpeg.ffmpeg.class);
ProcessBuilder processBuilder = new ProcessBuilder(ffmpeg, "-i", "1.mp3");
but, I have found that this ffmpeg does not support rubberband
filters. May I know what to do
I need to use this filter to change the pitch of the audio
https://ffmpeg.org/ffmpeg-filters.html#rubberband
Please update the cppbuild.sh file: https://github.com/bytedeco/javacpp-presets/blob/master/ffmpeg/cppbuild.sh
I'm not very clear about what you mean. Do I need to modify the parameters and compile them myself? Could you please provide me with detailed instructions
You can check this pull https://github.com/bytedeco/javacpp-presets/pull/1427 for an example of that, do something like that.
bytedeco/javacpp-presets/pull/1439 I have made the necessary changes. If I need it urgently, what should I do
You can build it locally on your machine: https://github.com/bytedeco/javacpp-presets#build-instructions
I am not very familiar with the compilation of C++. Can you help me compile one that supports ruberband? Thank you very much
If you have a version of FFmpeg installed on your system that does what you want, you should be able to use it by compiling the presets with a command like mvn install -Djavacpp.cppbuild.skip