Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (42)

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

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4022)

  • swresample/rematrix : handle 22.2 as a 9 channel layout

    6 août 2020, par Jan Ekström
    swresample/rematrix : handle 22.2 as a 9 channel layout
    

    This is as far as 22.2 follows the same channel order as
    WaveFormatExtensible's channel mask (and the AV_CH_* defines).

    After LFE2 the side channels would follow, but that offset of
    one stops us from utilizing them without further tweaks.

    This change was verified by using swresample to downmix to 5.1,
    and then feeding that to WASAPI.

    • [DH] libswresample/rematrix.c
  • avcodec/opus : always use ambisonic layout for mapping family 2

    18 mars 2022, par James Almer
    avcodec/opus : always use ambisonic layout for mapping family 2
    

    No need to use a Custom layout when the non diegetic channels can be
    described as a standard mask.

    This fixes :

    45684/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBOPUS_fuzzer-5039410989629440

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/opus.c
  • FFmpeg : Removing black outline on overlay after alphamerge

    9 novembre 2023, par trmd

    Similar question : FFmpeg transparent PNG black outline issue

    &#xA;

    When using FFmpeg to create a GIF from an mp4, masking the video using alphamerge and a PNG-mask, and overlaying a circle outline, black lines occur on both the video and the circle in the final GIF.

    &#xA;

    From this question, some suggestions are made to add alpha=premultiplied and format=rgb,format=yuv420p in the overlay-filter. This removes the black line (on the circle), but the masking from alphamerge no longer works.

    &#xA;

    Filter used which generates black outlines :

    &#xA;

    [0][1]alphamerge[merged];&#xA;[merged][2:v]overlay=&#xA;    format=auto:&#xA;    alpha=premultiplied[withCircleOverlay];&#xA;[withCircleOverlay]scale=${size}x${size}[scaled];&#xA;[scaled]split[s0][s1];&#xA;[s0]palettegen=reserve_transparent=on:transparency_color=ffffff[p];&#xA;[s1][p]paletteuse&#xA;

    &#xA;

    Filter used which removes outlines, but also cropping :

    &#xA;

    [0][1]alphamerge[merged];&#xA;[merged][2:v]overlay=&#xA;    alpha=premultiplied:&#xA;    format=rgb,format=yuv420p[withCircleOverlay];&#xA;[withCircleOverlay]scale=${size}x${size}[scaled];&#xA;[scaled]split[s0][s1];&#xA;[s0]palettegen=reserve_transparent=on:transparency_color=ffffff[p];&#xA;[s1][p]paletteuse&#xA;

    &#xA;

    Command used :

    &#xA;

    ffmpeg -i movie.mp4 -i mask.png -i circle.png -filter_complex <filter> output.gif&#xA;</filter>

    &#xA;

    What I've tried :

    &#xA;

      &#xA;
    • Changing the format-parameter on overlay to a lot of different values.
    • &#xA;

    • Changing the order of the filters.
    • &#xA;

    • Playing around with running multiple ffmpeg-passes : First doing the merging, saving this to a file, and then adding the circle afterwards. I think this in principle should work if I tinker with it enough.
    • &#xA;

    &#xA;

    Are there any ways to get around this issue ?

    &#xA;

    Image with black outlines

    &#xA;

    Image with black outline

    &#xA;

    Image without outline, but also without alphamerge cropping

    &#xA;

    Image without outline, but also without alphamerge cropping

    &#xA;