Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (26)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (5079)

  • lavc/hevcdec : move the check for multiple frames in a packet

    3 juin 2024, par Anton Khirnov
    lavc/hevcdec : move the check for multiple frames in a packet
    

    Do not do it in hls_slice_header(), which is the wrong place for it.
    Avoids special magic return value of 1 in that function. The comment
    mentioning potential corrupted state is no longer relevant, as
    hls_slice_header() modifies no state beyond SliceHeader, which will only
    get used for a valid frame.

    • [DH] libavcodec/hevc/hevcdec.c
  • lavc/ffv1 : change FFV1SliceContext.plane into a RefStruct object

    11 juillet 2024, par Anton Khirnov
    lavc/ffv1 : change FFV1SliceContext.plane into a RefStruct object
    

    Frame threading in the FFV1 decoder works in a very unusual way - the
    state that needs to be propagated from the previous frame is not decoded
    pixels(¹), but each slice's entropy coder state after decoding the slice.

    For that purpose, the decoder's update_thread_context() callback stores
    a pointer to the previous frame thread's private data. Then, when
    decoding each slice, the frame thread uses the standard progress
    mechanism to wait for the corresponding slice in the previous frame to
    be completed, then copies the entropy coder state from the
    previously-stored pointer.

    This approach is highly dubious, as update_thread_context() should be
    the only point where frame-thread contexts come into direct contact.
    There are no guarantees that the stored pointer will be valid at all, or
    will contain any particular data after update_thread_context() finishes.

    More specifically, this code can break due to the fact that keyframes
    reset entropy coder state and thus do not need to wait for the previous
    frame. As an example, consider a decoder process with 2 frame threads -
    thread 0 with its context 0, and thread 1 with context 1 - decoding a
    previous frame P, current frame F, followed by a keyframe K. Then
    consider concurrent execution consistent with the following sequence of
    events :
    * thread 0 starts decoding P
    * thread 0 reads P's slice header, then calls
    ff_thread_finish_setup() allowing next frame thread to start
    * main thread calls update_thread_context() to transfer state from
    context 0 to context 1 ; context 1 stores a pointer to context 0's private
    data
    * thread 1 starts decoding F
    * thread 1 reads F's slice header, then calls
    ff_thread_finish_setup() allowing the next frame thread to start
    decoding
    * thread 0 finishes decoding P
    * thread 0 starts decoding K ; since K is a keyframe, it does not
    wait for F and reallocates the arrays holding entropy coder state
    * thread 0 finishes decoding K
    * thread 1 reads entropy coder state from its stored pointer to context
    0, however it finds state from K rather than from P

    This execution is currently prevented by special-casing FFV1 in the
    generic frame threading code, however that is supremely ugly. It also
    involves unnecessary copies of the state arrays, when in fact they can
    only be used by one thread at a time.

    This commit addresses these deficiencies by changing the array of
    PlaneContext (each of which contains the allocated state arrays)
    embedded in FFV1SliceContext into a RefStruct object. This object can
    then be propagated across frame threads in standard manner. Since the
    code structure guarantees only one thread accesses it at a time, no
    copies are necessary. It is also re-created for keyframes, solving the
    above issue cleanly.

    Special-casing of FFV1 in the generic frame threading code will be
    removed in a later commit.

    (¹) except in the case of a damaged slice, when previous frame's pixels
    are used directly

    • [DH] libavcodec/ffv1.c
    • [DH] libavcodec/ffv1.h
    • [DH] libavcodec/ffv1dec.c
  • avformat/framecrcenc : List types and checksums for for side data

    17 mai, par Michael Niedermayer
    avformat/framecrcenc : List types and checksums for for side data
    

    This allows detecting changes and regressions in side data related code, same as what
    framecrc does for before already for packet data itself.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/framecrcenc.c
    • [DH] tests/ref/fate/autorotate
    • [DH] tests/ref/fate/cover-art-mp3-id3v2-remux
    • [DH] tests/ref/fate/ffmpeg-bsf-input
    • [DH] tests/ref/fate/ffmpeg-spec-disposition
    • [DH] tests/ref/fate/force_key_frames-source
    • [DH] tests/ref/fate/force_key_frames-source-drop
    • [DH] tests/ref/fate/force_key_frames-source-dup
    • [DH] tests/ref/fate/gapless-mp3
    • [DH] tests/ref/fate/h264_redundant_pps-side_data
    • [DH] tests/ref/fate/id3v2-priv-remux
    • [DH] tests/ref/fate/matroska-hdr10-plus-remux
    • [DH] tests/ref/fate/matroska-ogg-opus-remux
    • [DH] tests/ref/fate/matroska-opus-remux
    • [DH] tests/ref/fate/matroska-vp8-alpha-remux
    • [DH] tests/ref/fate/mov-cover-image
    • [DH] tests/ref/fate/segment-mp4-to-ts
    • [DH] tests/ref/fate/shortest
    • [DH] tests/ref/fate/webm-hdr10-plus-remux
    • [DH] tests/ref/fate/webm-webvtt-remux