Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (54)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8668)

  • Anomalie #2375 (Fermé) : redirection d’une mauvaise url arborescente

    9 mars 2012, par cedric -

    on peut considérer que le bug est corrigé par SPIP 3. L’implémentation a été ré-écrite et je ne suis pas très chaud de backporter cela en SPIP 2.1.

  • Need to write to a file using fopen in a C++ class for iOS project

    2 mai 2014, par Chuck Mc Duran

    I have a project that uses C++ classes and FFmpeg, I need to use fopen and write a file to the app sandbox, so the code that I need to write in C++ is the equivalent of :

    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *docs_dir = [paths objectAtIndex:0];

    This would me to my app sandbox, where I can pretty much manipulate my files
    The question is how do I go about writing this code in C++ so that I can use fopen on a file ?

    This is the method that needs implementation :

    int testGrabAndWrite(const char* streamURL, bool decode, const char* filename)
    {
       FILE *outfile;
       int ret;
       int counter = 0;
       uint8_t *data;              // Pointer to the received audio mem
       int size;                   // Size of the received audio buffer


       outfile = fopen(filename, "w");

       if (outfile == NULL)
           exit(1);

       // Open the RTP stream
       if ((ret = openStream(streamURL, decode)) < 0)
           return ret;

       // Print out info about the stream found
       int tmpSampleRate, tmpBitRate, tmpChannels;
       ret = getStreamInfo(tmpSampleRate, tmpBitRate, tmpChannels);
       printf("\nSample rate:%d Bit rateL%d Channels:%d\n",tmpSampleRate,tmpBitRate, tmpChannels);

       // Grab some sample data and write it to file.
       while (counter < 500)
       {
           ret = getStreamData(data, size);
           fwrite(data, 1, size, outfile);                             // Write RTP packets, i.e. mp3, to file.
           printf("Wrote packet %d with size %d which returned %d. ", ++counter, size, ret);
       }

       fclose(outfile);
       closeStream();

       return ret;
    }
  • nomenclature #2520 : extensions’ vs ’vérouillés

    3 février 2012, par jluc -

    Ah ben on peut remettre partout en cause c’est vrai, mais si on remet "extension" en cause, il va falloir passer la doc au peigne fin et changer des petites choses dans pas mal d’endroits. L’implémentation "vérouillé = répertoire extensions" est un peu informaticorigide, c’est un argument en (...)