Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (12785)

  • Compile FFmpeg Zeranoe Build with Visual Studio 2013

    19 janvier 2016, par mFeinstein

    I downloaded the most recent Zeranoe dev build here, included the header files to my code, placed extern "C" around the includes, since this is a C++ project and FFmpeg is a C library, and added the libs to Visual Studio as well, and I get this linker error :

    1>Camera.obj : error LNK2019 : unresolved external symbol _av_free referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_freep referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_frame_alloc referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_frame_free referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_register_all referenced in function __catch$ ??0Camera@MicroDFV_Camera@@QAE@V ?$basic_string@DU ?$char_traits@D@std@@V ?$allocator@D@2@@std@@0PAX@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_alloc_context3 referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_open2 referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_close referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_init_packet referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_packet_unref referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_find_encoder referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_encode_video2 referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_opt_set referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_image_alloc referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>M :\Desktop\OpenCVTest\Debug\OpenCVTest.exe : fatal error LNK1120 : 14 unresolved externals

    Searching here and on Google I found many recommendations, such as to add #pragma comment(lib,...), and that the libs are static, so their order is important, and none of this helps.

    So I scratched my head even more and realized that the Zeranoe build is made with MinGW-w64, so probably it won’t link with Visual Studio. I inspected the lib using dumpbin and the symbols on the libs don’t have the underscore, so I am pretty sure it won’t work.

    The other Zeranoe builds for Windows don’t have libs, they are just plain .exe or exe + .dll.

    Will I have to make my own VS2013 build of FFmpeg to link it, or is there some alternative way ?

  • Can't link FFmpeg in Visual Studio 2013

    22 février 2016, par Sir DrinksCoffeeALot

    I’m struggling with this for past 3-4 days with barely any progress. I’ve downloaded "dev" and "shared" archives and extracted them. "Dev" archive has .lib and .h files and "Shared" has .dll files needed for running app. These are the steps that i’ve done linking-wise :

    Project -> Properties -> Configuration Properties -> VC++ Directories -> Include Directories -> ...\ dev\ include

    Project -> Properties -> Configuration Properties -> VC++ Directories -> Library Directories -> ...\ dev\ lib

    Project -> Properties -> Configuration Properties -> C/C++ -> General -> Additional Include Directories -> ...\ dev\ include

    Project -> Properties -> Configuration Properties -> Linker -> General -> Additional Library Directories -> ...\ dev\ lib

    Project -> Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies -> avcodec.lib ... swscale.lib

    And when i try to build it i get following error :

    Error 1 error LNK2019: unresolved external symbol _avcodec_register_all referenced in function _main...

    I have no idea why,somehow .lib are not getting linked or something or i’ve done something wrong. It’s getting really frustrating and ffmpeg is crucial in project that i’m working on, basicly i can’t do anything without it. So please if someone could point me in right direction i would aprreciate it very much.

    This is the example that im trying to build.

    #include
    extern "C"
    {

    #include "libavcodec\avcodec.h"
    }


    #pragma comment(lib, "avcodec.lib")

    int main()
    {
       printf("Trying avcodec_register_all... ");
       avcodec_register_all();
       printf("Done.\n");
       return 0;
    }

    Thank you in advance.

  • Compile FFmpeg Zeranoe Build with Visual Studio 2013

    29 août 2017, par mFeinstein

    I downloaded the most recent Zeranoe dev build here, included the header files to my code, placed extern "C" around the includes, since this is a C++ project and FFmpeg is a C library, and added the libs to Visual Studio as well, and I get this linker error :

    1>Camera.obj : error LNK2019 : unresolved external symbol _av_free referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_freep referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_frame_alloc referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_frame_free referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_register_all referenced in function __catch$ ??0Camera@MicroDFV_Camera@@QAE@V ?$basic_string@DU ?$char_traits@D@std@@V ?$allocator@D@2@@std@@0PAX@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_alloc_context3 referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_open2 referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_close referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_init_packet referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_packet_unref referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_find_encoder referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _avcodec_encode_video2 referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_opt_set referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>Camera.obj : error LNK2019 : unresolved external symbol _av_image_alloc referenced in function __catch$ ?NewFrameReceived@Camera@MicroDFV_Camera@@AAEXKKKGPAE@Z$0
    1>M :\Desktop\OpenCVTest\Debug\OpenCVTest.exe : fatal error LNK1120 : 14 unresolved externals

    Searching here and on Google I found many recommendations, such as to add #pragma comment(lib,...), and that the libs are static, so their order is important, and none of this helps.

    So I scratched my head even more and realized that the Zeranoe build is made with MinGW-w64, so probably it won’t link with Visual Studio. I inspected the lib using dumpbin and the symbols on the libs don’t have the underscore, so I am pretty sure it won’t work.

    The other Zeranoe builds for Windows don’t have libs, they are just plain .exe or exe + .dll.

    Will I have to make my own VS2013 build of FFmpeg to link it, or is there some alternative way ?