Hello,
We have isolated the problem to be how the php script runs the mplayer convert command. When running the same command from command line as the user dubooth it executes correctly. We enabled suphp in the hopes this would fix the user issue but it seems this did not fix it as the same error pops up and the video conversion must still be run manually for the videos to be run properly. For example here is the output when we try to use convert.php on a test file we uploaded:
CONVERT COMMAND: /usr/local/bin/mencoder
'/home/dubooth/public_html/video/thirdchild1_0001.wmv' -o
/home/dubooth/public_html/flvideo/1225131006944582718.flv -of lavf -oac mp3lame
-lameopts abr:br=56 -ovc lavc -lavcopts
vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050
-lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es
################################################## ##
Array
(
[0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (Family: 6,
Model: 15, Stepping: 6)
[2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2:
1
[3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
[4] =>
[5] =>
[6] => Exiting... (error parsing command line)
)
################################################## ##
Return value: Exiting... (error parsing command line)
I then copied & pasted the same exact command and ran it from ssh just fine. Please provide us information into how we need to change the server setup to work with this or please fix the underlying issue with convert.php.
Bookmarks