Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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: http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/

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,

Chris.

share|improve this question

migrated from serverfault.com Jan 26 '11 at 14:12

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

2 Answers 2

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! –  Christopher Feb 6 '11 at 17:21
up vote 0 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. –  Christopher Feb 25 '11 at 11:59

Your Answer

 
discard

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.