Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (94)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (9782)

  • How can I close all the threads and multiprocesses in a Tkinter app when the app closes ?

    3 septembre 2021, par kup

    I am creating a Tkinter application which starts a multiprocess.process (daeman = True) and then that process further starts a couple of threads and that thread further starts an FFmpeg process.

    


    for i, val in enumerate(group):
    threads.append(Thread(target = self.ffmpeg, args=(val, )))
    threads[i].start()


    


    But when I close the application the process does not stop. I can still see the log in the terminal after I close the application.

    


    I just want them to close when application shuts down.

    


    I also tried :

    


    sys.exit()


    


  • RuntimeError : No MovieWriters available in Matplotlib animation

    24 mai 2020, par user8715977

    The problem I am getting is in code similar to this example : 
https://matplotlib.org/examples/animation/basic_example_writer.html

    



    The error :

    



    RuntimeError : No MovieWriters available occurs at Writer = animation.writers['ffmpeg'] in the example above.

    



    I am using mac, I have installed ffmpeg using brew, and even installed it with conda even though I am not using anaconda for this particular code.

    



    I am positive that it is installed - I have used it in terminal to change files but it is not working within the program.

    



    Thanks !

    


  • Install ffmpeg with applescript

    2 février 2020, par andy stumpf

    I’m trying to create an applescript that installs ffmpeg. I have two issues.

    • I want to install Xcode, homebrew, ffmpeg, node, grant permissions, and ffmpeg-progressbar-cli one at a time. Not all at once but in that order. ffmpeg is dependant on xcode so it needs to wait before xcode is done installing.
    • The command for homebrew requires " which applescript makes me change to a ' before I can run it but in this case it doesn’t work.

    Here is the script I have so far.

    tell application "Terminal"
       do script "xcode-select --install && ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew install ffmpeg && brew install node && sudo chown -R $(whoami) /usr/local/bin /usr/local/etc && npm install --global ffmpeg-progressbar-cli"
       activate
    end tell

    I tried this and it doesn’t seem to work as intended.

    tell application "Terminal"
           do script "sudo chown -R $(whoami) /usr/local/bin /usr/local/etc && xcode-select --install"
           display dialog "Select OK once Xcode has installed" buttons {"OK"} default button 1
           do script "ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)""
           display dialog "Select OK once Homebrew has installed" buttons {"OK"} default button 1
           do script "brew install ffmpeg"
           display dialog "Select OK once ffmpeg has installed" buttons {"OK"} default button 1
           do script "brew install node"
           display dialog "Select OK once node has installed" buttons {"OK"} default button 1
           do script "npm install --global ffmpeg-progressbar-cli"
           display dialog "Select OK once ffmpeg-bar has installed" buttons {"OK"} default button 1
           activate
       end tell

    For the second issue it needs to be

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    but applescript makes me change it to

    ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'

    with single quote which doesn’t work.

    Help and suggestions apreciated !