Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11872)

  • Library not loaded error , when I trying to use ffmpeg

    31 octobre 2019, par bruno

    after update my mac to high sierra, I can’t use ffmpeg

    $ ffmpeg

    dyld : Library not loaded : /opt/local/lib/libidn2.0.dylib

    Referenced from : /opt/local/lib/libgnutls.30.dylib

    Reason : image not found

    Abort trap : 6

    Any help is much appreciated !

    Bruno

  • Trying to crop an image in ffmpeg using alphamerge but produces wrong alpha

    12 septembre 2021, par Alex Styl

    I am using alphamerge in order to crop an image within a circle.

    


    What I have so far is :

    


    ffmpeg -f lavfi -i "color=c=white:size=240x240" -i avatar.png -i mask.png -filter_complex \
 "[1][2]alphamerge[img]; \
 [0][img]overlay[out]" -c:v png -map "[out]" -pix_fmt rgba -t 5 -y out.mp4 2>&1


    


    with avatar.png and mask.png respectively being :

    


    avatar mask

    


    This produces the following output (1 frame of the output video) :

    


    enter image description here

    


    which is unexpected, given the original input is much darker than this.

    


    How can I crop the 'avatar.png' using the 'mask.png' so that the output is the avatar.png cropped in a circle and keeping the same alpha ?

    


    PS : The important bit here is for me to be able to crop the original image and maintaining the correct colors/apha of the original image. If there is an other way of doing this (other than alphamerge) I am happy to hear it.

    


  • flac : Fix channel order for mono files.

    28 juin 2014, par Erik de Castro Lopo
    flac : Fix channel order for mono files.
    

    * The default channel mask for mono files was 0x0001 (front left) but it
    makes more sense to use 0x0004 (front center) for such files.

    * Also FLAC will accept not only mono WAV files with 0x0001 mask, but also
    with 0x0002 (requested at https://sourceforge.net/p/flac/bugs/390/)
    and 0x0004 (e.g. SoX creates mono files with this mask).

    * The comment about channel support was updated.

    * The error message
    "Use —channel-map=none option to store channels in current order ; FLAC files
    must also be decoded with —channel-map=none to restore correct order."
    is misleading : FLAC never changes the order of channels.
    Decoding with this options also sets the channel mask of the resulting WAV
    file to 0. Without this option the mask is equal to the value of
    WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag.

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/flac/decode.c
    • [DH] src/flac/encode.c