Convert Error! help needed
finally I have the ffmpeg environment install by using a ffmpeg installer.
I tried to upload a .wmv video to my vshare testing site, and the upload process was successful. However I found the convert error when I checked it in the 'process queue' at the backend. However, the video thumbnail can be extracted.
Here's the error:
Quote:
File: /home/dealspiggy/public_html/pigtube/video/haoyouniurou.wmv
################################################## ##
SELECT * FROM `video` WHERE `VID`=7
################################################## ##
Video id: 7
Find video duration - START
Duration (ffmpeg-php): 281
DURATION: 04:41
Create Thumbnail - START
Create Thumbnail with ffmpeg-php - END
CONVERT COMMAND: /usr/local/bin/mencoder '/home/dealpigg/dealpigg.com/public_html/pigtube/video/haoyouniurou.wmv' -o /home/dealpigg/dealpigg.com/public_html/pigtube/flvideo/1223871752923256064.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
################################################## ##
Array
(
[0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz (Family: 6, Model: 23, 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] => success: format: 0 data: 0x0 - 0x786526
[6] => ASF file format detected.
[7] => VIDEO: [WMV1] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[8] => [V] filefmt:6 fourcc:0x31564D57 size:320x240 fps:30.00 ftime:=0.0333
[9] => ================================================== ========================
[10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[11] => AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
[12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
[13] => ================================================== ========================
[14] =>
[15] => Exiting...
)
################################################## ##
Return value: Exiting...
Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
could someone help me figure out where is wrong? thanks
Re: Convert Error! help needed
Edit the video_conversion.php (include/settings)
Try to use the following command
Code:
$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
Re: Convert Error! help needed
that works for me now. thanks a lot!!
see http://www.ishafa.net/vshare
haha :D cool