Log in

View Full Version : proper mencoder settings for 1080 mpeg2 @ 20 Mbps ?


_ck_
10th November 2006, 17:22
I'm having a heck of a time getting mencoder to do what I want
and make a proper 1080 mpeg2 stream for hd-dvd player playback.

It's forcing 2000kbps rate instead of the 20,000 that I want?

What am I missing here? Thanks for any pointers!

-of mpeg -ofps 24000/1001 -of mpeg
-mpegopts muxrate=39600:vbitrate=20000
-ovc lavc -lavcopts mbd=2:vrc_buf_size=9781:vrc_maxrate=20000:vbitrate=20000
vcodec=mpeg2video

Pookie
10th November 2006, 20:38
You'll need to look around for a version of FFMPEG rev 6199, as later versions seem to be more problematic about these bit rates (buffer underrruns). Here you go: http://tirnanog.fate.jp/mirror/ffmpeg/ffmpeg.rev6199.7z

ffmpeg -i input.avs -threads 1 -vcodec mpeg2video -dc 10 -g 15 -bufsize 640 -minrate 20000 -b 20000 -maxrate 20000 -aspect 16:9 -s 1920x1080 -an -mbd 2 -qmin 2 -async 1 -y "output.m2v"

That's a start, at least. You'll need to modify the parameters a bit for your specific requirements.