Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (47)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4075)

  • All : Format HTML as per jQuery style guide

    6 mai 2014, par nschonni
    All : Format HTML as per jQuery style guide
    

    Fixes #1101
    Closes #1104

  • lavf : Add an option for avoiding negative timestamps

    26 septembre 2012, par Michael Niedermayer
    lavf : Add an option for avoiding negative timestamps
    

    This is the same logic as is invoked on AVFMT_TS_NEGATIVE,
    but which can be enabled manually, or can be enabled
    in muxers which only need it in certain conditions.

    Also allow using the same mechanism to force streams to start
    at 0.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] doc/APIchanges
    • [DBH] libavformat/avformat.h
    • [DBH] libavformat/mux.c
    • [DBH] libavformat/options_table.h
    • [DBH] libavformat/version.h
  • FFmpeg - add an animated gif (cropped by mask) to the video

    11 mars 2021, par zeromodule

    I have 3 inputs :

    &#xA;

      &#xA;
    1. Video file : https://file.io/6jtUlnZ7TGmT
    2. &#xA;

    3. Animated GIF with transparent background https://i.imgur.com/Vo3KHZm.gif
    4. &#xA;

    5. Mask file (BW) the same resolution as the video https://i.imgur.com/YJXUUrZ.png
    6. &#xA;

    &#xA;

    I want to put the image on the video, but throw out all GIF pixels that are transparent in the mask (replace them with transparent ones).

    &#xA;

    Video
    &#xA;Mask
    &#xA;Image
    &#xA;Result

    &#xA;

    My current command, without masking (it works fine) :

    &#xA;

    ffmpeg -i input.mp4 -ignore_loop 0 -i animation.gif \&#xA;-filter_complex "[1]scale=700x700[scaled_gif];\&#xA;[0][scaled_gif]overlay=50:30:shortest=1" \&#xA;-codec:a copy output.mp4&#xA;

    &#xA;

    UPDATE #1

    &#xA;

    I managed to get closer to my goal with this command :

    &#xA;

    ffmpeg -y -i input.mp4 -loop 1 -i mask.png \ &#xA;-filter_complex "[1:v]alphaextract[mask]; \&#xA;movie=animation.gif,scale=1920x1080[scaled_gif]; \&#xA;[scaled_gif][mask]alphamerge[masked]; \&#xA;[0:v][masked]overlay=0:0" \&#xA;-c:a copy output_masked.mp4&#xA;

    &#xA;

    but it has 2 problems :

    &#xA;

      &#xA;
    1. GIF loses it's transparency. Transparent pixels become white.
    2. &#xA;

    3. GIF plays only once (i.e. no loop)
    4. &#xA;

    &#xA;

    Output : https://file.re/2021/03/11/outputmasked/

    &#xA;