ts2pes: 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 Debian possible default full paths are:

/usr/bin/ts2pes - from package: opencaster

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