Recherche avancée

Médias (91)

Autres articles (67)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (10307)

  • 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 !