Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (109)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (15018)

  • 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);
       }
    }
  • 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.

  • Page cache/unload/restore (back button case) : Only apply window unload event if using flash, since plugin is more likely to break (ie., state won’t be recalled correctly.)

    17 septembre 2011, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Page cache/unload/restore (back button case) : Only apply window unload event if using flash, since plugin is more likely to break (ie., state won’t be recalled (...)