Recherche avancée

Médias (91)

Autres articles (48)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8899)

  • dnxhd : initialize DNXHDContext::avctx to each thread’s respective one.

    28 mars 2017, par Ronald S. Bultje
    dnxhd : initialize DNXHDContext::avctx to each thread’s respective one.
    

    Otherwise all thread’s private contexts have the avctx pointer set to
    the AVCodecContext of the first thread, which means all writes to
    ctx->avctx->* (in e.g. read_header) are effectively race conditions.

    Fixes fate-dnxhd under tsan.

    • [DH] libavcodec/dnxhddec.c
  • h264 : don’t sync pic_id between threads.

    3 avril 2017, par Ronald S. Bultje
    h264 : don’t sync pic_id between threads.
    

    This is how the ref list manager links bitstream IDs to H264Picture/Ref
    objects, and is local to the producer thread. There is no need for the
    consumer thread to know the bitstream IDs of its references in their
    respective producer threads.

    In practice, this fixes tsan warnings when running fate-h264 :

    WARNING : ThreadSanitizer : data race (pid=19295)
    Read of size 4 at 0x7dbc0000e614 by main thread (mutexes : write M1914) :
    #0 ff_h264_ref_picture src/libavcodec/h264_picture.c:112 (ffmpeg+0x0000013b3709)
    [..]
    Previous write of size 4 at 0x7dbc0000e614 by thread T2 (mutexes : write M1917) :
    #0 build_def_list src/libavcodec/h264_refs.c:91 (ffmpeg+0x0000013b46cf)

    • [DH] libavcodec/h264_picture.c
  • hevc : only write to max_ra and pocTid0 in the first slice.

    3 avril 2017, par Ronald S. Bultje
    hevc : only write to max_ra and pocTid0 in the first slice.
    

    Values from subsequent values are guaranteed to be identical (since
    poc and nal_unit_type are checked to be the same between slices), so
    this doesn’t affect output in any way, but does resolve the remaining
    reported race conditions (by tsan) in fate-hevc.

    In practice, this fixes tsan warnings like this :

    WARNING : ThreadSanitizer : data race (pid=25334)
    Read of size 4 at 0x7d9c0001adcc by main thread (mutexes : write M1386) :
    #0 hevc_update_thread_context src/libavcodec/hevcdec.c:3310 (ffmpeg+0x000000b41c7c)
    [..]
    Previous write of size 4 at 0x7d9c0001adcc by thread T1 (mutexes : write M1383) :
    #0 hls_slice_header src/libavcodec/hevcdec.c:596 (ffmpeg+0x000000b43a22)

    • [DH] libavcodec/hevcdec.c