
09-04-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 31,875.20 Thanks: 0
Thanked 4 Times in 4 Posts
Rep Power: 403 | | Need help "RUNNING MULTIPLE COMMANDS WITH PHP" can some one help? Hi I need help running multiple commands when using PHP ( To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. ) using the exec ( To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. ) function in PHP ( To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. ) these are the commands that I need to execute I need PHP to run the following commands *_This will encode the video as FLV_* $output = '0000005'; // A number between 0000000 and 9999999 $input= 'donewithform.flv'; // Will be chosen with a form -- * ffmpeg -i $input -ar 22050 -ab 32 -f flv -s 320x240 $output.flv* *--*_* This will Take a screenshot*_ *-- ffmpeg -i $output.flv -an -ss 00:00:45 -an -r 1 -vframes 1 -y -s 150x100 $output.jpg* * -- so how can this be done I am confused can someone help me also ffmpeg is at /usr/bin/ffmpeg/ output needs to be saved at /home/forbushj/public_html/videos/ input needs to be uploaded to /home/forbushj/convert/ and will be converted and outputed to **/home/forbushj/public_html/videos/ can someone help me? * To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | | | |