marmarus
Messages postés2Date d'inscriptiondimanche 18 novembre 2007StatutMembreDernière intervention21 février 2008
-
20 févr. 2008 à 15:36
marmarus
Messages postés2Date d'inscriptiondimanche 18 novembre 2007StatutMembreDernière intervention21 février 2008
-
21 févr. 2008 à 10:15
salut a tous, j'essaye d'implementer un transcodeur utilisant ffmpeg, j'ai installer ffmpeg ,toutes ses bibliotheques et la bibliothèque SDL. seulement quand je veut compiler le 2ième tutoriale sur
tutorial02.c:21:21: error: avcodec.h: Aucun fichier ou répertoire de ce type
tutorial02.c:22:22: error: avformat.h: Aucun fichier ou répertoire de ce type
tutorial02.c:23:20: error: avutil.h: Aucun fichier ou répertoire de ce type
tutorial02.c: In function ‘main’:
tutorial02.c:35: error: ‘AVFormatContext’ undeclared (first use in this function)
tutorial02.c:35: error: (Each undeclared identifier is reported only once
tutorial02.c:35: error: for each function it appears in.)
tutorial02.c:35: error: ‘pFormatCtx’ undeclared (first use in this function)
tutorial02.c:37: error: ‘AVCodecContext’ undeclared (first use in this function)
tutorial02.c:37: error: ‘pCodecCtx’ undeclared (first use in this function)
tutorial02.c:38: error: ‘AVCodec’ undeclared (first use in this function)
tutorial02.c:38: error: ‘pCodec’ undeclared (first use in this function)
tutorial02.c:39: error: ‘AVFrame’ undeclared (first use in this function)
tutorial02.c:39: error: ‘pFrame’ undeclared (first use in this function)
tutorial02.c:40: error: ‘AVPacket’ undeclared (first use in this function)
tutorial02.c:40: error: expected ‘;’ before ‘packet’
tutorial02.c:75: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
tutorial02.c:119: error: ‘packet’ undeclared (first use in this function)
tutorial02.c:130: error: ‘AVPicture’ undeclared (first use in this function)
tutorial02.c:130: error: expected ‘;’ before ‘pict’
tutorial02.c:131: error: ‘pict’ undeclared (first use in this function)
tutorial02.c:140: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
tutorial02.c:141: error: expected expression before ‘)’ token
jul39dole
Messages postés117Date d'inscriptionmardi 22 juillet 2003StatutMembreDernière intervention21 janvier 2011 20 févr. 2008 à 23:19
apparemment le compilateur n'a pas accès aux fichiers avcodec.h, avformat.h et avutil.h. tu es sûr qu'ils sont dispos? tu utilises quoi comme compilateur?
f0xi
Messages postés4205Date d'inscriptionsamedi 16 octobre 2004StatutModérateurDernière intervention12 mars 202235 21 févr. 2008 à 01:25
1) Mauvaise rubrique (A propos de CS alors que C)
2) On oublie pas de preciser le langage utilisé (tout le monde ne fait pas du C)
3) C'est pas un Forum Php ici, le BBCode n'est pas supporté.
marmarus
Messages postés2Date d'inscriptiondimanche 18 novembre 2007StatutMembreDernière intervention21 février 2008 21 févr. 2008 à 10:15
salut,
j'ai trouver l'origine du problème, sur la commande de compilation officiel, c'est l'ordre des bibliothèques qui ne va pa, voila la commande qui marche, j'ai resitué "-lavutil":