mj2_to_frames: 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/mj2_to_frames - from package: openjpeg

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

On Debian possible default full paths are:

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

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