Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (29)

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

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

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

  • bash script for ffmpeg conversion does not loop

    12 septembre 2015, par Alex Monthy

    I have this bash script for a batch conversion of some mp4 files :

    #!/bin/bash
    ls dr*.mp4 | grep -v -E "\.[^\.]+\." | sed "s/.mp4//g" | while read f
    do
       TARGET="$f.ffmpeg.mp4"
       if ! [ -f $TARGET ]
       then
           echo $TARGET
           ffmpeg  -nostdin -i $f.mp4 -s 320x180 -vc h264 -acodec copy -f mp4 -y $TARGET
       fi

       TARGET="$f.ffmpeg.flv"
       if ! [ -f $TARGET ]
       then
           echo $TARGET
           ffmpeg  -nostdin -i $f.mp4 -s 320x180 -acodec copy -y $TARGET
       fi

       TARGET="$f.jpg"
       if ! [ -f $TARGET ]
       then
           echo $TARGET
           ffmpeg -nostdin -i $f.ffmpeg.mp4 -ss 0 -vframes 1 -f image2 $TARGET
       fi

       TARGET="$f.ffmpeg.ogv"
       if ! [ -f $TARGET ]
       then
           echo $TARGET
           ffmpeg  -nostdin -i $f.mp4 -s 320x176 -ar 11025 -acodec libvorbis -y $TARGET
       fi
    done

    It runs once but does and converts the input file name to 4 different formats, but does not loop to the next input file name.
    I tried to shuffle the order of the various conversions, but still the script runs exactly once for one file name.
    I tried to run ffmpeg with the -nostdin flag, but it says

    "Unrecognized option 'nostdin'"

    The ffmpeg version is ffmpeg version 0.10.6-6:0.10.6-0ubuntu0jon1 lucid2 - I just update the ffmpeg package from http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu and cannot find an newer version. The base system is

    Distributor ID: Ubuntu
    Description:    Ubuntu 10.04.1 LTS
    Release:        10.04
    Codename:       lucid
  • FFmpeg - Writing a script to define fontcolor of each word in a text file ?

    1er mars 2019, par distro.obs

    I have a text file with a lot of word separated by newline character like this

    apple
    banana
    strawberry

    And I have a list of colors I want those word to appear in

    0xFF0000
    0xFFFF33
    0xFF0045

    Also I’m using command like this

    x=:'lte(t,10.99)*0+between(t,11,42.99)*10+between(t,43,643.99)*20+gte(t,644)*30':y='lte(t,10.99)*0+between(t,11,42.99)*10+between(t,43,643.99)*20+gte(t,644)*30'

    to move those words around.

    Is it possible to somehow script ffmpeg to color those words and also move them all in one command ?

  • tools : add a script to find missing codec descriptors.

    13 août 2012, par Nicolas George

    tools : add a script to find missing codec descriptors.