Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2010-09-21 10:48:41
Size: 497
Editor: SamatJain
Comment:
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:
You may also want to check out this page's counterpart, [[Theora]]. 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 acodec=vorbis:vcodec=libvpx -ffourcc VP80 input.avi -o output.webm
Line 9: Line 25:
more information available with [[https://groups.google.com/a/webmproject.org/group/apps-devel/browse_thread/thread/218ca4a238ecf60a/9d4f0808ed8e230e?pli=1|this mailing list thread]]. Confirmed working with r31918. More information available with [[https://groups.google.com/a/webmproject.org/group/apps-devel/browse_thread/thread/218ca4a238ecf60a/9d4f0808ed8e230e?pli=1|this mailing list thread]].

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)