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

Christian Ebert blacktrash at gmx.net
Thu Jul 8 16:38:46 CEST 2010


* 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.

> I generally provide 2 <video> tags - one with theora encoded video,
> one with h.264 encoded video. Firefox ignores the one it can't
> handle, and everything else uses the h.264 video.

That's the plan. However I found that to src parameters do not
work on the iPod. So I check via
canPlayType("video/mp4") !== "no" && canPlayType("video/mp4") !== ""
first -- also because Chrome supports both, and I want h264 to be
preferred.

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org/
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions


More information about the MEncoder-users mailing list