cornel90 / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
0 stars 0 forks source link

2.06 build fails with recent ffmpeg #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
gcc 4.52

FFmpeg version git-a1c1d3c, Copyright (c) 2000-2011 the FFmpeg developers
  built on Feb  8 2011 13:49:44 with gcc 4.5.2
  configuration: <snip>
  libavutil    50. 37. 0 / 50. 37. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.110. 0 / 52.110. 0
  libavformat  52. 97. 0 / 52. 97. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 74. 0 /  1. 74. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0

Original issue reported on code.google.com by sverd.johnsen on 8 Feb 2011 at 3:15

Attachments:

GoogleCodeExporter commented 9 years ago
This seems more like an issue in ffmpeg. I could be wrong, but I don't have an 
idea how I could fix this. Try the git ffmpeg in a few days, or from a few days 
back.

Original comment by dirk.vdb on 8 Feb 2011 at 3:20

GoogleCodeExporter commented 9 years ago

Original comment by sverd.johnsen on 21 Feb 2011 at 1:10

Attachments:

GoogleCodeExporter commented 9 years ago
Are you sure you don't have 2 version of ffmpeg installed, one in /usr/lib and 
one in /usr/local/lib ?

Original comment by dirk.vdb on 21 Feb 2011 at 8:04

GoogleCodeExporter commented 9 years ago
Ha, nice catch. local is the git build while the other one is the distributor 
version. I never considered that it would be a problem - but I still don't 
quite get it. I'm pretty sure I built ffmpegthumbnailer at least once with both 
installed. Could you tell me what told you?

Original comment by sverd.johnsen on 21 Feb 2011 at 2:21

GoogleCodeExporter commented 9 years ago
Ah, I'm blind. Well, how do I fix this? I compiled 
MPlayer/VLC/gstreamer0.10-ffmpeg successfully several times with this setup.

Original comment by sverd.johnsen on 21 Feb 2011 at 2:25

GoogleCodeExporter commented 9 years ago
A linker issue means it can't find functions in the library which it could find 
in the headers. There can be 2 causes, a bug in ffmpeg which is unlikely or a 
mismatch between the headers and the library. This is not the first time people 
complain about linking errors when they use the git or svn versions :-)

It could have worked before if the library from your system is similar to the 
one from git, but as soon as a functions are added to the git headers, the 
linker cannot find these functions in your system library resulting in linker 
errors.

I hope this is a clear explanation ;-)

Original comment by dirk.vdb on 21 Feb 2011 at 2:28

GoogleCodeExporter commented 9 years ago
The safest fix is make sure you only have one version of the ffmpeg libraries 
and headers installed.

Original comment by dirk.vdb on 21 Feb 2011 at 2:30

GoogleCodeExporter commented 9 years ago
Got it working easily now, just created about a bazillion dummy packages in 
Debian so I could keep the git version while satisfying dependencies.

Thanks, and I'm very sorry for stealing your time. I still wonder, does 
ffmpegthumbnailer do something different? Considering all the other 
ffmpeg-dependent stuff seemed to compile just fine, maybe that was just luck 
though :p

Original comment by sverd.johnsen on 21 Feb 2011 at 7:06

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 24 Jul 2011 at 10:10