Anyone please? I've also tried to create shell script that runs mencoder and execute this script from PHP, but it still doesn't work. When I execute same shell script from shell, everything works fine.