Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (17709)

  • 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);
    }
  • Revision 42f31923b0 : BITSTREAM - CLARIFICATION OF MV SIZE RANGE The codec should effectively run wit

    28 septembre 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_entropymv.h


     Modify /vp9/decoder/vp9_decodemv.c



    BITSTREAM - CLARIFICATION OF MV SIZE RANGE

    The codec should effectively run with motion vector of range (-2048, 2047)
    in full pixels, for sequences of 1080p and below. Add assertions to clarify
    this behavior.

    Change-Id : Ia0cac28249f587d8f8882205228fa480263ab313

  • Revision 6d3bd96607 : BITSTREAM - CLARIFICATION OF MV SIZE RANGE The codec should effectively run wit

    28 septembre 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_entropymv.h


     Modify /vp9/decoder/vp9_decodemv.c



    BITSTREAM - CLARIFICATION OF MV SIZE RANGE

    The codec should effectively run with motion vector of range (-2048, 2047)
    in full pixels, for sequences of 1080p and below. Add assertions to clarify
    this behavior.

    Change-Id : Ia0cac28249f587d8f8882205228fa480263ab313