Recherche avancée

Médias (91)

Autres articles (70)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Are the av_free* functions in ffmpeg idempotent ?

    19 mars 2014, par Dan Hook

    Specifically I'm looking at avformat_free_context. In normal execution of my code, avformat_free_context is called appropriately. I would also like to call it in the destructor of a class, in case there was an exceptional case that caused the code using the AVFormatContext to return early. Do the ffmpeg free functions behave appropriately when called on already freed data structures ?

  • mov : Disable advanced_editlist for fragmented MP4 input

    28 décembre 2022, par Derek Buitenhuis
    mov : Disable advanced_editlist for fragmented MP4 input
    

    Advanced edit list support is entirely broken for fragmented MP4s,
    currently. mov_fix_index is never run in mov_build_index, since
    in fragmented MP4s the stco, stsz, stts, and stsc boxes have zero
    entries, with the index being filled in as each fragment's trun
    box is seen.

    The result of this is that the skip samples is never set properly,
    since half the code thinks it doesn't need to, as advanced_editlist
    is enabled, but as mov_fix_index is never called, it doesnt get set.
    This means that any edits for e.g. priming are not properly applied
    as skip samples side data.

    This also means remuxing to fragmented MP4 from progressive MP4 with
    lavf will quietly drop the edit list, currently.

    Example :

    $ ffmpeg -loglevel quiet -advanced_editlist 1 -i non_fragmented.mp4 -f md5 -
    MD5=d02d929f8eb4edef624758a298d5f7c6
    $ ffmpeg -loglevel quiet -advanced_editlist 0 -i non_fragmented.mp4 -f md5 -
    MD5=d02d929f8eb4edef624758a298d5f7c6
    $ ffmpeg -loglevel quiet -advanced_editlist 1 -i fragmented.mp4 -f md5 -
    MD5=e38b110f586fa886ff94e0ca98a95d59 <— wrong, extra samples are output instead of being skipped
    $ ffmpeg -loglevel quiet -advanced_editlist 0 -i fragmented.mp4 -f md5 -
    MD5=d02d929f8eb4edef624758a298d5f7c6

    We cannot call mov_fix_index after reading a trun box
    since mov_fix_index seems to assume it is only called once, on a
    fully complete index, an multiple calls to it don't seem like
    they'd work, so the "best" option seems to be disabling advanced
    edit list support entirely for the time being, as it is broken
    for these types of files.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavformat/mov.c
  • avcodec/utils : split side-data in new decode API too

    28 avril 2016, par wm4
    avcodec/utils : split side-data in new decode API too
    

    The deprecated avcodec_decode_video2() and avcodec_decode_audio4()
    functions called av_packet_split_side_data() on the input packets. This
    is required for packets produced by libavformat with the
    AVFMT_FLAG_KEEP_SIDE_DATA flag unset (which is unfortunately the
    default).

    The new API didn’t do this yet, although it didn’t matter as no decoder
    supports the new API yet. The emulation layer for the old API calls the
    old API functions, which took care of the splitting. Add this code to
    the new API codec entrypoints too, because we shouldn’t send essentially
    corrupted data to decoders.

    • [DH] libavcodec/utils.c