
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (105)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)
Sur d’autres sites (10884)
-
Invalid data found when processing input when using ffpmeg
19 février 2023, par user12027978I 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


-
Install ffmpeg with applescript
2 février 2020, par andy stumpfI’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 tellI 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 tellFor 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 !
-
RuntimeError : No MovieWriters available in Matplotlib animation
24 mai 2020, par user8715977The 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 !