Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (38)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

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

  • Hide subprocess output and store it in a variable in Python [duplicate]

    6 juillet 2022, par Dev01

    I would like to call a FFmpeg command, which produces a very big output.

    


    I need to store the output in order to make a regex on it.

    


    On the first command (echo), nothing is printed in my terminal, but for the ffmpeg command, huge output is produced (which I want to store in a variable, I don't want to have the output in my terminal)

    


    So my code looks like this for example :

    


    import subprocess
output = subprocess.check_output("echo a lot of wooooords")
output = subprocess.check_output("ffmpeg -i audio.mp3 -f null -", shell=True)


    


    Is it possible to hide the output for this command ? Why does it show me an output ? Thank you

    


  • How to permanently make ffmpeg recognizable from bin/bash in macOS

    10 avril 2022, par Anonymous

    I downloaded a zip for ffmpeg, because brew installation was not compatible with macOS High Sierra 10.13.6. After unzipping, the only file contained was ffmpeg, its icon is similar to the icon of the terminal. I want to get the terminal(which runs bin/bash $SHELL) to permanently recognise ffmpeg command.

    


    If I type :

    


      

    1. echo export PATH="/Users/imac/Documents/ffmpeg:$PATH" > ~/.bashrc
    2. 


    3. source ~/.bashrc
    4. 


    5. ffmpeg
then the command ffmpeg is recognized, so everything is ok.
    6. 


    


    However if I exit the terminal and re-open it, or just restart the computer
ffmpeg gives as output -bash: ffmpeg: command not found. So I have to do every time steps 1 and 2 that were describe above.

    


      

    1. Output of cat .bashrc :
export PATH=/Users/imac/Documents/ffmpeg:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin

      


    2. 


    3. Output of echo $PATH :
/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin

      


    4. 


    


    Note that in step 4 ffmpeg appears(in the location I have it stored) whereas in step 5 ffmpeg is absent. Also I have little knowledge of bash and terminal, so if you can, please be explanatory in answers and/or comments. Thank you very much !

    


  • doc : delete viterbi.txt

    10 novembre 2013, par Timothy Gu
    doc : delete viterbi.txt
    

    The description has been moved to the FFmpeg wiki :
    https://trac.ffmpeg.org/wiki/ViterbiAlgorithm

    Signed-off-by : Timothy Gu <timothygu99@gmail.com>

    • [DH] doc/viterbi.txt