[MEncoder-users] mencoder cannot find libtheora in libavcodec even though it's compiled in

Christian Ebert blacktrash at gmx.net
Thu Jul 8 21:43:30 CEST 2010


* Christian Ebert on Thursday, July 08, 2010 at 16:38:46 +0200
> * James Hastings-Trew on Thursday, July 08, 2010 at 07:54:43 -0600
>> On 10-07-08 7:36 AM, Christian Ebert wrote:
>>> html5 in Firefox needs theoro atm, uggh. Anyway, I tried:
>>> 
>>> $ mencoder -demuxer mov -vfm ffmpeg -sws 10 -fps 25 -ofps 25 \
>>> -vf scale=384:288,harddup -aspect 4/3 -of lavf -lavfopts format=ogg \
>>> -ovc lavc -oac lavc -lavcopts \
>>> vcodec=libtheora:acodec=libvorbis:vbitrate=512:abitrate=80 \
>>> -o test.ogv test.mov
>>> MEncoder SVN-r31645-4.0.1 (C) 2000-2010 MPlayer Team
>>> success: format: 0  data: 0x0 - 0x39771d39
> [...]
>>> Cannot find codec 'libtheora' in libavcodec...
>>> Couldn't open video filter 'lavc'.
>>> Failed to open the encoder.
>>> 
>>> Exiting...
>>> $ otool -L `which mencoder` | grep theora
>>>       /sw/lib/libtheora.0.dylib (compatibility version 4.0.0, current version 4.10.0)
>>> $ sw_vers
>>> ProductName:	Mac OS X
>>> ProductVersion:	10.5.8
>>> BuildVersion:	9L30
>>> 
>>> 
>>> Current ffmpeg sort of works, albeit with sync issues, but why
>>> can't mencoder find libtheora?
>> 
>> Meh. Use Firefogg...
> 
> Doesn't really answer my question, does it ;-)
> 
>> http://ajaxian.com/archives/firefogg-ogg-theora-encoding-plugin
> 
> Meh. Web Interface. But the sync issues go away. otoh aspect
> ratio is not correct (I try to feed it pal dv material with
> non-square pixels). The width and height sliders can't be drawn
> independently, yeah graphic interfaces. Or width setting is not
> obeyed, just overridden to 400:292 which is not exactly 4/3.

Ah, it's only a frontend to ffmpeg2theora whose latest version
has a bugfix for aspect ratio in two-pass mode. I think I can get
halfway satisfactory results with it.

Still would be interested why libtheora is not recognized by
mencoder.

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
                     Ein deutscher Western/A German Western

         --->> http://www.blacktrash.org/underdogma/ccc.php


More information about the MEncoder-users mailing list