Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to convert various video file formats into .webm using ffmpeg v. 0.6.1 but am having a few troubles. It creates the file but is zero kb in size. I also get the following error:

Encoder (codec id 146) not found for output stream #0.0

I have tried loads of fixes but none seem to work. I have used --enable-libvorbis on ./confure and downloaded the latest version of libvpx and all the other dependencies listed here:

Are there any patches I need to apply from webm? Or is this version of ffmpeg meant to support it?

Anyone have any ideas? Thanks,


share|improve this question

migrated from Jan 26 '11 at 14:12

This question came from our site for system and network administrators.

For Mac users having the issue, this guy pointed out that you need to change the syntax slightly to include a codec in ffmpeg when installing with homebrew.


brew install ffmpeg --with-libvpx --with-theora --with-libogg --with-libvorbis

share|improve this answer

You need --enable-libvpx on your ./configure, e.g.:

./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
share|improve this answer
I have solved it now but this may have worked instead of having to reinstall.Thank you! – Kit Feb 6 '11 at 17:21
up vote 1 down vote accepted

I've solved it. The error was caused by a dodgy install of ffmpeg. Reinstalled and it works fine.

share|improve this answer
What was wrong with this answer? Voted undelete. – Kit Feb 25 '11 at 11:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.