webm

This is an old revision of the document!


Erstellen von Videos im WebM Format

WebM?

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 Vorbis Audioformat verpackt in einem auf Matroska basierten Container.

Kompatible Browser

Um mit FFmpeg WebM-Videos erstellen zu können, braucht es (noch) ein paar Patches. Manche Linuxdistributionen haben schon Pakete für ein gepatchtes FFmpeg, z.B. Arch Linux im Arch User Repository oder Gentoo im 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.

Siehe hier :)

  • webm.1299692128.txt.gz
  • Last modified: 2011/03/09 17:35
  • by brot