[Kdenlive-devel] avformat.h header file path

Jean-Michel Pouré jm at poure.com
Sat May 17 08:49:37 UTC 2008


Le vendredi 16 mai 2008 à 22:56 +0200, jb at kdenlive.org a écrit :
> 
> Looks like there are 3 different install path for avformat.h depending
> on which FFmpeg version you have. I am working on a patch to support
> all 3 versions like MLT, I will commit it in the next hour.

Dear JB and friends,

I tried JB patch on SVN.
avformat.h still cannot be found.

[ 53%] Building CXX object kdenlive/CMakeFiles/kdenlive.dir/krender.o
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:28:22:
error: avformat.h: Aucun fichier ou répertoire de ce type
In file included
from /home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:35:
/usr/share/qt3/include/qxml.h:227: warning: ‘class QXmlReader’ has
virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:410: warning: ‘class QXmlContentHandler’
has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:427: warning: ‘class QXmlErrorHandler’ has
virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:436: warning: ‘class QXmlDTDHandler’ has
virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:444: warning: ‘class QXmlEntityResolver’
has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:451: warning: ‘class QXmlLexicalHandler’
has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:464: warning: ‘class QXmlDeclHandler’ has
virtual functions but non-virtual destructor
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h: In
constructor ‘KRender::KRender(const QString&, QWidget*, const char*,
int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:204:
warning: ‘KRender::m_externalwinid’ will be initialized after
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:184:
warning:   ‘double KRender::m_framePosition’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:73:
warning:   when initialized here
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:187:
warning: ‘KRender::m_generateScenelist’ will be initialized after
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.h:156:
warning:   ‘bool KRender::isBlocked’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:73:
warning:   when initialized here
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:88:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:93:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:119:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: At
global scope:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:171:
warning: unused parameter ‘self’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘int KRender::resetRendererProfile(char*)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:202:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:228:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘QPixmap KRender::extractFrame(int, int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:300:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘QPixmap KRender::getVideoThumbnail(QString, int, int,
int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:349:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::getImage(KURL, int, QPoint)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:370:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::getFileProperties(KURL, uint)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:461:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:479:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:500:
error: ‘AVFormatContext’ was not declared in this scope
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:500:
error: ‘context’ was not declared in this scope
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:500:
error: expected primary-expression before ‘)’ token
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:500:
error: expected `;' before ‘mlt_properties_get_data’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:511:
error: expected primary-expression before ‘)’ token
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:511:
error: expected `;' before ‘mlt_properties_get_data’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::setSceneList(QDomDocument, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:615:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:659:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘const GenTime& KRender::seekPosition() const’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:901:
warning: returning reference to temporary
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:902:
warning: returning reference to temporary
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: At
global scope:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:931:
warning: unused parameter ‘srcFileName’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:931:
warning: unused parameter ‘port’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:931:
warning: unused parameter ‘startTime’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:931:
warning: unused parameter ‘endTime’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::exportCurrentFrame(KURL, bool)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:947:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltCheckLength()’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:995:
warning: passing ‘double’ for argument 2 to ‘int
Mlt::Playlist::remove_region(int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:997:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltInsertClip(int, GenTime, QString)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1030:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1034:
warning: passing ‘double’ for argument 1 to ‘int
Mlt::Playlist::insert_at(int, Mlt::Producer&, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltCutClip(int, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1052:
warning: passing ‘double’ for argument 1 to ‘int
Mlt::Playlist::split_at(int, bool)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltRemoveClip(int, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1066:
warning: passing ‘double’ for argument 1 to ‘int
Mlt::Playlist::get_clip_index_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltRemoveEffect(int, GenTime, QString,
QString, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1082:
warning: passing ‘double’ for argument 1 to ‘Mlt::Producer*
Mlt::Playlist::get_clip_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltAddEffect(int, GenTime, QString,
QString, QMap<QString, QString>)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1122:
warning: passing ‘double’ for argument 1 to ‘Mlt::Producer*
Mlt::Playlist::get_clip_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltEditEffect(int, GenTime, int, QString,
QString, QMap<QString, QString>)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1186:
warning: passing ‘double’ for argument 1 to ‘Mlt::Producer*
Mlt::Playlist::get_clip_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltResizeClipEnd(int, GenTime, GenTime,
GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1228:
warning: passing ‘double’ for argument 1 to ‘bool
Mlt::Playlist::is_blank_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1230:
warning: passing ‘double’ for argument 1 to ‘int
Mlt::Playlist::get_clip_index_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1233:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1236:
warning: passing ‘double’ for argument 2 to ‘int
Mlt::Playlist::resize_clip(int, int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltResizeClipStart(int, GenTime, GenTime,
GenTime, GenTime, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1284:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1289:
warning: passing ‘double’ for argument 1 to ‘bool
Mlt::Playlist::is_blank_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1291:
warning: passing ‘double’ for argument 1 to ‘int
Mlt::Playlist::get_clip_index_at(int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1294:
warning: passing ‘double’ for argument 2 to ‘int
Mlt::Playlist::resize_clip(int, int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1294:
warning: passing ‘double’ for argument 3 to ‘int
Mlt::Playlist::resize_clip(int, int, int)’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1297:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltMoveClip(int, int, int, int)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1337:
warning: unused variable ‘multiprod’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltMoveTransition(QString, int, int,
GenTime, GenTime, GenTime, GenTime)’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1374:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1376:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1377:
warning: converting to ‘int’ from ‘double’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: In
member function ‘void KRender::mltSavePlaylist()’:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:1437:
warning: deprecated conversion from string constant to ‘char*’
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp: At
global scope:
/home/jmpoure/logiciels/kdenlive/kdenlive/kdenlive/krender.cpp:171:
warning: ‘void consumer_stopped(mlt_consumer_s*, KRender*,
mlt_frame_s*)’ defined but not used
make[2]: *** [kdenlive/CMakeFiles/kdenlive.dir/krender.o] Erreur 1
make[1]: *** [kdenlive/CMakeFiles/kdenlive.dir/all] Erreur 2
make: *** [all] Erreur 2


Kind regards,
Jean-Michel





More information about the Kdenlive mailing list