Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (53)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5759)

  • How to get DirectShow device list with ffmpeg in c++ ?

    24 août 2018, par fyo

    I’m trying to get dshow device list with ffmpeg. I cannot get it but ffmpeg gets it by its own. Here is the code. It returns AVERROR(ENOSYS) for avdevice_list_input_sources. But avformat_open_input prints all devices. How can I get dshow devices and options in c++ code.

       avdevice_register_all();
       AVInputFormat *iformat = av_find_input_format("dshow");
       printf("========Device Info=============\n");
       AVDeviceInfoList *device_list = NULL;
       AVDictionary* options = NULL;
       //av_dict_set(&options, "list_devices", "true", 0);
       int result = avdevice_list_input_sources(iformat, NULL, options, &device_list);

       if (result < 0)
           printf("Error Code:%s\n", av_err2str(result));//Returns -40 AVERROR(ENOSYS)
       else printf("Devices count:%d\n", result);

       AVFormatContext *pFormatCtx = avformat_alloc_context();
       AVDictionary* options2 = NULL;
       av_dict_set(&options2, "list_devices", "true", 0);
       avformat_open_input(&pFormatCtx, NULL, iformat, &options2);
       printf("================================\n");
  • avformat/avformat : Update av_read_frame() documentation

    1er décembre 2019, par Andreas Rheinhardt
    avformat/avformat : Update av_read_frame() documentation
    

    This commit updates the documentation of av_read_frame() to match its
    actual behaviour in several ways :

    1. On success, av_read_frame() always returns refcounted packets.
    2. It can handle uninitialized packets.
    3. On error, it always returns blank packets.

    This will allow callers to not initialize or unref unnecessarily.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] doc/APIchanges
    • [DH] libavformat/avformat.h
  • avcodec/v4l2_m2m_dec : remove redundant packet and fix double free

    16 juillet 2020, par Andriy Gelman
    avcodec/v4l2_m2m_dec : remove redundant packet and fix double free
    

    v4l2_receive_frame() uses two packets s->buf_pkt and avpkt. If avpkt
    cannot be enqueued, the packet is buffered in s->buf_pkt and enqueued in
    the next call. Currently the ownership transfer between the two packets
    is not properly handled. A double free occurs if
    ff_v4l2_context_enqueue_packet() returns EAGAIN and v4l2_try_start
    returns EINVAL.

    In fact, having two AVPackets is not needed and everything can be
    handled by s->buf_pkt.

    This commit removes the local avpkt from v4l2_receive_frame(), meaning
    that the ownership transfer doesn't need to be handled and the double
    free is fixed.

    Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>

    • [DH] libavcodec/v4l2_m2m_dec.c