By the way, another thing you can try is bypassing Mplayer altogether and using ffmpeg to do your video conversion. To do that, open the same file and change
toCode:$cmd_all = $cmd_mencoder;
Code:$cmd_all = $cmd_ffmpeg;
By the way, another thing you can try is bypassing Mplayer altogether and using ffmpeg to do your video conversion. To do that, open the same file and change
toCode:$cmd_all = $cmd_mencoder;
Code:$cmd_all = $cmd_ffmpeg;
Is my video_conversion.php up to date? Because I keep having problems converting bigger .wmv files
Here is a convert log which looks really crazy http://youtubeoutlaws.com/templates_...rt_log_20.html
Please look at it and let me know what looks wrong.
PHP 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_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;
Anybody? Somebody
My conversions keep timing out saying database has went away. I have tried every variation with ffmpeg and mplayer and flv tool disabled and enabled. Somebody please help me.
Increasing mysql time out.
From your log, it look like process is killed in half way, may be server overloaded or some program kill the process.
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
[email protected]
Is it something done from WHM Access or in phpmyadmin? Can I increase it to to much? Thanks
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
[email protected]
I'm on a vps with ssh access but not sure if that's the same. I asked my host to increae it and waiting to see what they says.
Bookmarks