Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (37)

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

  • Révision 18907 : Script js qui n’est pas utilisé par le core ...

    10 janvier 2012, par kent1 -

    Il est externalisé et amélioré depuis un bout de temps dans le plugin idoine : http://www.spip-contrib.net/Multilang-en-test

  • Bash script not working with ffmpeg + images

    30 mars 2017, par user1816546

    I created a bash file with the name "run.sh" with the following instructions :

    ffmpeg -i texture/texture%03d.bmp -vf "scale='min(1920,iw)':min'(1080,ih)':force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" pad_texture/pad_texture%03d.bmp
    ffmpeg -i depth/depth%03d.bmp -vf "scale='min(1920,iw)':min'(1080,ih)':force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" ../pad_depth/pad_depth%03d.bmp

    However, when I run my bash file I get the following error :

    Input #0, image2, from 'texture/texture%03d.bmp':
     Duration: 00:00:20.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: bmp, bgr24, 1024x768, 25 fps, 25 tbr, 25 tbn, 25 tbc
    [NULL @ 0x1defec0] Unable to find a suitable output format for 'pad_texture/pad_'exture%03d.bmp
    : Invalid argumentxture%03d.bmp

    I cannot understand why when I copy and paste the commands line by line into the command prompt, they are accepted, but in a bash script they are not. Any feedback is greatly appreciated !

  • Converting .mp3 to wav in python script

    25 décembre 2016, par DhruvArora

    I am trying to create spectograms of audio files for a speech recognition project. For the same, I am using a command line tool called ffmpeg to convert mp3 to wav. I am using the os.system() command in my python script but it does not work. The same command works perfectly fine on the terminal. What can be the possible issue ?

    PS : I have also tried the subprocess package and ffmpeg is in my $PATH.

    Traceback (most recent call last):
    File "/Users/dhruvarora/Documents/test.py", line 7, in <module>
      subprocess.call(['ffmpeg','-i','./Users/dhruvarora/Documents/0a0p10uya0h.mp3','tmpsue1234.wav'])
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 523, in call
      return Popen(*popenargs, **kwargs).wait()
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
      errread, errwrite)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1343, in _execute_child
      raise child_exception
    OSError: [Errno 2] No such file or directory
    </module>