Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while make ffmpegthumbnailer-1.4.0 #24

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments
Closed

Error while make ffmpegthumbnailer-1.4.0 #24

GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Hi.

I checked out latest (10 feb 2009) ffmpeg source code.

I have problem with building ffmpegthumbnailer-1.4.0.

# make
Making all in src
make[1]: Entering directory `/root/ffmpegthumbnailer-1.4.0/src'
Making all in libffmpegthumbnailer
make[2]: Entering directory 
`/root/ffmpegthumbnailer-1.4.0/src/libffmpegthumbnailer'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -
DPACKAGE_NAME=\"ffmpegthumbnailer\" -DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -
DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"ffmpegthumbnailer\ 1.4.0\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.4.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -
D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_JPEGLIB_H=1 -DHAVE_LIBAVCODEC_AVCODEC_H=1 -
DHAVE_LIBAVFORMAT_AVFORMAT_H=1 -DHAVE_LIBAVUTIL_AVUTIL_H=1 -
DHAVE_LIBSWSCALE_SWSCALE_H=1 -I.     -g -O2 -MT moviedecoder.lo -MD -MP -MF 
.deps/moviedecoder.Tpo -c -o moviedecoder.lo moviedecoder.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\" -
DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -DPACKAGE_VERSION=\"1.4.0\" "-
DPACKAGE_STRING=\"ffmpegthumbnailer 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.4.0\" -DSTDC_HEADERS=1 -
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -D_FILE_OFFSET_BITS=64 
-
DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_JPEGLIB_H=1 -
DHAVE_LIBAVCODEC_AVCODEC_H=1 -DHAVE_LIBAVFORMAT_AVFORMAT_H=1 -
DHAVE_LIBAVUTIL_AVUTIL_H=1 -DHAVE_LIBSWSCALE_SWSCALE_H=1 -I. -g -O2 -MT 
moviedecoder.lo -MD -MP -MF .deps/moviedecoder.Tpo -c moviedecoder.cpp  -fPIC 
-DPIC -o 
.libs/moviedecoder.o
moviedecoder.cpp: In member function ‘void 
MovieDecoder::convertAndScaleFrame(int, int, bool, 
int&, int&)’:
moviedecoder.cpp:308: error: invalid conversion from ‘int’ to 
‘PixelFormat’
moviedecoder.cpp:308: error:   initializing argument 6 of ‘SwsContext* 
sws_getContext(int, int, 
PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)’
make[2]: *** [moviedecoder.lo] Error 1
make[2]: Leaving directory 
`/root/ffmpegthumbnailer-1.4.0/src/libffmpegthumbnailer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ffmpegthumbnailer-1.4.0/src'
make: *** [all-recursive] Error 1



Original issue reported on code.google.com by alpha...@gmail.com on 10 Feb 2009 at 9:51

@GoogleCodeExporter
Copy link
Author

Seems like an interface change in ffmpeg, I'll look into it

Original comment by dirk.vdb on 11 Feb 2009 at 7:39

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

The trunk should build again

Original comment by dirk.vdb on 12 Feb 2009 at 10:59

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

I had the same issue with ffmpegthumbnailer and Ubuntu 8.10 server. Installed 
the
latest ffmpeg code before, compiled it without any problems.
Is the fix in the ffmpegthumbnailer 1.4.0 tar archive? I checked out the trunk, 
but
couldn't compile it, configure file etc. missing. How do I compile the latest 
trunk?

Thanks for your help.

Chris

Original comment by christia...@gmail.com on 13 Feb 2009 at 10:29

@GoogleCodeExporter
Copy link
Author

The fix is only in the trunk.

Before running configure you have to run ./autogen.sh

Build from trunk:
./autogen.sh
./configure
make

Dirk

Original comment by dirk.vdb on 13 Feb 2009 at 10:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant