[MEncoder-users] Can't compile with libvpx support
Stjepan Brbot
stjepan.brbot at gmail.com
Tue Apr 26 16:43:26 CEST 2011
I want to encode video content with libvpx.
--
If configure mplayer/mencoder without any explicit enabled features:
$ ./configure
I'm able to compile it but I'm unable to encode video content with it.
For the following command:
$ mencoder big_buck_bunny_360p24.y4m -nosound
-ovc lavc -lavcopts vcodec=libvpx
-of lavf -lavfopts format=webm
-o big_buck_bunny.webm
I get the following error message:
OK, exit.
Cannot find codec 'libvpx' in libavcodec...
Couldn't open video filter 'lavc'.
Failed to open the encoder.
--
If explicitly enable libvpx in lavc with:
$ ./configure --enable-libvpx-lavc
I cannot compile it any more. I get the following error message:
ffmpeg/libavcodec/libavcodec.a(libvpxdec.o): In function `vp8_decode':
libvpxdec.c:(.text+0x49): undefined reference to `vpx_codec_decode'
libvpxdec.c:(.text+0x5e): undefined reference to `vpx_codec_get_frame'
libvpxdec.c:(.text+0x154): undefined reference to `vpx_codec_error'
libvpxdec.c:(.text+0x15f): undefined reference to
`vpx_codec_error_detail'
ffmpeg/libavcodec/libavcodec.a(libvpxdec.o): In function `vp8_free':
libvpxdec.c:(.text.unlikely+0xc): undefined reference to
`vpx_codec_destroy'
ffmpeg/libavcodec/libavcodec.a(libvpxdec.o): In function `vp8_init':
libvpxdec.c:(.text.unlikely+0x47): undefined reference to
`vpx_codec_version_str'
libvpxdec.c:(.text.unlikely+0x63): undefined reference to
`vpx_codec_build_config'
libvpxdec.c:(.text.unlikely+0x8a): undefined reference to
`vpx_codec_vp8_dx_algo'
libvpxdec.c:(.text.unlikely+0x92): undefined reference to
`vpx_codec_dec_init_ver'
libvpxdec.c:(.text.unlikely+0x9e): undefined reference to
`vpx_codec_error'
ffmpeg/libavcodec/libavcodec.a(libvpxenc.o): In function `vp8_encode':
libvpxenc.c:(.text+0x7d): undefined reference to `vpx_codec_encode'
libvpxenc.c:(.text+0xd9): undefined reference to `vpx_codec_get_cx_data'
ffmpeg/libavcodec/libavcodec.a(libvpxenc.o): In function `vp8_free':
libvpxenc.c:(.text.unlikely+0x14): undefined reference to
`vpx_codec_destroy'
ffmpeg/libavcodec/libavcodec.a(libvpxenc.o): In function
`log_encoder_error':
libvpxenc.c:(.text.unlikely+0x409): undefined reference to
`vpx_codec_error'
libvpxenc.c:(.text.unlikely+0x414): undefined reference to
`vpx_codec_error_detail'
ffmpeg/libavcodec/libavcodec.a(libvpxenc.o): In function `codecctl_int':
libvpxenc.c:(.text.unlikely+0x4e5): undefined reference to
`vpx_codec_control_'
ffmpeg/libavcodec/libavcodec.a(libvpxenc.o): In function `vp8_init':
libvpxenc.c:(.text.unlikely+0x55f): undefined reference to
`vpx_codec_version_str'
libvpxenc.c:(.text.unlikely+0x57b): undefined reference to
`vpx_codec_build_config'
libvpxenc.c:(.text.unlikely+0x59c): undefined reference to
`vpx_codec_vp8_cx_algo'
libvpxenc.c:(.text.unlikely+0x5a1): undefined reference to
`vpx_codec_enc_config_default'
libvpxenc.c:(.text.unlikely+0x5ac): undefined reference to
`vpx_codec_err_to_string'
libvpxenc.c:(.text.unlikely+0x83f): undefined reference to
`vpx_codec_vp8_cx_algo'
libvpxenc.c:(.text.unlikely+0x847): undefined reference to
`vpx_codec_enc_init_ver'
libvpxenc.c:(.text.unlikely+0x906): undefined reference to
`vpx_img_wrap'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
--
I have libvpx installed on my machine and I can encode with libvpx using
ffmpeg. My os is Ubuntu 10.10, 64bit.
More information about the MEncoder-users
mailing list