[MEncoder-users] encoding VP8 through mencoder

Jared list-mencoder at legroom.net
Sun Apr 8 18:26:25 CEST 2012


Hi, all.  I've used mencoder for quite a while to encode h264 videos, and
now I'm looking to test VP8.  Unfortunately, I'm having trouble figuring out
how to pass the libvpx-specific options over to ffmpeg to do the encoding.

Here's a somewhat shortened version of command I'm working with:

mencoder SC_0010B.VOB -o SC_0010B.vp8 -oac copy -ovc lavc -lavcopts
threads=8:vcodec=libvpx:vbitrate=1000:subq=6:o=qmin=0,qmax=60,mb_threshold=0
-vf hqdn3d=2:1:2,harddup

That seems to work fine as far as producing a VP8-encoded video (I'm not
worried about the audio at this time).  However, I also want to pass the
following options, as documented in ffmpeg's man page under "libvpx encoder
AVOptions:"

cpu-used=0,auto-alt-ref=1,lag-in-frames=16,quality=good

Unfortunately, I can't figure out how to make that work.  If I add them to
the o= argument, I get "Your options /<SNIP>/ look like gibberish to me
pal".  If I add them to -lavcopts directly, I get "Error parsing option on
the command line: -lavcopts",  I'm not sure how else I can do this.

Could anyone please point me in the right direction?

Thanks!

-- 
Jared


More information about the MEncoder-users mailing list