Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (111)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

Sur d’autres sites (9140)

  • avcodec/wmaprodec : Make decoders init-threadsafe

    5 mai 2021, par Andreas Rheinhardt
    avcodec/wmaprodec : Make decoders init-threadsafe
    

    In this case this actually fixes a potential data race : The static VLC
    tables were reinitialized every time an AVCodecContext has been
    initialized ; while the mutex in avcodec_open2() ensured that the VLCs
    could not be initialized concurrently by multiple threads, nothing
    guaranteed that these VLCs are not read concurrently (when decoding a
    packet with an already initialized AVCodecContext) while another thread
    initializes them. This is undefined behaviour despite the values being
    written coinciding with the earlier values.

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

    • [DH] libavcodec/wmaprodec.c
  • avcodec/jpeg2000dec : Make decoder init-threadsafe

    7 mai 2021, par Andreas Rheinhardt
    avcodec/jpeg2000dec : Make decoder init-threadsafe
    

    The JPEG-2000 decoder and encoder share common luts ; the decoder
    initializes them once, guarded by a dedicated AVOnce, whereas
    the encoder initializes them always during init. This means that
    the decoder is not init-threadsafe ; in fact there is a potential
    data race because these luts can be initialized while an active
    decoder/encoder is using them.

    Fix this and make the decoder init-threadsafe by making the
    initialization function guard initialization itself with a dedicated
    AVOnce.

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

    • [DH] libavcodec/jpeg2000.c
    • [DH] libavcodec/jpeg2000dec.c
  • avcodec/mqc : Hardcode tables to save space

    7 mai 2021, par Andreas Rheinhardt
    avcodec/mqc : Hardcode tables to save space
    

    mqc currently initializes three arrays at runtime ; each of them
    has 2 * 47 elements, one is uint16_t, two are uint8_t, so that their
    combined size is 8 * 47. The source data for these initializations
    is contained in an array of 47 elements of size six. Said array is
    only used in order to initialize the other arrays, so the savings
    are just 2 * 47B. Yet this is dwarfed by the size of the code for
    performing the initializations : It is 109B (GCC 10.2, x64, -O3 albeit
    in an av_cold function) ; this does not even include the size of the
    code in the callers. So just hardcode these tables.

    This also fixes a data race, because the encoder always initialized
    these tables during init, although they might already be used at the
    same time by already running encoder/decoder instances.

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

    • [DH] libavcodec/j2kenc.c
    • [DH] libavcodec/jpeg2000dec.c
    • [DH] libavcodec/mqc.c
    • [DH] libavcodec/mqc.h