Hi, I installed Vshare couple of days ago on cirtexhosting. It was not converting videos with mencoder so I used the ffmpeg. It was converting the avi videos but when I try WMV videos, it doesn't convert. Here is the message:
Here is my video_conversion.php code:Code:STARTING VIDEO CONVERSION (process_queue.id = 23) File: /home/desizcom/public_html/video/malu_vashi.wmv #################################################### SELECT * FROM `video` WHERE `VID`=22 #################################################### Video id: 22 Find video duration - START Duration (ffmpeg-php): 475 DURATION: 07:55 Create Thumbnail - START Create Thumbnail with ffmpeg-php - END CONVERT COMMAND: /usr/local/bin/ffmpeg -i '/home/desizcom/public_html/video/malu_vashi.wmv' -acodec libmp3lame -ar 22050 -ab 32 -f flv /home/desizcom/public_html/flvideo/1206495661145282214.flv #################################################### Array ( ) #################################################### Return value: 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.
Please help.Code:<?php $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv"; # For old version of mplayer # $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"; # For latest version of mplayer $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 -ofps 24 -vf harddup"; $cmd_all = $cmd_ffmpeg; $convert_3gp = $cmd_all; $convert_mp4 = $cmd_all; $convert_mov = $cmd_all; $convert_asf = $cmd_all; $convert_mpg = $cmd_all; $convert_avi = $cmd_all; $convert_mpeg = $cmd_all; $convert_wmv = $cmd_all; $convert_rm = $cmd_all; $convert_dat = $cmd_all;




				
				
				
					
  Reply With Quote
Bookmarks