Recherche avancée

Médias (91)

Autres articles (39)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (3056)

  • lavu/avsscanf : Do not mix declaration and code.

    18 novembre 2018, par Carl Eugen Hoyos
    lavu/avsscanf : Do not mix declaration and code.
    

    Fixes the following warning :
    libavutil/avsscanf.c : In function 'decfloat' :
    libavutil/avsscanf.c:354:9 : warning : ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    int bitlim = bits-3*(int)(rp-9) ;

    • [DH] libavutil/avsscanf.c
  • How to concatenate two mp4 files using ffmpeg C code ?

    15 février 2017, par Jerikc XIONG

    I found many links about concatenating multiple mp4 files using ffmpeg command on shell environment. Such as :

    Concatenate two mp4 files using ffmpeg

    But I didn’t find any information about using C code. There are some code snippet, but it seems not working.

    static int setargs(char *args, char **argv)
    {
       int count = 0;

       while (isspace(*args)) ++args;
       while (*args) {
           if (argv) argv[count] = args;
           while (*args && !isspace(*args)) ++args;
           if (argv && *args) *args++ = '\0';
           while (isspace(*args)) ++args;
           count++;
       }
       return count;
    }

    char **parsedargs(char *args, int *argc)
    {
       char **argv = NULL;
       int    argn = 0;

       if (args && *args
           && (args = strdup(args))
           && (argn = setargs(args,NULL))
           && (argv = malloc((argn+1) * sizeof(char *)))) {
             *argv++ = args;
             argn = setargs(args,argv);
       }

       if (args && !argv) free(args);

       *argc = argn;
       return argv;
    }

    void freeparsedargs(char **argv)
    {
       if (argv) {
           free(argv[-1]);
           free(argv-1);
       }
    }

    int main()
    {
       char **argv;
       char *cmd;
       int argc;

       cmd = "ffmpeg -i infile outfile";
       argv = parsedargs(cmd,&argc);
       ffmpeg(argc, argv);
    }

    Can FFmpeg be used as a library, instead of a standalone program ?

    How to do it by using ffmpeg C code ?

  • lavc/libopenh264 : refine the code

    18 avril 2023, par Jun Zhao
    lavc/libopenh264 : refine the code
    

    refine the code

    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] libavcodec/libopenh264enc.c