I limited the framerates to 25000/1001 via the -ofps command as suggested on here and it has really helped my WMV playback a lot. However, the WMV videos still play a little choppy and MOV videos are now converting very poorly. I am currently resizing videos to 1280x720 with a vbitrate of 3,168 Is it possible that the vbitrate I am converting too is causing the problems? Also it seems that it is mostly h.264 videos that are having this playback issue in both formats. The commands: if($config[vresize] == 1) {$encodecommand="$config[mencoder] $config[vdodir]/$vdoname -o $config[flvdodir]/".$vid."x.flv -of 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 -ofps 25000/1001 -vop scale=$config[vresize_x]:$config[vresize_y] -srate 22050 $config[sbitrate]";} else {$encodecommand="$config[mencoder] $config[vdodir]/$vdoname -o $config[flvdodir]/".$vid."x.flv -of 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 -ofps 25000/1001 -srate 22050 $config[sbitrate]";}
Dragon S5 wrote:
I limited the framerates to 25000/1001 via the -ofps command as
Are you sure you don't mean 24000/1001 or 25? Those are standard NTSC and PAL framerates, respectively.
suggested on here and it has really helped my WMV playback a lot. However, the WMV videos still play a little choppy and MOV videos are now converting very poorly.
What do you mean by "poorly"?
The commands: if($config[vresize] == 1) {$encodecommand="$config[mencoder] $config[vdodir]/$vdoname -o $config[flvdodir]/".$vid."x.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=$config[vbitrate]:mbd=2:mv0:trell:v4mv:keyint=10:
That's an extremely low keyint, and is pretty much guaranteed to hurt compressibility.
cbp:last_pred=3 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
Using a newer version of mencoder shouldn't hurt...
-ofps 25000/1001 -vop scale=$config[vresize_x]:$config[vresize_y]
Wow, your mencoder is really old. Using a newer version might help. Also, you don't seem to be doing 2-pass encoding, which is likely to help greatly. -Corey
participants (2)
-
Corey Hickey -
Dragon S5