Re: Wont prcess wmv files
Your mencoder installation is missing some codec to convert wmv file to FLV format. You may need to reinstall mencoder.
Code:
/usr/local/bin/mencoder '/usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/video/asian_wantsex_1.wmv' -o /usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/flvideo/11899377461105091633.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
Ask your server admin to run the above command and see if video with flv extension is created. If mencoder is installed properly, it will convert /usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/video/asian_wantsex_1.wmv into /usr/local/apache/sites/client127/freexxxhunters.com/htdocs/vid/flvideo/11899377461105091633.flv
Re: Wont prcess wmv files
Ok Fixed.
Wasnt anything to do with the server configs.
Heres the solution for anyone else havin probs with converting to flv.
1. open
Include > Settings > video_conversion.php
2. Find on 4th line
-lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es
Delete IT
And you done!!
So original code:
Code:
<?php
$cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec mp3 -ar 22050 -ab 32 -f flv $video_flv";
$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";
$cmd_all = $cmd_mencoder;
$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;
Altered code:
Code:
<?php
$cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec mp3 -ar 22050 -ab 32 -f flv $video_flv";
$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 ";
$cmd_all = $cmd_mencoder;
$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;
Re: Wont prcess wmv files
you may need to add
or the video may play to fast for the audio
Re: Wont prcess wmv files
Thanks for the tip.
Works fine as it is atm, but only using short files for testing . So ill change it if it becomes an issue :wink: