When I try to rip a dvd with k3b (selecting mpeg4 as the output format(, this is the failure message I get from transcode
/usr/bin/transcode: symbol lookup error: /usr/lib/transcode/export_ffmpeg.so: undefined symbol: avcodec_encode_video
ldd shows that /usr/lib/transcode/export_ffmpeg.so uses /usr/lib/x86_64-linux-gnu/libavcodec.so.56 which has an avcodec_encode_video2 but no avcodec_encode_video function:
luca@seis:~$ ldd /usr/lib/transcode/export_ffmpeg.so
linux-vdso.so.1 => (0x00007ffdff8c1000)
libavcodec.so.56 => /usr/lib/x86_64-linux-gnu/libavcodec.so.56 (0x00007fd2629c2000)
libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007fd26274b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd262443000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd262079000)
libavresample.so.2 => /usr/lib/x86_64-linux-gnu/libavresample.so.2 (0x00007fd261e59000)
libavutil.so.54 => /usr/lib/x86_64-linux-gnu/libavutil.so.54 (0x00007fd261c2d000)
libxvidcore.so.4 => /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007fd2618ef000)
libx264.so.142 => /usr/lib/x86_64-linux-gnu/libx264.so.142 (0x00007fd261555000)
libvpx.so.1 => /usr/lib/x86_64-linux-gnu/libvpx.so.1 (0x00007fd26115d000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fd260eaa000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fd260c7e000)
libtheoraenc.so.1 => /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007fd260a3e000)
libtheoradec.so.1 => /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007fd260825000)
libspeex.so.1 => /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007fd26060c000)
libschroedinger-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libschroedinger-1.0.so.0 (0x00007fd260337000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fd26011c000)
libopus.so.0 => /usr/lib/x86_64-linux-gnu/libopus.so.0 (0x00007fd25fed2000)
libopenjpeg.so.5 => /usr/lib/x86_64-linux-gnu/libopenjpeg.so.5 (0x00007fd25fcaf000)
libgsm.so.1 => /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007fd25faa1000)
libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007fd25f889000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd25f66b000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd263b28000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd25f467000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fd25f25e000)
liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007fd25efda000)
luca@seis:~$ nm -D -C -g /usr/lib/x86_64-linux-gnu/libavcodec.so.56 | grep avcodec_encode_video
00000000003fd970 T avcodec_encode_video2
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: transcode 3:1.1.7-9build3
ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
Uname: Linux 3.19.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Jul 22 21:15:46 2015
SourcePackage: transcode
UpgradeStatus: No upgrade log present (probably fresh install)
transcode needs to be ported to use the new avcodec_ encode_ video2 API, the
old API has been deprecated long ago and is no longer available now.
On Wed, Jul 22, 2015, 3:30 PM Luca Olivetti <email address hidden> wrote:
> Public bug reported: transcode/ export_ ffmpeg. so: undefined symbol: encode_ video transcode/ export_ ffmpeg. so uses /usr/lib/x86_64 gnu/libavcodec. so.56 which has an avcodec_ encode_ video2 but no encode_ video function: transcode/ export_ ffmpeg. so 1000) x86_64- linux-gnu/ libavcodec. so.56 2000) x86_64- linux-gnu/ libmp3lame. so.0 b000) 64-linux- gnu/libm. so.6 (0x00007fd26244 3000) 64-linux- gnu/libc. so.6 (0x00007fd26207 9000) x86_64- linux-gnu/ libavresample. so.2 9000) x86_64- linux-gnu/ libavutil. so.54 d000) x86_64- linux-gnu/ libxvidcore. so.4 f000) x86_64- linux-gnu/ libx264. so.142 5000) x86_64- linux-gnu/ libvpx. so.1 d000) x86_64- linux-gnu/ libvorbisenc. so.2 a000) x86_64- linux-gnu/ libvorbis. so.0 e000) x86_64- linux-gnu/ libtheoraenc. so.1 e000) x86_64- linux-gnu/ libtheoradec. so.1 5000) x86_64- linux-gnu/ libspeex. so.1 c000) -1.0.so. 0 => x86_64- linux-gnu/ libschroedinger -1.0.so. 0 (0x00007fd26033 7000) 64-linux- gnu/libz. so.1 (0x00007fd26011 c000) x86_64- linux-gnu/ libopus. so.0 2000) x86_64- linux-gnu/ libopenjpeg. so.5 f000) x86_64- linux-gnu/ libgsm. so.1 1000) x86_64- linux-gnu/ libva.so. 1 9000) 64-linux- gnu/libpthread. so.0 b000) ld-linux- x86-64. so.2 (0x00007fd263b2 8000) 64-linux- gnu/libdl. so.2 (0x00007fd25f46 7000) x86_64- linux-gnu/ libogg. so.0 e000) x86_64- linux-gnu/ liborc- 0.4.so. 0 a000) x86_64- linux-gnu/ libavcodec. so.56 | encode_ video encode_ video2
>
> When I try to rip a dvd with k3b (selecting mpeg4 as the output format(,
> this is the failure message I get from transcode
>
> /usr/bin/transcode: symbol lookup error:
> /usr/lib/
> avcodec_
>
> ldd shows that /usr/lib/
> -linux-
> avcodec_
>
>
> luca@seis:~$ ldd /usr/lib/
> linux-vdso.so.1 => (0x00007ffdff8c
> libavcodec.so.56 => /usr/lib/
> (0x00007fd2629c
> libmp3lame.so.0 => /usr/lib/
> (0x00007fd26274
> libm.so.6 => /lib/x86_
> libc.so.6 => /lib/x86_
> libavresample.so.2 => /usr/lib/
> (0x00007fd261e5
> libavutil.so.54 => /usr/lib/
> (0x00007fd261c2
> libxvidcore.so.4 => /usr/lib/
> (0x00007fd2618e
> libx264.so.142 => /usr/lib/
> (0x00007fd26155
> libvpx.so.1 => /usr/lib/
> (0x00007fd26115
> libvorbisenc.so.2 => /usr/lib/
> (0x00007fd260ea
> libvorbis.so.0 => /usr/lib/
> (0x00007fd260c7
> libtheoraenc.so.1 => /usr/lib/
> (0x00007fd260a3
> libtheoradec.so.1 => /usr/lib/
> (0x00007fd26082
> libspeex.so.1 => /usr/lib/
> (0x00007fd26060
> libschroedinger
> /usr/lib/
> libz.so.1 => /lib/x86_
> libopus.so.0 => /usr/lib/
> (0x00007fd25fed
> libopenjpeg.so.5 => /usr/lib/
> (0x00007fd25fca
> libgsm.so.1 => /usr/lib/
> (0x00007fd25faa
> libva.so.1 => /usr/lib/
> (0x00007fd25f88
> libpthread.so.0 => /lib/x86_
> (0x00007fd25f66
> /lib64/
> libdl.so.2 => /lib/x86_
> libogg.so.0 => /usr/lib/
> (0x00007fd25f25
> liborc-0.4.so.0 => /usr/lib/
> (0x00007fd25efd
>
>
> luca@seis:~$ nm -D -C -g /usr/lib/
> grep avcodec_
> 00000000003fd970 T avcodec_
>
> ProblemType: Bug
> DistroRel...