Recherche avancée

Médias (91)

Autres articles (112)

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

  • avformat/asfdec_o : Don't segfault with lots of attached pics

    12 novembre 2020, par Andreas Rheinhardt
    avformat/asfdec_o : Don't segfault with lots of attached pics
    

    The ASF file format has a limit of 127 streams and the "asf_o" demuxer
    (the ASF demuxer from Libav) has an array of pointers for a structure
    called ASFStream that is allocated on demand for every stream. Attached
    pictures are not streams in the sense of the ASF specification, yet the
    demuxer created an ASFStream for them ; and in one codepath it also
    forgot to check whether the array of ASFStreams is already full. The
    result is a write beyond the end of the array and a segfault lateron.

    Fixing this is easy : Don't create ASFStreams for attached picture
    streams.

    (Other results of the current state of affairs are unnecessary allocations
    (of ASFStreams structures), the misparsing of valid files (there might not
    be enough ASFStreams left for the valid streams if attached pictures take
    up too many) ; furthermore, the ASFStreams created for attached pictures all
    have the stream number 0, an invalid stream number (the valid range is
    1-127). This means that invalid data (packets for a stream with stream
    number 0) won't get rejected lateron.)

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

    • [DH] libavformat/asfdec_o.c
  • avcodec/mpeg12dec : Don't adapt (last|next)_pic.linesize for field pics

    23 juin 2024, par Andreas Rheinhardt
    avcodec/mpeg12dec : Don't adapt (last|next)_pic.linesize for field pics
    

    These values are not read anywhere. Furthermore, since commit
    fe6037fd04db8837dcdb9013f9c4ad4e7eb0592e the linesize values
    of the MPVWorkPictures were wrong for subsequent fields
    in a chain of B-pictures (as they are always doubled and no longer
    based upon the frame-linesizes) which can eventually lead to overflow.

    Finally, it makes no real sense to ever double the linesize
    of the reference pictures at all : Even when the current picture
    is a field, it can still reference both fields of reference
    pictures and therefore the linesize should allow to address
    both fields (for the same reason, data is not offset for
    reference pictures).

    libavcodec/mpeg12dec.c:1304:41 : runtime error : signed integer overflow : 4611686018427387904 * 2 cannot be represented in type 'long'

    issue : 69732/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEGVIDEO_fuzzer-5123551179374592

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/mpeg12dec.c
  • ffmpeg.concat too slow when trying to merge video and audio file

    9 août 2021, par Geo

    I've been merging video and audio files with FFmpeg successfully but it's really slow. But I wanted to know if there's any way to speed this up, I'm really new to this module and I don't understand most stuff about it and how it works

    &#xA;

    here's an example code :

    &#xA;

    import ffmpeg&#xA;&#xA;&#xA;video = ffmpeg.input( &#x27;C:/Users/geo/Downloads/video.mp4&#x27;)&#xA;audio = ffmpeg.input (&#x27;C:/Users/geo/Downloads/audio.mp4&#x27;)&#xA;&#xA;&#xA;ffmpeg.concat(video, audio, v = 1, a = 1).output(&#x27;C:/Users/geo/Downloads/merged.mp4&#x27;).run()&#xA;

    &#xA;

    thanks in advance

    &#xA;