Saturday, March 19, 2011

Encoding Movies into webm format

Get FFmepg with webm support:
you can get the lastest nightly builds of ffmpeg fromfirefogg site:
http://firefogg.org/nightly/

download the executable for your platform.
(linux, windows, mac are supported)

Start encoding:
simple command is like:
ffmpeg -i MVI_6646.AVI -b 600k -aq 60 MVI_6646.webm

Bit more Advanced
ffmpeg -y -i MOV003.3gp -threads 0 -f webm -vcodec libvpx -g 250 -qmin 10 -qmax 42 -rc_buf_aggressivity 1 -vb 800k -acodec libvorbis -aq 0 MOV003.webm

References:
Webm parameters
Webm to ffmpeg parameter mapping

No comments: