MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Thursday, May 15, 2008

[MEncoder-users] WMV to FLV Question

I am trying to build a high quality video hosting site and are having
issues with WMV3 and a few other file types. The script I purchased uses
the below commands to encode the videos, but from reading here I know that
there are changes I need to make to suit my needs - I am just not sure
what changes.

The biggest problem right now is the laggy playback of encoded WMV files.
From reading here it appears that I need to control the frames per second
down to 25 on encoding this file type, but I cant seem to figure out how.

I am resizing the videos as suggested by a larger high quality video
hosting site.

here are my config settings:
$config['vbitrate'] = 3168;
$config['vresize_x'] = 1280;
$config['vresize_y'] = 720;


The Script(first part applies only right now since I am resizing):
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 -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 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]";}


Thanks for any help
-Joe

p.s. not entirely sure how to reply to replies here... my apologies.

_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy