Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (32)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (4293)

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

  • How to round a square image and put it on video

    27 juillet 2022, par Erez git

    I've a video, videoPath.&#xA;I've a square image, squarePath.

    &#xA;

    This code places the squarePath on the video at a desired position to output, outputVideo.

    &#xA;

    final String[] cmd = new String[]{"-i", videoPath, "-i", squarePath, "-filter_complex", "[1:v][0:v]scale2ref=(300/300)*175:175[wm][base];[base][wm]overlay=(main_w-overlay_w)/2:(343)", "-pix_fmt", "yuv420p", "-c:a", "copy", "-y", outputVideo};&#xA;&#xA;int res = FFmpeg.execute(cmd);&#xA;

    &#xA;

    I would like to round the squarePath in the same command. Is it possible ?

    &#xA;

    This is the code to make it rounded as I found :

    &#xA;

    ffmpeg -i avatar.png -i mask.png -filter_complex [0]scale=400:400[ava];[1]alphaextract[alfa];[ava][alfa]alphamerge output.png&#xA;

    &#xA;

    but I don't understand how to merge these two commands.

    &#xA;