google-code-export / ffmpegthumbnailer

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

avcodec_decode_video2 not properly found, failed to compile #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using ffmpeg SVN 23561 w/ libavcodec 52.75.  Compiled and installed
2. using .svn 215 of ffmpegthumbnailer, run ./autoconf.sh, then compile

What is the expected output? What do you see instead?
compile returns :
checking for FFMPEG... yes
checking for avcodec_decode_video2 in -lavcodec... no
configure: error:  +Your version of libavcodec is too old

What version of the product are you using? On what operating system?
ubuntu 9.10, latest FFMPEG and ffmpegthumbnailer

Please provide any additional information below.

ffmpeg compiled with:

--enable-gpl --enable-version3 --enable-nonfree --enable-postproc 
--enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 
--enable-libxvid --enable-x11grab

  libavutil     50.18. 0 / 50.18. 0
  libavcodec    52.75. 1 / 52.75. 1
  libavformat   52.68. 0 / 52.68. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.20. 0 /  1.20. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0

whereis ffmpeg
ffmpeg: /usr/local/bin/ffmpeg

confirmed libavcodec only lives in /usr/local/lib

Original issue reported on code.google.com by erc...@gmail.com on 10 Jun 2010 at 3:44

GoogleCodeExporter commented 9 years ago
What's the output of:
nm -D /usr/lib/libavcodec.so | grep video2

Original comment by dirk.vdb on 10 Jun 2010 at 4:09

GoogleCodeExporter commented 9 years ago
hmm, its actually in /usr/local/lib.  and this highlighted a problem with my 
ffmpeg install, in that no .so files are created unless i add  --enable-shared  
to the configuration options.

This was odd because i never had it in previous compiles.  Pulled all of ffmpeg 
out, added the new option, and nm -D /usr/lib/libavcodec.so | grep video2  
returns 

003679a0 T avcodec_decode_video2

compiled ffmpegthumbnailer and it seemed to install with no issue.  but i 
needed an ldconfig to update libraries.

Original comment by erc...@gmail.com on 10 Jun 2010 at 4:54

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 2 Nov 2010 at 7:56