/usr/bin/transcode: symbol lookup error: /usr/lib/transcode/export_ffmpeg.so: undefined symbol: avcodec_encode_video

Bug #1477272 reported by Luca Olivetti on 2015-07-22
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
transcode (Ubuntu)
Medium
Unassigned

Bug Description

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)

Luca Olivetti (olivluca) wrote :
Download full text (4.1 KiB)

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:
>
> 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
> DistroRel...

Read more...

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in transcode (Ubuntu):
status: New → Confirmed
Changed in transcode (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers