Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (82)

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

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

  • avprobe : do not call avio_close() on a custom context

    19 février 2016, par Anton Khirnov
    avprobe : do not call avio_close() on a custom context
    

    avio_close() can only be called on AVIOContexts created by avio_open(2).

    • [DBH] avprobe.c
  • fftools/ffmpeg : call check_recording_time() with actual frame pts

    25 novembre 2022, par Anton Khirnov
    fftools/ffmpeg : call check_recording_time() with actual frame pts
    

    Not its estimated value that will not necessarily be used.

    • [DH] fftools/ffmpeg.c
  • ffmpeg av_read_frame set timeout through callback, How to reduce the frequency of call callback func

    1er décembre 2015, par ICYMYM

    i have set the timeout of av_read_frame, and it work, but i find that the frequency of the call to the callback function is very high, it’s about 15ms every call, is there a way to increase the interval between two calls ? or reduce call frequency of callback function.

    c code like this :

    int timeout_count = 0;
    AVFormatContext *pFormatCtx = NULL;
    pFormatCtx = avformat_alloc_context();
    pFormatCtx->interrupt_callback.callback = interrupt_cb;
    pFormatCtx->interrupt_callback.opaque = &timeout_count;
    av_dict_set(&opts, "rtsp_transport", "tcp", 0);

    if(avformat_open_input(&pFormatCtx, stream_url, NULL, &opts)!=0)
    {
     printf("open failed\n");
     return -1;
    }

    and the callback func code like this :

    static int interrupt_cb(int *timeout_count)
    {
     (*timeout_count)++;
     if(*timeout_count > 500){
       return 1;  // timeout
     }
     printf("timeout_count:%d\n", (*timeout_count));
     return 0;
    }

    is there a api to set the interval of call callback func ? thanks very much first !