convert is ImageMagic, can only work on Images.
To convert video, you need program called mencoder/ffmpeg.
If you have mencoder installed, you will able to convert video into flv with following command on SSH
Code:
/usr/bin/mencoder 1.wmv -o 1.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
Here 1.wmv is source video
1.flv is output, that is converted video.
In your case, you can run
Code:
/usr/bin/mencoder /home/bolek/public_html/video/dream_kelly_on_bed.wmv -o /home/bolek/public_html/video/1.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
If mencoder (mplayer) is installed, on running the command, it will produce
/home/bolek/public_html/video/1.flv
You can see requirements to run vshare youtube clone script at
http://www.vshare.in/requirements.html
Bookmarks