Closed GoogleCodeExporter closed 9 years ago
You also need libswscale. Do you have it installed?
Original comment by dirk.vdb
on 5 Jul 2007 at 10:03
Hey, sorry for the delay.
Can't find a package for libswscale in ubuntu 6.10. I thought it was part of
the
ffmpeg package, no?
Original comment by swordp...@gmail.com
on 15 Jul 2007 at 9:28
Can you check if libswscale.so is located in /usr/lib (or whatever your lib
directory is)
Original comment by dirk.vdb
on 17 Jul 2007 at 3:50
It's nowhere. Played updatedb, then locate. No package available in synaptic,
and
all the packages I can find on the web seem to be for gutsy. Any suggestions?
Shouldn't it be part of ffmpeg?
Original comment by swordp...@gmail.com
on 18 Jul 2007 at 10:20
try changing this line in configure.ac
PKG_CHECK_MODULES( FFMPEG, libavutil libavformat libavcodec libswscale,
HAVE_FFMPEG=yes,
into
PKG_CHECK_MODULES( FFMPEG, libavutil libavformat libavcodec, HAVE_FFMPEG=yes,
and see what happens.
Original comment by dirk.vdb
on 27 Jul 2007 at 12:08
Now I get the following:
rogue@rogue:~/Desktop/ffmpegthumbnailer-1.1.3$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... no
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to
point at
location of ffmpeg pkgconfig files directory.
Feeling dumb here... :)
m a r
Original comment by swordp...@gmail.com
on 28 Jul 2007 at 4:38
Do you have any of these libraries installed on your system?
libavutil.so libavformat.so libavcodec.so libswscale.so
Maybe try installing a newer version of ffmpeg, your version is pretty old.
Original comment by dirk.vdb
on 28 Jul 2007 at 4:48
I'll verify this. I have kubuntu feisty with xfce (Yeah, xfce on kubuntu)
I got it working by checking out the newest ffmpeg, compiling it, installing
it, and
then compiling this project.
svn checkout http://ffmpegthumbnailer.googlecode.com/svn/trunk/
ffmpegthumbnailer
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure
make
sudo make install
cd ../ffmpegthumbnailer
./autogen.sh
./configure
Hopefully it works this time...
Original comment by fsch...@gmail.com
on 18 Aug 2007 at 10:54
I've dropped that machine, and I'm migrating back to GNOME on another, faster
laptop.
I hope you can find what made it so difficult, though. I like XFCE and Thunar, but
it's getting a little heavy with the latest versions. Your plugin really ought
to be
included as part of the distribution, nonetheless.
m a r
Original comment by swordp...@gmail.com
on 20 Aug 2007 at 4:11
Honestly, I believe that this problem is pretty much ubuntu's fault. They are
the
ones that packaged up ffmpeg without libswscale, and I believe that has been
our
whole problem.
Oh, and I agree about the xfce integration thing. This is one cool little tool.
:)
Original comment by fsch...@gmail.com
on 21 Aug 2007 at 12:54
Sorry but it is not an ubuntu problem. I am using dreamlinux (debian based
thought)
and got the same problem. ffmpeg is installed but gives me the same error. The
libswscale is also hard to find. It's not on the stable repositories, only on
testing
ones.
The worse is that i screwed up my pkg-config exporting thousands of
PKG_CONFIG_PATH
to it while trying to compile the ffmpegthumbnailer. What a mess...
Original comment by kemelzai...@gmail.com
on 15 Nov 2007 at 4:31
Fedora Core 5 has the same problem with the ffmpeg RPMs from Livna. Modifying
the
configure.ac as described above and re-running autoconf fixed the problem for
me and
it compiled properly.
Original comment by bigntall...@gmail.com
on 25 Feb 2008 at 12:42
U just need to install libavutil-dev, libavformat-dev, libavcodec-dev,
libswscale-dev. No hacks needed.
Sory fore bade eangleasche :-)
Original comment by haz...@gmail.com
on 2 Apr 2008 at 4:08
This problem is distribution specific and not related to ffmpegthumbnailer, so
I'll
close it
Original comment by dirk.vdb
on 5 Apr 2008 at 6:17
The problem is not with distributions. Downloading, configuring, installing
ffmpeg
does not install libswscale .. but if you go to the libswscale dir in ffmpeg,
run
make and make install it will work.
regards,
Brunis
Original comment by bru...@gmail.com
on 22 Jun 2008 at 8:48
The problem shows up on fedora core 11 as well.
Easily fixed by:
yum install ffmpeg-devel
Original comment by geoffnew...@gmail.com
on 16 Jan 2010 at 11:08
Same problem, on CentOS release 5.
Ffmpeg was compiled from source code, because of special features (not
installed from
yum, pkg-config doesn't know nothing about ffmpeg and lib, and corresponding
*.pc
files for pkg-config do not exists, so pkg-config checkings are not working).
# which ffmpeg
/usr/local/bin/ffmpeg
All libs in /usr/local/lib
# ls -la libav* libsw*
-rw-r--r-- 1 root root 20221184 Feb 3 16:19 libavcodec.a
-rw-r--r-- 1 root root 220790 Feb 3 16:19 libavdevice.a
-rw-r--r-- 1 root root 6307976 Feb 3 16:19 libavformat.a
-rw-r--r-- 1 root root 215280 Feb 3 16:19 libavutil.a
-rw-r--r-- 1 root root 494342 Feb 3 16:19 libswscale.a
So, question are still the same - how to compile ffmpegthumbnailer !?
Original comment by fenix.se...@gmail.com
on 3 Feb 2010 at 2:50
Make sure you have a proper ffmpeg installation. Compiling it from source will
install
the pc files.
Original comment by dirk.vdb
on 3 Feb 2010 at 2:54
Thanks, you are right. Ffmpeg by default creates shared libs and .pc files in
/usr/local/lib and /usr/local/lib/pkgconfig, so pkg-config can't find these
files.
So, ffmpeg must be compiled with correct --prefix=/usr.
Original comment by fenix.se...@gmail.com
on 3 Feb 2010 at 3:34
Original issue reported on code.google.com by
swordp...@gmail.com
on 5 Jul 2007 at 9:41