To verify, try following commands on SSH prompt.

Code:
which ffmpeg
which mencoder
php -i|grep ffmpeg