Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2010-09-21 10:53:11
Size: 523
Editor: SamatJain
Comment: Qualify version of MEncoder needed
Revision 6 as of 2012-06-12 05:34:05
Size: 906
Editor: SamatJain
Comment: Add threads
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
Line 6: Line 22:
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 mencoder -ovc lavc -oac lavc -of lavf -lavfopts format=webm -lavcopts threads=4:acodec=vorbis:vcodec=libvpx -ffourcc VP80 input.avi -o output.webm

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 threads=4: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)