Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6950)

  • FFMPEG, change default audio track with code

    2 août 2019, par Gralex

    I have mkv video, and what just change default audio track without remux, encode/decode and other stuff. How it can be done with code ?

    AVFormatContext *pFormatCtx;

    av_register_all();
    avcodec_register_all();
    avformat_network_init();
    pFormatCtx = avformat_alloc_context();

    if (avformat_open_input(&pFormatCtx, [videoPath UTF8String], NULL, NULL) != 0) {
       avformat_close_input(&pFormatCtx);
       return;
    }

    if (avformat_find_stream_info(pFormatCtx, NULL) < 0) {
       avformat_close_input(&pFormatCtx);
       return;
    }

    for (int i = 0; i < pFormatCtx->nb_streams; i++) {
       if (pFormatCtx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) {
           // so we have audio track info
           // what todo next?
       }
    }
    avformat_close_input(&pFormatCtx);
  • How to deploy external library along with function source code to firebase ?

    2 octobre 2017, par Yizhou Yan

    I am new to the firebase. I am doing a project which requires using ffmpeg to process video.

    What I know about ffmpeg is that it runs on cmd. If I want to use ffmpeg to process video on my local computer in node.js, I need to install two things :

    I first need to download the ffmpeg source code from its website, and set the system path variable so that I can run ffmpeg cmd in any directory. By doing this, I am now able to run ffmpeg in cmd to process video.

    Second, install the ffmpeg module via npm. By doing this, I am now able to write code in node.js(or javascript ?) and uses functions that ffmpeg module provided to process video.

    Now I want to do it with firebase. what I know about the firebase is that I am only allowed to write functions in node.js(or javascript ?) and deploy the functions to firebase server which could be trigger by events.

    I also know that if I run npm install --save ffmpeg. in the function folder, it installs the module and --save builds the dependency for me. Here the question comes. Where should I put the ffmpeg source code file and deploy it along with the ffmpeg module and my js function source code to the firebase ? and do I need to configure the ffmpeg source file(like setting the system path variable) ? Thank you in advanced !

  • Troubles setting up FFMPEG with Code::Blocks

    14 juillet 2014, par David Norgren

    I’m trying to compile this in Code::Blocks with MinGW :

    extern "C" { // also tried without this
       #include <libavcodec></libavcodec>avcodec.h>
    }

    int main()
    {
       AVCodec* codec;
       avcodec_register_all();
       return 0;
    }

    The header file contains the AvCodec struct and void avcodec_register_all(void) ; but I still get undefined reference to `avcodec_register_all’. It doesn’t complain about the AvCodec pointer.

    My project build options :

    • Linker Settings->Link Libraries : C :\Libs\ffmpeg\lib\avcodec.lib
    • Search Directories->Compiler : C :\Libs\ffmpeg\include
    • Search Directories->Linker : C :\Libs\ffmpeg\lib

    Any ideas why I get this error ?