
Recherche avancée
Autres articles (71)
-
Formulaire personnalisable
21 juin 2013, parCette 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. (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (12040)
-
Revision 70589 : Ajout de la possibilité d’une nouvelle notification possible : les auteurs ...
11 mars 2013, par ben.spip@… — LogAjout de la possibilité d’une nouvelle notification possible : les auteurs reçoivent les notifications lors de la < ;strong> ;proposition< ;/strong> ; de leur(s) article(s) ... et du reformatage auto de code désolé
-
FFMpeg command in android tutorial
25 novembre 2013, par AzhagiriI want to write a android app that concats two videos
i tried the following code
InputStream in=null;
OutputStream os=null;
String appFileDirectory = getFilesDir().getPath();
final String executableFilePath = appFileDirectory + "/ffmpeg";
final String input ="concat:/mnt/sdcard/input1.mpg|/mnt/sdcrad/input2.mpg";
File executable=new File(executableFilePath);
try {
in = getAssets().open("ffmpeg");
os = new FileOutputStream(executable);
int read = 0;
byte[] bytes = new byte[1024];
while ((read = in.read(bytes)) != -1) {
os.write(bytes, 0, read);
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}finally {
if (in != null) {
try {
in.close();
} catch (IOException e) {
e.printStackTrace();
}
}
if (os != null) {
try {
// outputStream.flush();
os.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
executable.setExecutable(true);
Button b = (Button)findViewById(R.id.button);
b.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
try {
Process p = Runtime.getRuntime().exec(executableFilePath + "-i \""+ input + "\" -c copy /mnt/sdcrd/output.mpg");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
});
}this code doesn't give any error or it is not crashing but nothing happens when i click the button. I created the ffmpeg build that is compatible with android. So can anyone help me out how to run the command from android java code.
-
How to upload and overlay animation.html file from system and overlay over video in HTML or ANGULAR
23 septembre 2020, par HirenHey I am trying to build an app which has a functionality of allowing a user to upload a pre-existing .HTML file from his system which contains a simple animation init


I want to get that file and overlay the animation contained in .HTML file on my video and display it to the user.


is that possible please help me if it is.




body {
 background: #;
}

#fullScreenBox {
 height: 500px;
 width: 50%;
 background: #;
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
}

#hiddenBox {
 width: 50%;
 height: 500px;
 background: #;
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
 overflow: hidden;
}

#title {
 width: 100%;
 height: 150px;
 background: #;
 /*U can also use #*/
 position: absolute;
 top: 200px;
 font-family: arial;
 font-size: 50px;
 color: white;
 text-align: center;
 opacity: 0;
}

#subtitle {
 width: 100%;
 height: 50px;
 background: #;
 /*U can also use #*/
 position: absolute;
 top: 300px;
 font-family: arial;
 font-size: 50px;
 color: red;
 text-align: center;
 opacity: 0;
}

#line01 {
 width: 25%;
 height: 4px;
 background: white;
 /*U can also use #*/
 position: absolute;
 top: 50px;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
 color: white;
 opacity: 0;
}

#overlay {
 position: absolute;
 color: #FFF;
 text-align: center;
 font-size: 20px;
 padding: 10px 0;
 width: 50%;
 height: 500px;
 background: #;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
}

#v {
 height: 500px;
 width: 100%;
}




 <div>
 <div class="">
 <div class="webvfx" data-animate="'{
">
 LONDON
 </div>
 <div class="webvfx" data-animate="'{
">

 </div>

 <div class="webvfx" data-animate="'{
">
 City of Dreams!
 </div>
 </div>
</div>







This is my HTML file that contains a simple animation for example which is in user system


In my application when user upload this file i want to overlay the animation contained in this file on the video as he uploads it is these any way
Thank you