After investigating the debug issue we saw the command the script executes. I tried logging in via ssh as the user dubooth to run the command the debug output and it ran fine as seen below. Please provide how this script executes the conversion command as we have enabled suphp. This should make the script run as the dubooth user but it appears to not be functioning properly.

[email protected] [~/public_html]# /usr/local/bin/mencoder
'/home/dubooth/public_html/video/tc001.wmv' -o
/home/dubooth/public_html/flvideo/1225125627237515901.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
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

98 audio & 216 video codecs
success: format: 0 data: 0x0 - 0x1511ed7
ASF file format detected.
VIDEO: [WMV3] 640x480 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:640x480 fps:30.00 ftime:=0.0333
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
** MUXER_LAVF
************************************************** ***************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
************************************************** *****************************
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
================================================== ========================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:921600 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565
RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=766c66 [flv])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
================================================== ========================
MP3 audio selected.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
VIDEO CODEC ID: 0
AUDIO CODEC ID: 15001, TAG: 0
Writing header...
Pos: 0.7s 22f ( 0%) 0.00fps Trem: 1min 8mb A-V:0.070 [0:7]
Skipping frame!
Pos: 1.0s 31f ( 0%) 0.00fps Trem: 1min 11mb A-V:0.067 [0:7]
Skipping frame!
Pos: 1.3s 42f ( 2%) 0.00fps Trem: 0min 2mb A-V:0.070 [332:7]
Skipping frame!
Pos: 1.6s 52f ( 2%) 0.00fps Trem: 0min 2mb A-V:0.070 [278:7]
Skipping frame!
Pos: 1.9s 61f ( 2%) 0.00fps Trem: 0min 2mb A-V:0.067 [245:7]
Skipping frame!
Pos: 2.2s 72f ( 2%) 0.00fps Trem: 0min 3mb A-V:0.070 [225:7]
Skipping frame!
Pos: 2.5s 82f ( 2%) 0.00fps Trem: 0min 3mb A-V:0.070 [244:7]
Skipping frame!
Pos: 4.9s 155f ( 9%) 44.66fps Trem: 0min 5mb A-V:-0.067 [888:23]
1 duplicate frame(s)!
Pos: 5.8s 180f (11%) 41.65fps Trem: 0min 5mb A-V:-0.069 [873:26]
1 duplicate frame(s)!
Pos: 7.1s 218f (15%) 39.54fps Trem: 0min 4mb A-V:-0.068 [841:29]
1 duplicate frame(s)!
Pos: 10.2s 311f (27%) 36.73fps Trem: 0min 3mb A-V:-0.070 [818:35]
1 duplicate frame(s)!
Pos: 28.9s 869f (84%) 36.19fps Trem: 0min 2mb A-V:-0.067 [622:42]
1 duplicate frame(s)!
Pos: 33.7s 1014f (100%) 36.11fps Trem: 0min 2mb A-V:-0.070 [607:43]
1 duplicate frame(s)!
Pos: 34.1s 1024f (100%) 36.11fps Trem: 0min 2mb A-V:-0.070 [607:43]
1 duplicate frame(s)!
Pos: 34.3s 1029f (100%) 36.11fps Trem: 0min 2mb A-V:-0.053 [606:43]
Flushing video frames
Writing index...
SEEK 4
SEEK 52
SEEK 174
SEEK 2821084

Video stream: 606.526 kbit/s (75815 B/s) size: 2600482 bytes 34.300 secs
1029 frames

Audio stream: 43.357 kbit/s (5419 B/s) size: 183340 bytes 33.829 secs
--