• [^] # Re: port salut

    Posté par . En réponse au message cherche equivalent copos ou aide.... Évalué à 3. Dernière modification le 07 juillet 2012 à 14:05.

    Il existe deux bibliothèques libavcodec : une produite par http://www.ffmpeg.org, une autre par http://libav.org. Tu peux essayer d'installer l'autre. Malheureusement les deux sont incompatibles donc il faudra faire un choix sur t machine.

    Chez moi :
    bash
    copos-0.8/ grep "libavcodec" *
    config.log:configure:20763: error: libavcodec is missing
    configure: { { echo "$as_me:$LINENO: error: libavcodec is missing" >&5
    configure:echo "$as_me: error: libavcodec is missing" >&2;}
    configure: { { echo "$as_me:$LINENO: error: libavcodec is missing" >&5
    configure:echo "$as_me: error: libavcodec is missing" >&2;}
    configure.in:AC_SEARCH_LIBS(avcodec_init, [avcodec], [], [AC_MSG_ERROR([libavcodec is missing])])
    configure.in:AC_SEARCH_LIBS(guess_format, [avformat], [], [AC_MSG_ERROR([libavcodec is missing])])

    Donc on sait qu'il veut un truc appelé « avcodec_init »

    Maintenant si tu regardes ce patch libav du 21 décembre 2001 : http://patches.libav.org/patch/13899/

    diff --git a/av_helpers.c b/av_helpers.c
    index 5360832..11bed7c 100644
    --- a/av_helpers.c
    +++ b/av_helpers.c
    @@ -79,7 +79,6 @@ static void mp_msp_av_log_callback(void *ptr, int level, const char *fmt,
     void init_avcodec(void)
     {
     if (!avcodec_initialized) {
    - avcodec_init();
     avcodec_register_all();
     avcodec_initialized = 1;
     av_log_set_callback(mp_msp_av_log_callback);
    
    

    I don't mind, but I don't know if it might not hurt some distros if
    they try to link against some older version (I have no idea when this
    change was made in FFmpeg).

    Donc apparemment, avcodec_init a été retiré de libav et ffmpeg. Donc tu peux essayer d'installer une vieille version de ffmpeg.

    À part ça, l'auteur de copos est aussi un lecteur de linuxfr. Voir un précédent journal sur le sujet https://linuxfr.org/users/jrm/journaux/adieu-scanner-3d et la page du développeur https://linuxfr.org/users/cirdan qui montre un dernier commentaire en mai 2012. Tu peux essayer de lui envoyer un message personnel.