
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (68)
-
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 (10937)
-
how to get the output of a child process in a variable c#
4 août 2022, par DokoaI want to get width, height information into a variable after ffprobe is finished.


int width, height; 
Process pr = new Process();
 pr.StartInfo.FileName = "ffprobe";
 pr.StartInfo.Arguments = $"- v error - select_streams v: 0 - show_entries stream = width,height - of default = nw = 1 input.mp4";
 pr.StartInfo.UseShellExecute = false;
 pr.StartInfo.CreateNoWindow = true;
 pr.EnableRaisingEvents = true;
 pr.Start();



example of ffprobe console output


width=320
height=180



-
merge two mp4 video as single video using ffmpeg in C# is not working
13 février 2016, par kapil darjiFor the last 4 hours I’ve been trying to combine 2 .mp4 files into one using ffmpeg in C#.
****My code is below :****
public void MergeFiles(string strFile)
{
string strParam;
string Path_FFMPEG = Server.MapPath("~/Video_Clips/ffmpeg.exe");
//Merging two videos
String video1 = Server.MapPath("~/Videos/fast1.mp4");
String video2 = Server.MapPath("~/Videos/fast2.mp4");
String file = Server.MapPath("~/Videos/input.txt");
String strResult = Server.MapPath("~/Videos/ConvertedFiles/Output.mp4");
strParam = " -f concat -i " + file + " -c copy " + strResult;
process(Path_FFMPEG, strParam);
}
public void process(string Path_FFMPEG, string strParam)
{
try
{
Process ffmpeg = new Process();
ProcessStartInfo ffmpeg_StartInfo = new ProcessStartInfo(Path_FFMPEG, strParam);
ffmpeg_StartInfo.UseShellExecute = false;
ffmpeg_StartInfo.RedirectStandardError = true;
ffmpeg_StartInfo.RedirectStandardOutput = true;
ffmpeg.StartInfo = ffmpeg_StartInfo;
ffmpeg_StartInfo.CreateNoWindow = true;
ffmpeg.EnableRaisingEvents = true;
ffmpeg.Start();
ffmpeg.WaitForExit(30000);
//ffmpeg.WaitForExit();
ffmpeg.Close();
ffmpeg.Dispose();
ffmpeg = null;
}
catch (Exception ex)
{
}
}My input.txt file is below :
List of Files to Join (Comment)
file ’D :/Kapil_WorkSpace/ExtraProjectSource/VideoDemo/VideoDemo/Videos/fast1.mp4’
file ’D :/Kapil_WorkSpace/ExtraProjectSource/VideoDemo/VideoDemo/Videos/fast2.mp4’
Please help. Thanks in advance.
-
Converting video mp4 file to gif file in asp.net ?
14 juillet 2018, par JonnyI am developing an web app in asp.net where I want to convert mp4 file to animated gif file. I created a sample in C# console app to test my logic where it worked smoothly but when I tried to implement the same logic in asp.net it is not working.
I am using FFmpeg.exe to convert the videos.
Here is my code that executes on Button Click. Any help would be appreciated.try
{
//srcLink = Session["videoPath"].ToString();
System.Diagnostics.Process grabInfoProcess;
grabInfoProcess = new System.Diagnostics.Process();
grabInfoProcess.StartInfo.UseShellExecute = false;
grabInfoProcess.StartInfo.RedirectStandardOutput = true;
grabInfoProcess.StartInfo.RedirectStandardError = true;
grabInfoProcess.StartInfo.CreateNoWindow = true;
grabInfoProcess.StartInfo.FileName = Request.PhysicalApplicationPath + "FFmpeg\\ffmpeg.exe";
grabInfoProcess.StartInfo.Arguments = "-ss 00:00:01 -t 00:00:15" + " -i " + Request.PhysicalApplicationPath + "videos\\test2.mp4" + " " + Request.PhysicalApplicationPath + "DestVideos\\animated.gif";
//ffmpeg - i source_video.avi animated_gif.gif
grabInfoProcess.Start();
string output = grabInfoProcess.StandardOutput.ReadToEnd();
string newoutput = grabInfoProcess.StandardError.ReadToEnd();
grabInfoProcess.WaitForExit();
}
catch (Exception ex)
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "alert('" + ex.Message.ToString() + "');");
}