
Recherche avancée
Autres articles (64)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5280)
-
FFmpeg CPU utilization
9 août 2013, par user2565986I have a server running Scientific Linux. I'm trying to convert a large amount of videos and want to maximize cpu usage. My ffmpeg version is git-2013-08-06-a68b6ec.
FFmpeg command :
ffmpeg -y -i "$i" -c:v libx264 -preset fast -b:v "$VID_BIT" -threads 0 -c:a libfdk_aac -b:a "$AUD_BIT" -f mp4 /"$OUT_DIR"/"$MD5"
top output :
top - 10:47:25 up 3 days, 22:05, 5 users, load average: 1.94, 0.49, 0.16
Tasks: 578 total, 1 running, 574 sleeping, 3 stopped, 0 zombie
Cpu0 : 0.0%us, 0.6%sy, 63.2%ni, 36.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1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.6%ni, 54.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu17 : 0.0%us, 0.3%sy, 43.3%ni, 56.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu18 : 0.0%us, 0.3%sy, 41.6%ni, 58.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu19 : 0.0%us, 0.3%sy, 34.3%ni, 65.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu20 : 0.0%us, 0.6%sy, 32.5%ni, 66.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu21 : 0.0%us, 0.3%sy, 37.9%ni, 61.4%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu22 : 0.0%us, 0.3%sy, 36.9%ni, 62.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu23 : 0.0%us, 1.0%sy, 37.6%ni, 61.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 198345032k total, 10135568k used, 188209464k free, 144212k buffers
Swap: 55640056k total, 0k used, 55640056k free, 5066724k cachedI'm not sure why user usage is at 0% and the niced usage is all I see, but either way I'm looking for a way to get the usage up to 100%. Is there anyway to bolster the usage or is this the best I'm gonna get ?
-
ffmpeg mp4->mp3 conversion 'no such file'
10 juin 2016, par Thomas R.I’m using ffmpeg to convert mp4’s to mp3’s, about 124 videos total, and I’m using python to iterate through the files they’re in and executing a version of
ffmpeg -i pathtovideo/video.mp4 pathtoaudio/audio.mp3
to convert them.When I use this command on its own in terminal, it converts just fine, but calling from the python script (using os) it says
pathtoaudio/audio.mp3: No such file or directory
but of course there isn’t, I’m asking the computer to generate this file. Any ideas for what might be going wrong or how to fix ? -
ffmpeg mp4 to mp3 conversion error 'no such file'
11 juin 2016, par Thomas R.I’m using ffmpeg to convert mp4’s to mp3’s, about 124 videos total, and I’m using python to iterate through the files they’re in and executing a version of
ffmpeg -i pathtovideo/video.mp4 pathtoaudio/audio.mp3
to convert them.When I use this command on its own in terminal, it converts just fine, but calling from the python script (using os) it says
pathtoaudio/audio.mp3: No such file or directory
but of course there isn’t, I’m asking the computer to generate this file. Any ideas for what might be going wrong or how to fix ?