Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (31)

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

  • ffmpeg batch script image+audio fix

    18 décembre 2016, par Andrew11

    Found here on stackoverflow but cannot get it work. What names i must give to sound files ? ffmpeg batch script that combines multiple audio clips with one image > mp4

    @echo off
    for %%F in (*.mp3) do (
     ffmpeg -loop 1 -i "default.jpg" -i "%%~nxF" -acodec libvo_aacenc -vcodec mpeg4 -shortest "%%~nF.mp4"
    )
  • ffmpeg bash script to generate thumbnails for all videos in a folder

    17 novembre 2017, par smokeyone

    I found this bash script via google and would like to modify it slightly to generate jpg thumbnails from a desktop folder call indie. All my mts files are named by their exact time taken and ffmpeg is installed.

    This is the original script :

    for f in *.mov; do
       ffmpeg -y -i "$f" -f image2 -ss 10 -vframes 1 -an "${f%.mov}.jpg";
    done

    I changed it to this :

    for f in Desktop/indie/*.mts; do
       ffmpeg -y -i "$f" -f image2 -ss 10 -vframes 1 -an "${f%.mts}.jpg";
    done

    I am hoping someone can tell me where I have gone wrong (my terminal output just says no such file).

    Thanks

  • Restarting bash script with ffmpeg

    20 mars 2020, par khaled.priam

    I have two bash scripts. One of them searching scripts in another folder and run all of them.
    Scripts from folder have ffmpeg command. After some time my ffmpeg command interrupt ( I don’t know why). So I would like to restart script with ffmpeg, I try something like this, but doesn’t work (working only when i use ctrl +c shortcut in console :

    main scripts :

    #!/bin/bash
    for f in ffmpegs/*
    do
       echo "$f"
       xterm -hold -e bash -c $f &
       sleep 5
    done

    example of script from ffmpegs folder :

    #!/bin/bash
    cmd="ffmpeg -re -thread_queue_size 12000 -i http://www.noname.com:6565/17128 -c:v libx264 -preset veryfast -maxrate 700k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv rtmp://testsite.com/test/stream"
    until $cmd ; do
           echo "no working, trying restart"
           sleep 2
    done