Hi,

Am Samstag, 14. Juni 2008 schrieb Michael Riepe:
> [...]
> In case you want to build with external ffmpeg libraries, you need to
> pass `--with-ffmpeg=/path/to/ffmpeg/installation' to configure. Whether
> libswscale is present should be detected automatically. If not, well, I
> mentioned tweaking above, didn't I? ;-)
>

Hmmm,... do I also need to tweak when compiling with dvbcut's internal 
ffmeg libs? ;-)

I just got:

g++ -g -O2 -Wall -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DHAVE_LIB_SWSCALE=1 -DHAVE_LIB_AO=1 -DHAVE_LIB_MAD=1 -DHAVE_LIB_A52=1 
-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_AO_AO_H=1 -DHAVE_MAD_H=1 
-DHAVE_STDINT_H=1 -DHAVE_A52DEC_A52_H=1 -DHAVE_FFMPEG_AVCODEC_H=1 
-DHAVE_LIBAVCODEC_AVCODEC_H=1 -DHAVE_LIBAVFORMAT_AVFORMAT_H=1 
-DHAVE_LIBSWSCALE_SWSCALE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -D__STDC_LIMIT_MACROS=1 
-D__STDC_CONSTANT_MACROS=1 -D_FILE_OFFSET_BITS=64 
-I/home/ralph/dvbcut/svn/ffmpeg/include 
-I/home/ralph/dvbcut/svn/ffmpeg/include/ffmpeg -I/usr/lib/qt3/include -I. 
-I/home/ralph/dvbcut/svn/ffmpeg/include 
-I/home/ralph/dvbcut/svn/ffmpeg/include/ffmpeg -I/usr/lib/qt3/include -I.  -c 
-o 
avframe.o avframe.cpp
In file included from avframe.cpp:24:
avframe.h:27:21: error: swscale.h: Datei oder Verzeichnis nicht gefunden
avframe.cpp: In constructor ‘avframe::avframe(AVFrame*, AVCodecContext*)’:
avframe.cpp:63: error: ‘SWS_BICUBIC’ was not declared in this scope
avframe.cpp:64: error: ‘sws_getContext’ was not declared in this scope
avframe.cpp: In destructor ‘avframe::~avframe()’:
avframe.cpp:76: error: ‘sws_freeContext’ was not declared in this scope
avframe.cpp: In member function ‘QImage avframe::getqimage(bool, int)’:
avframe.cpp:100: error: ‘sws_scale’ was not declared in this scope
make[1]: *** [avframe.o] Fehler 1
make[1]: Leaving directory `/home/ralph/dvbcut/svn/src'
make: *** [all] Fehler 2

since there is no swscale.h in DVBcut's include directory! 
But why is avframe refering to it then?

Has this to do with my externally installed ffmpeg libs (/usr/lib 
AND /usr/local/lib, libswscale just under /usr/lib)?

Normally I would expect that doesn't matter if compiling without external 
dirs...

ciao
Ralph 




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to