Convert Error ~ Host or bad install?
I have this problem:Convert Error ~ Host or bad install?
Was looking at this :http://forums.buyscripts.in/viewtopic.php?f=4&t=2227
Here my debug txt from templates_C/debug.txt
Host problem or Install?
Advise please....thanks
2007-12-11 12:14:44 Upload Finished
2007-12-11 12:14:44 Video (1) Conversion starting...
2007-12-11 12:14:44 File: /home/malaysia/public_html/weddingyoutube.com/video/Christopher_1.wmv
2007-12-11 12:14:44 -------------------------------------------------------------
2007-12-11 12:14:44 INSERT INTO video SET
UID='2',
title='sdsd',
description='sdsd',
keyword='sdsds',
channel='0|1|0',
addtime='1197393284',
adddate='2007-12-11',
vkey='1835112152',
type='public',
active='0',
approve='1'
2007-12-11 12:14:44 -------------------------------------------------------------
2007-12-11 12:14:44 Video id: 1
2007-12-11 12:14:44 Calling ffmpeg-php -> ffmpeg_movie()
2007-12-11 12:14:44 Get video duration - START
2007-12-11 12:14:44 Get video duration - END
2007-12-11 12:14:44 DURATION: 130.066
2007-12-11 12:14:44 Create Thumbnail - START
2007-12-11 12:14:46 Create Thumbnail - END
2007-12-11 12:14:46 CONVERT COMMAND:
/usr/bin/mencoder '/home/malaysia/public_html/weddingyoutube.com/video/Christopher_1.wmv' -o /home/malaysia/public_html/weddingyoutube.com/flvideo/11973932861343806527.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 -ofps 24 -vf harddup
2007-12-11 12:14:46 -------------------------------------------------------------
2007-12-11 12:14:46 MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (Family: 15, Model: 65, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x3a4372
ASF file format detected.
VIDEO: [WMV2] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x32564D57 size:320x240 fps:30.00 ftime:=0.0333
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 40.0 kbit/3.91% (ratio: 5000->128000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
Exiting...
2007-12-11 12:14:46 -------------------------------------------------------------
2007-12-11 12:14:46 Return value: Exiting...
2007-12-11 12:14:46 File Size too small : 0 Bytes, Upload a big video.
2007-12-11 12:14:46 Calling process_video[1,0]
2007-12-11 12:40:39 Upload Finished
2007-12-11 12:40:39 Video (2) Conversion starting...
2007-12-11 12:40:39 File: /home/malaysia/public_html/weddingyoutube.com/video/Christopher_2.wmv
2007-12-11 12:40:39 -------------------------------------------------------------
2007-12-11 12:40:39 INSERT INTO video SET
UID='2',
title='sdsd',
description='dsds',
keyword='sdsds',
channel='0|1|0',
addtime='1197394839',
adddate='2007-12-11',
vkey='351991943',
type='public',
active='0',
approve='1'
2007-12-11 12:40:39 -------------------------------------------------------------
2007-12-11 12:40:39 Video id: 2
2007-12-11 12:40:39 Calling ffmpeg-php -> ffmpeg_movie()
2007-12-11 12:40:39 Get video duration - START
2007-12-11 12:40:39 Get video duration - END
2007-12-11 12:40:39 DURATION: 130.066
2007-12-11 12:40:39 Create Thumbnail - START
2007-12-11 12:40:41 Create Thumbnail - END
2007-12-11 12:40:41 CONVERT COMMAND:
/usr/bin/mencoder '/home/malaysia/public_html/weddingyoutube.com/video/Christopher_2.wmv' -o /home/malaysia/public_html/weddingyoutube.com/flvideo/1197394841181254793.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 -ofps 24 -vf harddup
2007-12-11 12:40:41 -------------------------------------------------------------
2007-12-11 12:40:41 MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (Family: 15, Model: 65, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x3a4372
ASF file format detected.
VIDEO: [WMV2] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x32564D57 size:320x240 fps:30.00 ftime:=0.0333
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 40.0 kbit/3.91% (ratio: 5000->128000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
Exiting...
2007-12-11 12:40:41 -------------------------------------------------------------
2007-12-11 12:40:41 Return value: Exiting...
2007-12-11 12:40:41 File Size too small : 0 Bytes, Upload a big video.
2007-12-11 12:40:41 Calling process_video[2,0]
Re: Convert Error ~ Host or bad install?
Thanks to the Admin...
The convert command
/usr/bin/mencoder '/home/malaysia/public_html/weddingyoutube.com/video/Christopher_1.wmv' -o /home/malaysia/public_html/weddingyoutube.com/flvideo/11973932861343806527.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 -ofps 24 -vf harddup
Is not working on your server. You can ask if your web host to check if this command works on the server, if not, there will be problem with mencoder installation on the server.
Re: Convert Error ~ Host or bad install?
This is the xilahost.com 's response.... the Q is where do I change the script?
Video hosting is what we do, of course we have mencoder installed and working. Latest version also.
First, check your paths:
/usr/bin/mencoder NOT /usr/local/bin/mencoder
Secondly,
Ask the vShare team if their software is compatible with the latest version of mencoder.
Thanks!
Chad Hawkins
Customer Service | Xila Hosting | http://www.xilahosting.com
This is the script in my /home/malaysia/public_html/weddingyoutube.com/include/config.php
$db_host = "localhost";
$db_name = "malaysia_weddingyoutube";
$db_user = "malaysia_chris";
$db_pass = "xxxxxxxxxxxxxxx";
$language = "en";
$config = array();
$config['ffmpeg'] = "/usr/bin/ffmpeg";
$config['mplayer'] = "/usr/bin/mplayer";
$config['mencoder'] = "/usr/bin/mencoder";
$config['flvtool'] = "/usr/bin/flvtool2";
$config['basedir'] = "/home/malaysia/public_html/weddingyoutube.com";
$config['baseurl'] = "http://www.weddingyoutube.com";
include($config['basedir'] . "/include/vshare.php");