
Recherche avancée
Autres articles (74)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (3707)
-
FFMPEG Command failing in script
12 octobre 2016, par JerryI have a nodejs script/server that is running an ffmpeg screenshot command every 30 seconds. I have a list of files that I want to screenshot every loop, and I simply feed it into the command like so :
exec("ffmpeg -ss 00:00:01 -i /secondary/videos/"+file+" -y -vframes 1 -q:v 2 /secondary/snapshots/"+camera_id+".jpg && scp /secondary/snapshots/"+camera_id+".jpg user@host:/path/to/site/img/snapshots/ && rm /secondary/snapshots/"+camera_id+".jpg", function(err,stdo,stde){
});file is an absolute path to an flv file such as "vid123.flv". camera_id is an id from a local database of my home security cameras, so they’re numbered 1-100. An example command I’m trying to run is this :
exec("ffmpeg -ss 00:00:01 -i /secondary/videos/vid123.flv -y -vframes 1 -q:v 2 /secondary/snapshots/1.jpg && scp /secondary/snapshots/1.jpg user@host:/path/to/site/img/snapshots/ && rm /secondary/snapshots/1.jpg", function(err,stdo,stde){
});However, when I run this in node, I get an ffmpeg error saying "/secondary/videos/vid123.flv : No such file or directory". If I run the same command in the terminal, I get the correct/expected results - a snapshot/frame at 00:00:01 is taken, saved to a jpg in /secondary/snapshots/, scp’d to another server, and removed from the /secondary/snapshots directory.
I’m raking my brain right now and I can’t figure out why the different results for the same command.
Any help/tips are appreciated !
-
Burning text to video in Android
17 juillet 2014, par SebastianGI want to "burn" some GPS coordinates on a video file in Android programatically on the device, without using other apps (similar to the picture below, but with coordinates instead)
I have done some research, and the only solution for Android seems to use FFmpeg. I have figured out two approaches :
- Adding the coordinates in the form of subtitles. Drawback : as far as I’ve figured out, you can not place the subtitles wherever you want in the video frame
- Drawing text using "drawtext". Drawback : it seems to me that this puts a static text on all frames of the video, although I need to put dynamic text on it (GPS coordinates)
ffmpeg -i i.mp4 -vcodec libx264 -f mp4
-vf drawtext="fontfile=/[...]/share/fonts/freefont-ttf/FreeSans.ttf
:text=’....So my questions are : are there any other approaches to doing this ? They do not have to use FFmpeg, but the encoding must be done on the device. Am I mistaken in my approaches ?
-
Anomalie #2492 (Fermé) : Impossible de poster dans le forum des admins si forum sous article, brev...
2 juin 2012, par cedric -corrigé en SPIP 3.0