I want to execute a cmd command using java program
ffmpeg -i input.mp4 output.mp3
I want the above command to be executed in cmd using java language. and in above code I have directly given the input file name to execute but can I write a code so that user can manually give an input file?