Advanced search

Medias (91)

Other articles (66)

  • La sauvegarde automatique de canaux SPIP

    1 April 2010, by

    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 April 2011, by

    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 April 2011, by

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

On other websites (4854)

  • Powershell script for youtube-dl

    29 May 2022, by Ricardo

    I'm trying to write a script to simplify input of variables to youtube-dl.

    


    Here is my ffmpeg command (replace items in brackets):

    


    ./ffmpeg -ss ['starting time', ex: 05:49] -i $(./youtube-dl -f 22 --get-url ['video youtube url']) -t ['clip duration in seconds'] -c:v copy -c:a copy ['file result name'].mp4


    


    Here is my PowerShell command:

    


    cls

$url = Read-Host -Prompt "Enter the Youtube Video URL"

$start = Read-Host -Prompt "Enter the video start time (H:MM:SS)"

$end = Read-Host -Prompt "Enter the clip duration in seconds"

$name = Read-Host -Prompt "Enter the video name"

./ffmpeg -ss $start -i $(./youtube-dl -f 22 --get-url $url) -t $end -c:v copy -c:a copy $name.mp4



    


    And this is the result I receive from Powershell:

    


    Powershell screenshot

    


  • Check if a rtmp-stream is running and start ffmpeg with PHP / Shell-Script / Ruby

    24 March 2014, by funkdoobiest

    I'm using ffmpeg to transcode a rtmp-stream and re-stream it with ffmpeg.

    I have 2 problems:

    • how can I check if the remote rtmp-stream is running and then start ffmpeg
    • sometimes ffmpeg brake up transcoding and it must be restartet automatically

    Any hints to do this with a shell-script, ruby or php?

  • Révision 17665: report de r17662 + meilleur controle de la variable script

    6 April 2011, by Fil Up