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

James Hastings-Trew jimht at shaw.ca
Thu Jul 8 15:54:43 CEST 2010


  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
> ISO: File Type Major Brand: Original QuickTime
> Quicktime/MOV file format detected.
> [mov] Video stream found, -vid 0
> [mov] Audio stream found, -aid 1
> VIDEO:  [dvcp]  720x576  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
> [V] filefmt:7  fourcc:0x70637664  size:720x576  fps:25.000  ftime:=0.0400
> Input fps will be interpreted as 25.000 instead.
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> ** MUXER_LAVF *****************************************************************
> REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
> INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
> will play these INCORRECT files as if nothing were wrong!
> *******************************************************************************
> OK, exit.
> 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?
>
> c
Meh. Use Firefogg... 
http://ajaxian.com/archives/firefogg-ogg-theora-encoding-plugin

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.



More information about the MEncoder-users mailing list