I am trying to watermark uploaded videos using mencoder -vf bmovl command. I have to execute the below command everytime a video is uploaded to ensure that the logo is showing. ( echo "RGBA32 171 80 5 160 0 1" ; cat mylogo.rgba ) > mylogo.fifo & My problem is how can I execute the above command in php ?