Closed GoogleCodeExporter closed 9 years ago
configure sees everything for ffmpeg :
checking for FFMPEG... yes
checking ffmpeg/avcodec.h usability... yes
checking ffmpeg/avcodec.h presence... yes
checking for ffmpeg/avcodec.h... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking ffmpeg/avformat.h usability... yes
checking ffmpeg/avformat.h presence... yes
checking for ffmpeg/avformat.h... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking ffmpeg/avutil.h usability... yes
checking ffmpeg/avutil.h presence... yes
checking for ffmpeg/avutil.h... yes
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking ffmpeg/swscale.h usability... yes
checking ffmpeg/swscale.h presence... yes
checking for ffmpeg/swscale.h... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
Original comment by erc...@gmail.com
on 30 Mar 2009 at 2:30
On further review, It could have been the fact I had another apt-get installed
version of ffmpegthumbnailer installed. i removed and purged, and now have this
error with the latest ffmpeg (svn 18272)
libffmpegthumbnailer/moviedecoder.cpp: In member function void
MovieDecoder::createAVFrame(AVFrame**, int, int, int):
libffmpegthumbnailer/moviedecoder.cpp:371: error: invalid conversion from int to
PixelFormat
libffmpegthumbnailer/moviedecoder.cpp:371: error: initializing argument 1 of
int
avpicture_get_size(PixelFormat, int, int)
Original comment by erc...@gmail.com
on 31 Mar 2009 at 3:49
Can you confirm that this fails against release 0.5 of ffmpeg?
Original comment by dirk.vdb
on 31 Mar 2009 at 3:57
I purged all ffmpeg installs, I pulled and compiled ffmpeg 05 with --enable-gpl
--enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad
--enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid
--enable-libvorbis
I needed to manually make libswscale. ffmpegthumbnailer finds ffmpeg on
configure,
but make now fails in the exact way as my original report :
make[1]: Entering directory `/sources/ffmpegthumbnailer'
/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o ffmpegthumbnailer
main.o
libffmpegthumbnailer.la
libtool: link: g++ -g -O2 -o .libs/ffmpegthumbnailer main.o
./.libs/libffmpegthumbnailer.so -L/usr/local/lib -lavutil -lavformat -lavcodec
-lpng12 /usr/lib/libjpeg.so
./.libs/libffmpegthumbnailer.so: undefined reference to `theora_encode_comment'
..etc
Original comment by erc...@gmail.com
on 31 Mar 2009 at 5:03
this might be related to the install method. I normally use sudo checkinstall
after
make, but i recently just did a straight 'sudo make install' and it seems to
compile
fine.
Going back to check the latest ffmpeg svn
Original comment by erc...@gmail.com
on 31 Mar 2009 at 5:37
Using ffmpeg 0.5, i can compile ffmpegthumbnailer with no trouble. the latest
svn
(18274) failes with :
libffmpegthumbnailer/moviedecoder.cpp: In member function âvoid
MovieDecoder::createAVFrame(AVFrame**, int, int, int):
libffmpegthumbnailer/moviedecoder.cpp:371: error: invalid conversion from int to
PixelFormat
libffmpegthumbnailer/moviedecoder.cpp:371: error: initializing argument 1 of
int
avpicture_get_size(PixelFormat, int, int)
Original comment by erc...@gmail.com
on 31 Mar 2009 at 6:47
Ok, then there has been an API change. I'll look into it. Thanks for trying it
out!
Original comment by dirk.vdb
on 31 Mar 2009 at 7:20
Just throwing this in: When I just use a straight ./configure on the latest
svn of
ffmpeg, i get the error in line 371.
When i use my typical configure line --enable-gpl --enable-postproc
--enable-pthreads
--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora
--enable-libx264 --enable-libxvid --enable-libvorbis --enable-swscale
i get the errors attached in my first comment on the latest svn OR version .05
Original comment by erc...@gmail.com
on 31 Mar 2009 at 8:19
The version from the trunk should compile again against the latest ffmpeg.
The other errors you are getting can't be solved in ffmpegthumbnailer. I just
set the
cflags and ldflags as they are supplied by ffmpeg through pkg-config.
Original comment by dirk.vdb
on 1 Apr 2009 at 11:12
I can confirm that the latest build will now compile with the latest svn of
ffmpeg.
but for the life of me i can't figure out why it refuses to compile if i pass
any
options to the ffmpeg configuration
Original comment by erc...@gmail.com
on 1 Apr 2009 at 6:13
Original issue reported on code.google.com by
erc...@gmail.com
on 30 Mar 2009 at 2:23Attachments: