Convert to webm with mencoder

2,309 views
Skip to first unread message

Ricardo

unread,
Oct 25, 2010, 4:07:08 PM10/25/10
to WebM Discussion
Hi everyone

Since webm was announced that the webm site has patches for mencoder,
why doesnt mencoder work when converting to vp8?

i know i can use ffmpeg and ivfenc but both lack functions (subtitle
support, automatic resizing etc) that mencoder does.

If patches are available why doesnt it work?

Al i got so far was an empty webm file:
mencoder -ovc lavc -oac lavc 01.mp4 -ffourcc VP80 -o output.webm -of
lavf -lavfopts format=webm -lavcopts vcodec=libvpx

cant specify bitrate etc

Can anyone help?

James Zern

unread,
Oct 25, 2010, 5:14:33 PM10/25/10
to webm-d...@webmproject.org
On Mon, Oct 25, 2010 at 13:07, Ricardo <ricardo...@gmail.com> wrote:
> Hi everyone
>
> Since webm was announced that the webm site has patches for mencoder,
> why doesnt mencoder work when converting to vp8?
>
> i know i can use ffmpeg and ivfenc but both lack functions (subtitle
> support, automatic resizing etc) that mencoder does.
>
> If patches are available why doesnt it work?
>
The patches for mencoder are simple at this point and only remove the
need for -ffourcc as well as fix 2-pass support.

> Al i got so far was an empty webm file:
> mencoder -ovc lavc -oac lavc 01.mp4 -ffourcc VP80 -o output.webm -of
> lavf -lavfopts format=webm -lavcopts vcodec=libvpx
>

With this command line you probably received an error similar to:
[webm @ 0xccef40]Only VP8 video and Vorbis audio are supported for WebM.
Since the lavf webm muxer shares code with the matroska one the
default codec selection is invalid. You'll want to build in support
for libvorbis and add acodec=libvorbis.

> cant specify bitrate etc
>
There is some (admittedly terse) documentation in the mplayer man page
[1] for using -lavcopts to specify video bitrate (vbitrate) and
forwarding additional options via o=.

[1]: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt

Ricardo

unread,
Dec 4, 2010, 11:04:47 AM12/4/10
to WebM Discussion
Can someone give me a CMD example with encoder, just enough to get
started, simple 2 pass encode, anyone?

Thank you

Pascal Massimino

unread,
Dec 4, 2010, 11:48:25 AM12/4/10
to webm-d...@webmproject.org
Ricardo,

On Sat, Dec 4, 2010 at 8:04 AM, Ricardo <ricardo...@gmail.com> wrote:
Can someone give me a CMD example with encoder, just enough to get
started, simple 2 pass encode, anyone?



Reply all
Reply to author
Forward
0 new messages