Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have configured, compiled a ffmpeg source code version 0.5 with versions as below:

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-memalign-hack libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 0 / 52.20. 0 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 on a linux host.

When i try to encode a raw yuv video using this version using theora codec by giving options as :

ffmpeg -f rawvideo -pix_fmt yuv420p -s 352x288 -r 30 -i foreman_352_x280_420.yuv -an -vcodec libtheora theora1.ogg

It gives an error: Unknown encoder 'libtheora'

But when i use the same command in a ffmpeg windows executable ( whose version is FFmpeg version SVN-r12665) it encoded to a theora video properly.

1) Doesnt ffmpeg version 0.5 on linux support theora encoder?

2)Which version for linux setup,would support theora encoding?

Thanks,

-AD.

share|improve this question

Maybe you just need to install (compile) libtheora for your linux distribution from http://www.theora.org/downloads/ . It might be that the windows distribution you used has it bundled, while the linux one does not.

share|improve this answer
    
Yep. On my Mac, running ffmpeg comes up with --enable-libtheora in the configure options, among other things. – fideli Feb 5 '10 at 17:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .