Reputation: 649
I want to use pan control. But I'm confused how to use it.
For example, I can run this command in terminal
ffmpeg -i wmafile.wav -af “pan=stereo|c1=c1” outr.wav
How to implement this command in java?
Upvotes: 3
Views: 4786
Reputation: 1693
Maven is also a dependency management solution, it will download libraries which you put in pom.xml. You can search for libraries here: https://mvnrepository.com/
If you want to use ffmpeg from java, you have at least two options:
find a ffmpeg library on mvnrepository and "import" it, or
use System.Diagnostics.Process.Start to run that command as a subprocess.
Upvotes: 2