[MEncoder-users] FLV Playback Issue

dragon at gamerstube.com dragon at gamerstube.com
Fri May 16 04:29:42 CEST 2008


Charles,

I have tried but I guess I'm just putting it into the code wrong. When I
try to upload a video file it doesnt convert. here is the code I tried.


if($config[vresize] == 1) {$encodecommand="$config[mencoder]
$config[vdodir]/$vdoname -o $config[flvdodir]/".$vid."x.flv -of -ofps
30000/1001 lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts
vcodec=flv:vbitrate=$config[vbitrate]:mbd=2:mv0:trell:v4mv:keyint=10:cbp:last_pred=3
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -vop
scale=$config[vresize_x]:$config[vresize_y] -srate $config[sbitrate]";}

else {$encodecommand="$config[mencoder] $config[vdodir]/$vdoname -o
$config[flvdodir]/".$vid."x.flv -of -ofps
30000/1001 lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts
vcodec=flv:vbitrate=$config[vbitrate]:mbd=2:mv0:trell:v4mv:keyint=10:cbp:last_pred=3
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -srate
$config[sbitrate]";}




More information about the MEncoder-users mailing list