Failed to initialize encoder: ABI version mismatch

2,015 views
Skip to first unread message

slevytam

unread,
Dec 3, 2011, 7:36:25 PM12/3/11
to WebM Discussion
Hi all,

I'm struggling to get libvpx working with ffmpeg. After installation
which appears to go smoothly, I get this error when trying to convert:
"Failed to initialize encoder: ABI version mismatch"

I've tried various versions of libvpx including the latest. I've also
tried ffmpeg .0.6.3. I've also tried it with and without the patches.

If someone could offer assistance, I would be very grateful.

Thanks,

slevytam

---------
Full Log
---------

ffmpeg -i mf179b59.mp4 -vcodec libvpx -r 30 -b "644k" -acodec
libvorbis -ab 128000 -ar "44100" -ac 2 -s "352x198" "sample.webm"

FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 4 2011 00:19:40 with gcc 4.1.2 20080704 (Red Hat
4.1.2-50) configuration: --prefix=/usr --libdir=/usr/lib64 --
shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --
disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -fPIC' --enable-libvpx --enable-avfilter --
enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-
libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --
enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --
enable-shared --enable-swscale --enable-vdpau --enable-version3 --
enable-x11grab --enable-libvorbis --enable-libtheora
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 1 codec frame rate differs from container frame rate:
47.95 (5994/125) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mf179b59.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
Duration: 00:01:32.67, start: 0.000000, bitrate: 3529 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 124 kb/s
Stream #0.1(und): Video: h264, yuv420p, 1920x816 [PAR 1:1 DAR
40:17], 3402 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
[libvpx @ 0xaa13e20]v0.9.6
[libvpx @ 0xaa13e20]Failed to initialize encoder: ABI version mismatch
Output #0, webm, to 'sample.webm':
Stream #0.0(und): Video: libvpx, yuv420p, 352x198 [PAR 45:34 DAR
40:17], q=2-31, 644 kb/s, 90k tbn, 30 tbc
Stream #0.1(und): Audio: libvorbis, 44100 Hz, stereo, s16, 128 kb/
s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height

James Zern

unread,
Dec 5, 2011, 3:59:19 PM12/5/11
to webm-d...@webmproject.org
On Sat, Dec 3, 2011 at 16:36, slevytam <slev...@gmail.com> wrote:
> Hi all,
>
> I'm struggling to get libvpx working with ffmpeg.  After installation
> which appears to go smoothly, I get this error when trying to convert:
> "Failed to initialize encoder: ABI version mismatch"
>
This indicates that the source you built against is different than the
library being used at runtime, which is:
"[libvpx @ 0xaa13e20]v0.9.6"

Among other things, you can modify your LD_LIBRARY_PATH at runtime to
point to your local libvpx.so build (verify with ldd).

> --
> You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
> To post to this group, send email to webm-d...@webmproject.org.
> To unsubscribe from this group, send email to webm-discuss...@webmproject.org.
> For more options, visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/?hl=en.
>

Reply all
Reply to author
Forward
0 new messages