Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
webm [2011/03/02 13:23] – [FFmpeg] 87.175.241.27 | webm [2012/02/18 13:12] – old revision restored brot |
---|
====== Erstellen von Videos im WebM Format ====== | I?ve read a few good stuff here. Certainly worth bakkmoroing for revisiting. I wonder how much effort you put to make such a fantastic informative web site. |
| |
=== WebM? === | |
| |
[[http://www.webmproject.org|WebM]] ist ein opensource Videoformat, speziell entwickelt um das Standardformat für HTML5 Videos zu werden. Das Format besteht aus dem VP8 Videocodec und dem [[http://xiph.org/vorbis/|Vorbis]] Audioformat verpackt in einem auf [[http://corecodec.com/products/matroska|Matroska]] basierten Container. | |
| |
== Kompatible Browser == | |
| |
[[http://www.chromium.org/getting-involved/dev-channel|Chromium dev-channel]] | |
[[http://build.chromium.org/buildbot/snapshots/|Chromium snapshots]] | |
[[http://nightly.mozilla.org/webm/|Firefox webm-builds]] | |
[[http://labs.opera.com/news/2010/05/19/|Opera webm-builds]] | |
| |
===== Videos ins WebM Format bringen ===== | |
==== FFmpeg ==== | |
| |
Um mit FFmpeg WebM-Videos erstellen zu können, braucht es (noch) ein paar [[http://www.webmproject.org/tools/#ffmpeg_patches|Patches]]. Manche Linuxdistributionen haben schon Pakete für ein gepatchtes FFmpeg, z.B. Arch Linux im [[http://aur.archlinux.org/packages.php?ID=37312|Arch User Repository]] oder Gentoo im [[http://bugs.gentoo.org/show_bug.cgi?id=320817|Bugtracker]] | |
| |
=== Beispielkommandozeile === | |
| |
ffmpeg -i 480/sintel_trailer_2k_%04d.png -i sintel_trailer-audio.flac -f webm -vcodec libvpx -acodec vorbis -sameq sintel_trailer_480p.mkv | |
| |
FFmpeg verwurstet auch nahezu jedes andere Audio- und Videoformat, ist also eine recht universeller Encoder :-) | |
| |
=== Optionen === | |
[14:22:21] <basilgohar> ffmpeg -i source.mkv -vcodec libvpx -qmin 15 -qmax 15 -g 250 -acodec libvorbix -aq 4 output.webm | |
[14:22:37] <bgaute> *libvorbis | |
[14:22:37] <basilgohar> For the types of videos I work with, that set of options works very well. | |
==== GStreamer ==== | |
| |
GStreamer hat seit Veröffentlichung des WebM Formats die entsprechenden Patches im Git - also braucht man ne Git Version von (mindestens) gstreamer-plugins-bad. | |
| |
FIXME | |