Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

Sur d’autres sites (14477)

  • Fix input buffer size check in adpcm_ea decoder.

    8 septembre 2011, par Reimar Döffinger

    Fix input buffer size check in adpcm_ea decoder.

  • av_read_frame return -32 before EOF in case of gsm_ms/gsm wav files

    8 septembre 2011, par user924702

    av_read_frame function is returning -32 after 5/6 frames but I have very large file. This behaviour of the code is only for libgsm wav files only. If I play .mp3 or other wav files there is no error.

    Can some one help me why av_read_frame return -32 before EOF in case of libgsm_ms file on android platfrom.

    Below id my source code :

    while (mCurrentState != MEDIA_PLAYER_DECODED
       && mCurrentState != MEDIA_PLAYER_STOPPED
       && mCurrentState != MEDIA_PLAYER_STATE_ERROR )
    {
       __android_log_print(ANDROID_LOG_INFO, TAG, "Inside Decoder Run Loop.");
       if (mDecoderAudio->packets() > FFMPEG_PLAYER_MAX_QUEUE_SIZE) {
           __android_log_print(ANDROID_LOG_INFO, TAG, "mDecoderAudio->packets()  > FFMPEG_PLAYER_MAX_QUEUE_SIZE, lets sleep for 2mili sec.");
           usleep(200);
           continue;
       }
       __android_log_print(ANDROID_LOG_INFO, TAG, "Lets read frame using av_read_frame: %u",mMovieFile);
       int nResult = av_read_frame(mMovieFile, &pPacket);
       __android_log_print(ANDROID_LOG_INFO, TAG, "Read frameresult: %d",nResult);
       if(nResult < 0) {
           mCurrentState = MEDIA_PLAYER_DECODED;
           __android_log_print(ANDROID_LOG_INFO, TAG, "No more frame to decode.");
           continue;
       }
       if(mCurrentState == MEDIA_PLAYER_PAUSED){
           __android_log_print(ANDROID_LOG_INFO, TAG,"Player state is MEDIA_PLAYER_PAUSED.");
           continue;
       }
       if (pPacket.stream_index == mAudioStreamIndex) {
           __android_log_print(ANDROID_LOG_INFO, TAG,"Lets Enqueue Packet");
           mDecoderAudio->enqueue(&pPacket);
       }
       else {
            __android_log_print(ANDROID_LOG_INFO, TAG,"Lets Free Packet");
           av_free_packet(&pPacket);
       }
    }
  • bit : replace assert() by proper check.

    25 septembre 2011, par Michael Niedermayer

    bit : replace assert() by proper check.