Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2010-09-21 11:23:17
Size: 450
Editor: SamatJain
Comment: Generalize MEncoder command
Revision 5 as of 2011-11-01 10:40:19
Size: 896
Editor: SamatJain
Comment: Add ffmpeg
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page has a counterpart, [[Theora]], for Ogg Theora video. This page has a counterpart, [[Theora]], for Ogg Theora video. Many of the techniques on [[Theora]] can be used to also encode WebM.

== ffmpeg ==

{{{
ffmpeg -i input.avi \
-vpre libvpx-720p \
-quality realtime \ # best, good, or realtime; can also use qmin/qmax
-threads 3 \
-acodec libvorbis -ab 128k -ar 44100 \
-f webm -y output.webm
}}}

See:

 * http://groups.google.com/a/webmproject.org/group/webm-discuss/browse_thread/thread/0c90767a55fb42b4
 * http://ffmpeg.org/ffmpeg.html#libvpx

This page has a counterpart, Theora, for Ogg Theora video. Many of the techniques on Theora can be used to also encode WebM.

ffmpeg

ffmpeg -i input.avi \
-vpre libvpx-720p \
-quality realtime \ # best, good, or realtime; can also use qmin/qmax
-threads 3 \
-acodec libvorbis -ab 128k -ar 44100 \
-f webm -y output.webm

See:

MEncoder

mencoder -ovc lavc -oac lavc -of lavf -lavfopts format=webm -lavcopts acodec=vorbis:vcodec=libvpx -ffourcc VP80 input.avi -o output.webm

Confirmed working with r31918. More information available with this mailing list thread.

SamatsWiki: WebM (last edited 2012-06-12 05:34:05 by SamatJain)