You may also want to check out this page's counterpart, Theora.
MEncoder
mencoder -ovc lavc -oac lavc ./19--Offline-OpenStreetMaps-in-the-context-of-Electronic-Election-Observation.wmv -o output.webm -of lavf -lavfopts format=webm -lavcopts acodec=vorbis:vcodec=libvpx -ffourcc VP80
more information available with this mailing list thread.