
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 (91)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie 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 (...)
Sur d’autres sites (12199)
-
System.Diagnostics.Process program keeps on running
3 février 2016, par edotomI’m trying to convert some avi files into mkv using ffmpeg library from a commandline application. I made a method that allows me to do that :
public bool convertAvitoMkv(string path, string sourceName, string destName)
{
bool returncode = false;
try
{
string comando = string.Format("-i {0} -c:v libx264 -crf 19 -preset slow -c:a libfaac -b:a 192k -ac 2 {1}", string.Format("{0}\\{1}",path,sourceName), string.Format("{0}\\{1}",path,destName) + ".mkv");
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.FileName = "ffmpeg.exe";
startInfo.WorkingDirectory = programPath;
startInfo.CreateNoWindow = true;
startInfo.Arguments = comando;
process.StartInfo = startInfo;
process.Start();
while (!process.HasExited)
{
process.Kill();
//continue hasta que termine la ejecucion
}
returncode = process.HasExited;
}
catch (Exception ex)
{
}
return returncode;
}the previous version did not have the while (!process.HasExited), but I added it because I noticed that there were a lot of instances of ffmpeg.exe running that I had to close by hand. How can I guarantee that every conversión is made and that every instance of ffmpeg is closed ?
regards -
Getting return value of command inspite of sudo inside of php system
21 avril 2016, par nithintouI’ve been trying for a few days to get the return value of a script that performs an
ffmpeg
recording in the server using phpsystem()
:system("/usr/bin/sudo /usr/bin/php /root/startrecord.php $userid", $retval);
Tried
exec()
as well, but still can’t get the correctexit(n)
code from the recording script to perform the next steps. I am guessing the return value i keep getting is from sudo and not the actual php script.Can you guys suggest any workarounds or tips as to what I may be doing wrong ?
-
Revision 0b0eba728d : Add _dspr2 to local function names It avoids symbol conflicts between function
31 juillet 2015, par Jingning HanChanged Paths :
Modify /vp9/common/mips/dspr2/vp9_itrans16_dspr2.c
Add _dspr2 to local function namesIt avoids symbol conflicts between function names of various
implementation versions.Change-Id : Iad79ebcb8e289457801812a7745c8380b5b06a46