Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (19)

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

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

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

  • Hello I want to create a video from text using ffmpeg in my php script but i am not getting it

    28 décembre 2017, par Femzy

    I have been trying to solve this problem for a while now, but i have not got it through please someone should help me..
    My main objective is to collect user’n inputs and convert it to a video with black background, then the input text will be moving from left to right while the video is playing with audio in the background. Currently i was suggested to use "drawtext" but i have not find it working
    This is the code I use just to test the drawtext but the thing is, if i try it 10 times it will create a video file ones in many times i tried and even the video file would have 0 kb in size
    The Below code is my code

    echo shell_exec('ffmpeg -f lavfi -i testsrc=duration=5:size=800x600:rate=30 -vf drawtext="fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf:textfile=text.txt: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1" -preset ultrafast outex.mp4');
  • macOS terminal bug "can't see typed characters" after execution ffmpeg coommand inside shell script

    29 décembre 2017, par kostya572

    I execute from Terminal :

    sh 1.sh

    1.sh contents :

    #!/bin/bash
    S1=$(ffmpeg -i correct.wav -af silencedetect=noise=-50dB:d=0.1 -f null -  2>&1 | grep silence_duration -m 1 | awk '{print $NF}')
    echo $S1

    After execution I can’t see any typed characters in macOS Terminal. Only invisible typing reset helps to solve the problem, but all previous output clears.

    How can I modify the code to solve this bug ? I guess the problem somewhere in 2>&1.

    Bug screenshot if press enter several times after script execution :
    bug if press enter several times after script execution

  • Cannot repeat ffmpeg commnad in one bash script

    3 janvier 2018, par Idigest

    I have this simple bash script for ffmpeg conversion. If there is only one call for ffmpeg, script works well. If there are 2 or more calls, only the last call for ffmpeg is successfull. For previous calls there is the error : unable to find suitable output format for /var/.../.../.jpg : Invalid argumentlic_html. It seems to me it is needed to call ffmpeg by different way. Any idea ?

    #!/bin/bas
    ffmpeg -y -i "http://xx/22.m3u8" -qscale:v 2 -vframes 1 -vf "drawtext=fontfile=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: text='%{localtime}': fontsize=20: fontcolor=white@0.9: x=20: y=20: box=1: boxcolor=red@0.2" /var/xxx/22.jpg
    ffmpeg -y -i "http://xx/23.m3u8" -qscale:v 2 -vframes 1 -vf "drawtext=fontfile=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: text='%{localtime}': fontsize=20: fontcolor=white@0.9: x=20: y=20: box=1: boxcolor=red@0.2" /var/xxx/23.jpg