lang = new English();
try
{
if(!path.isEmpty())
ffmpeg = new FFMpeg(path, lang, this);
else if(System.getProperty("os.name").contains("Linux") ||
System.getProperty("os.name").contains("Solaris") ||
System.getProperty("os.name").contains("Mac") ||
System.getProperty("os.name").contains("Unix"))
ffmpeg = new FFMpeg("/usr/bin/ffmpeg", lang, this);
else
ffmpeg = new FFMpeg("ffmpeg/ffmpeg.exe", lang, this);
}
catch (IOException e1)
{
JOptionPane.showMessageDialog(self, lang.exenotfound, lang.error, JOptionPane.ERROR_MESSAGE);
}