Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (48)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (6789)

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

  • Invalid data found when processing input when using ffpmeg

    19 février 2023, par user12027978

    I want to convert an mp3 audio to an mp4 video with a cover.And i wrote this line of code in terminal.
ffmpeg -loop 1 -i black.jpg -i sound.wav -c:v libx264 -c:a aac -b:a 192k -shortest anhao.mp4
but got this error,enter image description here.I'm new to ffmpeg, and the code is copied from Internet, I really don't konw how to edit it.

    


    i expect converting mp3 to mp4 with an exact picture showing all the time
black.jpg is as follows
enter image description here