Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (112)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • 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

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (4214)

  • How to encode with ffmpeg if number of images smaller than GOP size

    10 avril 2013, par theateist

    The code bellow creates mp4 video file from jpeg images. When number of images is greater than GOP size the encoding success and after 10th image gotPacket that returned by avcodec_encode_video2 is > 0.

    BUT when number of images is smaller than GOP size gotPacket is always = 0 and therefore no images written to the file.

    My guess is that avcodec_encode_video2 allocates buffer with length equals to GOP size and until it won't be full gotPacket will be 0.

    My question is how to force avcodec_encode_video2 to encode even if it's buffer is not full ?

    ...
    _outStream->codec.gop_size = 10;
    _outStream->codec.keyint_min = 10;
    ...

    AVFrame* frame = getFrame();


    AVPacket packet;
    av_init_packet(&packet);
    packet.data = NULL;
    packet.size = 0;

    int gotPacket = 0;
    if (avcodec_encode_video2(_outStream->codec, &packet, frame, &gotPacket) < 0)
       throw std::runtime_error("failed to encode frame");

    if (gotPacket)
    {
       ...
       if (av_write_frame(_outContainer.get(), &packet) < 0)
           throw std::runtime_error("failed to write frame");      
       av_free_packet(&packet);
    }
  • vaapi_vp8 : Use VP8_MAX_QUANT instead of magic number

    16 février 2017, par Mark Thompson
    vaapi_vp8 : Use VP8_MAX_QUANT instead of magic number
    
    • [DH] libavcodec/vaapi_encode_vp8.c
  • avcodec/msmpeg4 : Inline number of motion vectors

    26 janvier 2021, par Andreas Rheinhardt
    avcodec/msmpeg4 : Inline number of motion vectors
    

    Both motion vector tables have the same number of elements, hence one
    can inline said number and remove the field containing the number of
    elements from the structure.

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

    • [DH] libavcodec/msmpeg4data.c
    • [DH] libavcodec/msmpeg4data.h
    • [DH] libavcodec/msmpeg4dec.c
    • [DH] libavcodec/msmpeg4enc.c