Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (106)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (10906)

  • avconv : do not overwrite the stream codec context for streamcopy

    2 avril 2015, par Anton Khirnov
    avconv : do not overwrite the stream codec context for streamcopy
    

    Since we are not doing encoding, there is no point in ever touching the
    separate encoding context. Always use the stream codec context.

    Fixes writing attachments.

    CC:libav-devel@libav.org

    • [DBH] avconv.c
  • avcodec/mpegvideo_dec : Don't zero context on init failure

    1er octobre 2023, par Andreas Rheinhardt
    avcodec/mpegvideo_dec : Don't zero context on init failure
    

    Up until now, ff_mpeg_update_thread_context() zeroes
    the context to initialize on initialization failure.
    This has been added in e1d7d4bd13cdd8856a3611d1ea387ac733a7aebf.

    Just as now, ff_mpeg_update_thread_context() simply
    copied the src MpegEncContext over the dst MpegEncContext
    to initialize it, but clear_context() was only added in
    b160fc290cf49b516c5b6ee0730fd9da7fc623b1, so that cleaning up
    on init failure was a minefield if performed.

    It was not always performed, namely not before the first
    allocation needed to be freed. In the fuzzer sample that
    led to e1d7d4bd13cdd8856a3611d1ea387ac733a7aebf, the call
    to av_image_check_size() failed and before said commit,
    the context contained lots of pointers from the src context,
    leading to assert violations lateron.

    Of course, the proper fix for this is resetting the pointers
    (or even better, not copying them in the first place), so
    this zeroing is unnecessary since commit
    b160fc290cf49b516c5b6ee0730fd9da7fc623b1. It is also harmful,
    because it makes initializing something only once during init
    more complicated ; See the h264chroma handling in the diff
    for an example. Therefore it is removed.

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

    • [DH] libavcodec/mpegvideo_dec.c
  • mpegts : pass MpegTSContext ptr explicitly

    8 juillet 2014, par Alexander V. Lukyanov
    mpegts : pass MpegTSContext ptr explicitly
    

    AVFormatContext->priv_data is not always a MpegTSContext, it can be
    RTSPState when decoding a RTP stream. So it is necessary to pass
    MpegTSContext pointer explicitly.

    Within libav, the write_section_data function doesn’t actually use
    the MpegTSContext at all, so this doesn’t change anything at the
    moment (no memory was corrupted before), but it reduces the risk of
    anybody trying to touch the MpegTSContext via AVFormatContext->priv_data
    in the future.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/mpegts.c