PHPexec calls ffmpeg to automatically transcode videos without executing PHPCMS field development for a customer. the actually uploaded video transcoding function is tested on the local machine and passed in the UAT environment. After the customer uploads the file to the production environment, the transcoding will not be executed. The UAT environment is the same as the production environment, and both are WIN2003 + IIS6.
Example-I test. wmv test.mp4'commands can be executed without authorization. you can delete ffmpeg.exe and the path of the video file. both the relative and absolute paths have been tested.
GOOGLE and Baidu have found a bunch of materials, but there is still no solution. Is there any great help to analyze the possible reasons?
Reply to discussion (solution)
I found my own problems and asked for my character.
It is really hard to say what the problem is. you have already ruled out all the errors to be eliminated. Is it normal to execute this transcoding command separately? Or you can use this function to another win2003 system and try again.
Ffmpeg.exe requires anonymous user execution permission
Both ffmpeg.exe and video files must use absolute paths.
You can verify this by using the cmd file in the same directory as the php file.
Ffmpeg.exe requires anonymous user execution permission
Both ffmpeg.exe and video files must use absolute paths.
You can verify this by using the cmd file in the same directory as the php file.