FFMPEG in linux box

Hi all,

I have successfully used ffmpeg.exe in windows. But i dont know how to use it in linux:confused:. When i tried running a java program in linux using ffmpeg, I am getting, the following error even after having that ffmpeg.exe in my classpath: "java.io.IOException: java.io.IOException: ffmpeg: not found".

Need some help on this. Thanks in advance.

Thanks,
Ananthi.U

ffmpeg has to be in the PATH, not the CLASSPATH. You can check this by running

which ffmpeg

in the console. If it's not found, make sure that it's installed.

How to Install ffmpeg in linux box?

Go to your package manager, search for ffmpeg, install.