Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (61)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (8375)

  • FFmpeg : Removing black outline on overlay after alphamerge

    9 novembre 2023, par trmd

    Similar question : FFmpeg transparent PNG black outline issue

    


    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.

    


    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.

    


    Filter used which generates black outlines :

    


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


    


    Filter used which removes outlines, but also cropping :

    


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


    


    Command used :

    


    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;

  • 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
  • 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