In my program, it gets MP4 video in, and I want it to output a MP3 (without any server-side stuff.) Since Android (and my app) needs to run on many different hardware configurations, this means I probably cannot use FFMPEG. I know this may be very battery and processing power intensive, especially for a mobile phone, but I need this option for my users. I cannot find any native libraries for Java that don't use FFMPEG.
Essentially, there are two ways to remove sound from a video: by muting it and by deleting the original audio track completely from the file. The former is the easiest and the fastest option if you just need to silence the video.
On Android, you can use the free Video to MP3 Converter app to extract the audio from your video files. You have several file formats to choose from for your resulting file. Here's how you use the app: Open the app and tap Video to Audio.
Download the Extract Audio from Video app from Google Play Store and launch it. It will show you all the video files saved on your phone. Select the file you want to extract the audio from and you will be redirected to the next page. Tap on the extract audio button and wait until the audio extracts.
I see little problem with FFMPEG, since apparently it runs on 11 architectures supported by Debian. Only architecture not supported is apparently m68k, others are old versions in ports to FreeBSD kernel, or Hurd kernel. And from what I know of Android, fact that it's based on ARM isn't going to change any time soon.
Of course, there could be some issues with Java wrappers around native code. Is that the issue? I'm not an Android nor a Java programmer, but I'm sure you can detect the platform and dynamically load appropriate native wrapper.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With