Support and General Use > Plugins/Viewers

PluginMpeg

<< < (3/3)

PaulJam:

--- Quote from: Vortex on June 07, 2007, 12:09:32 PM ---Unfortunately MpegPlayer does not play the files I converted with mencoder properly (I used the command line from the wiki). When I play one of those files, after a while the video suddenly skips several seconds ahead, then drops down to ~4fps until the audio has caught up. It then continues to play smoothly for a few seconds and then the same thing happens again.
--- End quote ---
Hi,

you can avoid this problem by telling mencoder to use B-frames while encodeing. Look in the mencoder man page for "vmax_b_frames".
Here is an example comandline that uses this option:

--- Code: ---mencoder.exe -of mpeg -oac mp3lame -lameopts preset=medium -af resample=44100:0:0 -ovc lavc -ofps 25 -lavcopts vcodec=mpeg2video:vqscale=8:vmax_b_frames=4:keyint=50 -vf scale,harddup -zoom -xy 220 [inputfile(s)] -o [outputfile]
--- End code ---

mevets:
thanks this works. Video is half the size of 5G video ipod screens though.

PaulJam:

--- Quote from: mevets on June 08, 2007, 11:40:32 AM ---Video is half the size of 5G video ipod screens though.

--- End quote ---
You could either change the "-zoom -xy 220" part near the end of the line i posted to "-zoom -xy 320"
or add the option ":vmax_b_frames=4" to the videocodecoptions in the comand you were previously using.

Navigation

[0] Message Index

[*] Previous page

Go to full version