Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (39)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (7090)

  • mkv : report average framerate as minimal as well

    18 avril 2012, par Luca Barbato

    mkv : report average framerate as minimal as well

  • Revision 3fa1356994 : remove complex rd modeling. The affect on quality was minimal. Less than .1%,

    21 janvier 2014, par Jim Bankoski

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    remove complex rd modeling.

    The affect on quality was minimal. Less than .1%, various sets
    yt ( +.15%), derf (-.1%), hd ( -.1% ), std hd(-.15%)...

    The affect on speed of encode at speed -5 was substantial ( 3% ).

    Change-Id : I8903346fbae0c35f5b9ea20f81fdd239ae81247d

  • Returning struct from function causes memory corruption

    8 janvier 2015, par William Seemann

    I’m trying to return a FFmpeg AVDictionary struct from one function to another. I wrote the following two functions :

    int get_p_metadata(State **ps, AVDictionary *metadata) {
       printf("get_p_metadata\n");

       State *state = *ps;

       if (!state || !state->pFormatCtx) {
           return FAILURE;
       }

       metadata = NULL;
       av_dict_copy(&metadata, state->pFormatCtx->metadata, 0);

       printf("count in get_p_metadata %d\n", metadata->count);

       return SUCCESS;
    }

    int get_metadata(State **ps) {
       printf("get_metadata\n");

       AVDictionary m;
       get_p_metadata(ps, &m);
       printf("count in get_metadata %d\n", (&m)->count);

       return SUCCESS;
    }

    The code compiles and runs however when I call the get_metadata function the generated output is :

    count in get_p_metadata 12
    count in get_metadata 2073109240

    Can someone explain why the value of count changes from 12 to a random value every time I run this code ? Why isn’t the value of 12 retained once the get_p_metadata function returns ? How would I fix this ?

    UPDATE :

    This solution worked (Thanks to Cornstalks for actually reading the FFmpeg documentation and
    linkdd for the answer) :

    int get_p_metadata (State **ps, AVDictionary **metadata) {
       printf("get_p_metadata\n");

       State *state = *ps;

       if (!state || !state->pFormatCtx) {
           return FAILURE;
       }

       av_dict_copy(metadata, state->pFormatCtx->metadata, 0);

       return SUCCESS;
    }

    int get_metadata(State **ps, AVDictionary *metadata) {
       printf("get_metadata\n");

       AVDictionary *m = NULL;
       get_p_metadata (ps, &m);
       printf("count in get_metadata %d\n", m->count);

       return SUCCESS;
    }