frames_to_mj2: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/frames_to_mj2 - from package: openjpeg

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/frames_to_mj2 - from package: openjpeg-tools

You may install the required package with command apt-get install {package}
Error in other languages:
frames_to_mj2: bevel nie gevind nie
frames_to_mj2: comandă negăsită
frames_to_mj2: comando não encontrado
frames_to_mj2: commande introuvable
frames_to_mj2: command not found
frames_to_mj2: käsku ei ole
frames_to_mj2: không tìm thấy lệnh
frames_to_mj2: komanda nerasta
frames_to_mj2: Kommando nicht gefunden.
frames_to_mj2: kommandot finns inte
frames_to_mj2: komut yok
frames_to_mj2: nie znaleziono polecenia
frames_to_mj2: níor aimsíodh an t-ordú
frames_to_mj2: no se encontró la orden
frames_to_mj2: no s'ha trobat l'ordre
frames_to_mj2: opdracht niet gevonden
frames_to_mj2: parancs nem található
frames_to_mj2: perintah tidak ditemukan
frames_to_mj2: príkaz nenájdený
frames_to_mj2: příkaz nenalezen
frames_to_mj2: команда не найдена
frames_to_mj2: командата не е открита
frames_to_mj2: 命令找不到
frames_to_mj2: コマンドが見つかりません