Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (50)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • 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" ;

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (4007)

  • avutil/cpu : Fix race condition in av_cpu_count()

    2 décembre 2020, par Andreas Rheinhardt
    avutil/cpu : Fix race condition in av_cpu_count()
    

    av_cpu_count() intends to emit a debug message containing the number of
    logical cores when called the first time. The check currently works with
    a static volatile int ; yet this does not help at all in case of
    concurrent accesses by multiple threads. So replace this with an
    atomic_int.

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

    • [DH] libavutil/cpu.c
  • avformat/allformats : Fix data race when accessing devices lists

    1er octobre 2021, par Andreas Rheinhardt
    avformat/allformats : Fix data race when accessing devices lists
    

    Up until now setting the input and output devices lists is guarded
    by a mutex. This prevents data races emanating from multiple concurrent
    calls to avpriv_register_devices() (triggered by multiple concurrent
    calls to avdevice_register_all()). Yet reading the lists pointers was
    done without any lock and with nonatomic variables. This means that
    there are data races in case of concurrent calls to
    av_(de)muxer_iterate() and avdevice_register_all() (but only if the
    iteration in av_(de)muxer_iterate exhausts the non-device (de)muxers).

    This commit fixes this by putting said pointers into atomic objects.
    Due to the unavailability of _Atomic the object is an atomic_uintptr,
    leading to ugly casts. Switching to atomics also allowed to remove
    the mutex currently used in avpriv_register_devices().

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

    • [DH] libavformat/allformats.c
  • avcodec/mpeg4videodec : Fix data race when initializing VLCs

    4 janvier 2022, par Andreas Rheinhardt
    avcodec/mpeg4videodec : Fix data race when initializing VLCs
    

    Both the MPEG-4 parser as well as the decoder initialized
    several VLCs. There is a "static int done = 0 ;" in order to
    guard against initializing these multiple times, but this does
    not work when several threads try to initialize these VLCs
    concurrently, which can happen when initializing several parsers
    at the same time (they don't use the global lock that is used
    for codecs without the FF_CODEC_CAP_INIT_THREADSAFE cap ; actually,
    they don't use any lock at all).

    Since ff_mpeg4_decode_picture_header() now aborts early when called
    from the parser, it no longer needs to have these VLCs initialized
    at all. This commit therefore does exactly this.

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

    • [DH] libavcodec/mpeg4video.h
    • [DH] libavcodec/mpeg4video_parser.c
    • [DH] libavcodec/mpeg4videodec.c