
Recherche avancée
Autres articles (104)
-
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...) -
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (14103)
-
Documentation #3360 : Mise à jour du profil utilisateur LDAP/SPIP
18 mai 2016, par svpip -b b a écrit :
Merci pour le retour, la doc me semble claire puisqu’elle ne mentionne pas le champ bio. Aurais-tu une idée de mention à ajouter à l’article pour clarifier la chose ?
L’utilisateur doit être informé de cette particularité.
Je propose le texte (à minima dans un premier temps) suivant à intégrer dans http://www.spip.net/fr_article1910.html sous forme de note de bas de page depuis la phrase existante :
=> Les champs remplis sont : nom, login et email qui viennent de LDAP (champs ’cn’, ’uid’ et ’mail’ respectivement) [1]...
=> [1] En complément de ces 3 champs, SPIP propose en option lors de l’installation en mode LDAP, de remplir le champ "bio" pour recevoir les informations issues du champs "description" généralement.
La valeur récupérée par SPIP depuis le LDAP, lors de la première connexion, ne sera pas mise à jour par la suite. -
Extracting JPG Image From MP4 Video
17 mars 2015, par michael hanonI am using the below method to extract an image from a uploaded video and placing the image into a folder.
private string GeneratePreviewImageMP4(string FileName, HttpPostedFile file, string ProperPath)
{
string inputfile = System.IO.Path.Combine(Server.MapPath(ProperPath), file.FileName);
string ext = System.IO.Path.GetExtension(FileName);
string thumbpath = AppDomain.CurrentDomain.BaseDirectory + "Reports\\TrainingLibrary\\Videothumbnails\\";
string thumbname = thumbpath + FileName.Replace(ext, "") + ".jpg";
string thumbargs = "-i " + inputfile + " -ss 00:00:25.435 -qscale:v 2 -vframes 1 " + thumbname;
Process thumbproc = new Process();
thumbproc.StartInfo.FileName = "C:\\FFMPEG\\Bin\\ffmpeg.exe";
thumbproc.StartInfo.Arguments = thumbargs;
thumbproc.StartInfo.UseShellExecute = false;
thumbproc.StartInfo.CreateNoWindow = false;
thumbproc.StartInfo.RedirectStandardOutput = false;
try
{
thumbproc.Start();
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
thumbproc.WaitForExit();
thumbproc.Close();
return FileName.Replace(ext, ".jpg");
}The issue, is that once the image is extracted, I get locked out of the folder. No body has admin rights to that folder. We have to restart the Server just to restore access to that folder.
This is only at certain times, most of the time it works great, but one out of ten times there will be an issue.
Anyone now why this is happening ? Does it play the video to extract the image, but does not stop the video ?
-
FFmpeg library does not want to images into video
27 avril 2021, par ArtisticBytesI am trying to create image folder with 600 images with file names :
animation_010000.jpg
toanimation_010600.jpg
(soanimation_010000.jpg
,animation_010001.jpg
,animation_010002.jpg
, and all the way toanimation_010600.jpg
) into a video file, but somehow FFmpeg does not see the path right. What I am doing wrong ?
I tried 4 different samples still the same error in the input path.

ffmpeg -r 60 -s 1920x1080 -i "animation_010%03d.jpg" -vcodec libx264 -crf 25 -pix_fmt yuv420p "test.mp4"



or


ffmpeg -r 60 -s 1920x1080 -i "animation_010%3d.jpg" -vcodec libx264 -crf 25 -pix_fmt yuv420p "test.mp4"



or


ffmpeg -r 60 -s 1920x1080 -i "animation_%06d.jpg" -vcodec libx264 -crf 25 -pix_fmt yuv420p "test.mp4"



or


ffmpeg -r 60 -s 1920x1080 -i "animation_%6d.jpg" -vcodec libx264 -crf 25 -pix_fmt yuv420p "test.mp4"



Keep in mind that input path of the folder is
F:/AnimationImages/
but I am not using the full path address instead of I installed all the FFmpeg library into the folder with the images. Also, keep in mind that it converts a single image file as input into a video file as output without any errors. I am pretty sure that answer in input path formatting - so what I am doing wrong ? My OS is Windows 10 and I am usingcmd.exe
with administrator rights. Thanks guys.