Recherche avancée

Médias (91)

Autres articles (73)

  • 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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • doc/general : update after recent additions

    25 octobre 2015, par Paul B Mahol
    doc/general : update after recent additions
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] doc/general.texi
    • [DH] libavformat/vag.c
  • Creating a convertAll() function that converts all .filetype in working directory

    5 janvier 2019, par Risviltsov

    I seem to not know proper bash syntax ; despite this, I’ve tried to create a tool that changes the dimensions of all files of a ffmpeg-accepted filetype in the working directory and converts it to another ffmpeg-accepted filetype. In this instance, this tool converts all .webm files over 1080x720 into 1080x-1 or -1x720 .mp4 files. If the .webm file is under 1080x720, the new .mp4 file will have the same dimensions.

    However, there’s a wrench in the tool.

    convertAll () {
    local wantedWidth = 1080
    local wantedHeight = 720
    for i in *.webm; do
    local newWidth = $i.width
    local newHeight = $i.height
    until [$newWidth &lt;= $wantedWidth &amp;&amp; $newHeight &lt;= $wantedHeight]; do
    if [$videoWidth > $wantedWidth]; then
    newHeight = $newWidth*($wantedWidth/$newWidth)
    newWidth = $newWidth*($wantedWidth/$newWidth)
    fi
    if [$videoHeight > $wantedHeight]; then
    newWidth = $newWidth*($wantedHeight/$newHeight)
    newHeight = $newHeight*($wantedHeight/$newHeight)
    fi
    done
    ffmpeg -i "$i" -vf scale=$newWidth:$newHeight "${i%.*}.mp4";
    done
    echo "All files have been converted."
    }

    What this returns is a bunch of lines that look like this :

    bash: [: missing ']'
    bash: [: missing ']'
    bash: =: No such file or directory

    My best guess is that BASH can’t do mathematics, and that I’m declaring and editing my variables incorrectly.

    I’d like some input on this --- my lack of experience is really getting me here.

  • doc/general : move contents into a separate file.

    22 août 2020, par Nicolas George
    doc/general : move contents into a separate file.
    

    It will allow to include it.

    • [DH] doc/general.texi
    • [DH] doc/general_contents.texi