Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (43)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • 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 (6042)

  • ffmpeg-android Extract Audio From Digital Container Format

    15 août 2013, par user2685548

    I make program extracts audio from Digital Container Format (DCF).
    I want to obtain an encoded audio file.
    so, I think that I can write to file only audio stream packet.

    Some DCF file work well, but some files does not work.

    Please, can you help me to find a problem ?

    // src  -- is DCF
    // dest -- is going to write file
    int ExtractAudio(const char src[], const char dest[]) {
       av_register_all();
       avcodec_register_all();

       __android_log_print(ANDROID_LOG_DEBUG, "test", "dest : %s", dest);
       __android_log_print(ANDROID_LOG_DEBUG, "test", "src : %s", src);

       //파일을 열고 컨텍스트에 파일 형식을 불러온다.
       AVFormatContext * pInputFormatContext = NULL;
       int err = avformat_open_input(&pInputFormatContext, src, NULL, NULL);
       if (err < 0) {
           __android_log_print( ANDROID_LOG_DEBUG, "test",
               "avformat_open_input Err! %d",err);
           return 0;
       }

       FILE *destFile = fopen(dest, "wb");
       FILE *srcFile = fopen(src, "rb");
       if (destFile == NULL || srcFile == NULL) {
           __android_log_print(ANDROID_LOG_DEBUG, "test", "fopen Err!");
           __android_log_print(ANDROID_LOG_DEBUG, "test", "fopen Err!");
           return 0;
       }

       fseek(srcFile, 0, SEEK_END);
       DCFSize = ftell(srcFile);
       fseek(srcFile, 0, SEEK_SET);

       int nAudioStreamIdx = -1;
       AVCodec *pAudioCodec = NULL;

       err = av_find_stream_info(pInputFormatContext);
       if (err < 0) {
           __android_log_print(ANDROID_LOG_DEBUG, "test",
                   "av_find_stream_info Err!");
           __android_log_print(ANDROID_LOG_DEBUG, "test",
                   "av_find_stream_info Err!");
           return 0;
       }

       err = av_find_best_stream(pInputFormatContext, AVMEDIA_TYPE_AUDIO, -1, -1,
               &pAudioCodec, NULL);

       //에러처리 임시
       if (err < 0) {
           nAudioStreamIdx = 1;
           if (err == AVERROR_STREAM_NOT_FOUND)
               __android_log_print(ANDROID_LOG_DEBUG, "test",
                       "AVERROR_STREAM_NOT_FOUND");
           if (err == AVERROR_DECODER_NOT_FOUND)
               __android_log_print(ANDROID_LOG_DEBUG, "test",
                       "AVERROR_DECODER_NOT_FOUND ");
       } else
           nAudioStreamIdx = err;

       AVPacket Packet;
       av_init_packet(&Packet);

       while (av_read_frame(pInputFormatContext, &Packet) >= 0) {
           if (Packet.stream_index == nAudioStreamIdx)
               {
               fwrite(Packet.data, 1, Packet.size, destFile);
               PaketPos = Packet.pos;
               //__android_log_print(ANDROID_LOG_DEBUG, "test","Extract Progress : %d",getExtractProgress());
           }
       }
       PaketPos = DCFSize;

       return 1;
    }
  • SECURITY FIX : Only allow image file types by default.

    13 octobre 2018, par blueimp
    SECURITY FIX : Only allow image file types by default.
    

    This prevents remote code execution in Apache servers version 2.3.9+ with the default configuration (AllowOverride None).

    Since Apache version 2.3.9, .htaccess support is disabled by default :
    https://httpd.apache.org/docs/current/mod/core.html#allowoverride

    Without the configuration in the .htaccess file, allowing uploads of all file types allows remote code execution.

    Thanks to @lcashdol for reporting the vulnerability (Closes #3514).

  • Alert visitors to security problem

    22 octobre 2018, par alanhogan
    Alert visitors to security problem
    

    A highly visible notice seems warranted.