
Recherche avancée
Autres articles (26)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (4070)
-
ffmpeg isnt working or giving errors
19 avril 2014, par user3549636FFmpeg isnt converting videos (or saving them, I honestly dont know) and isnt even giving me any error, whats wrong ? heres my code :
@{
WebSecurity.RequireAuthenticatedUser();
var db = Database.Open("PhotoGallery");
var fileName = "";
var uploader = WebSecurity.CurrentUserId;
var date = DateTime.Now.Date;
var extention = "";
if(IsPost){
var numFiles = Request.Files.Count;
if(numFiles <= 0){
ModelState.AddError("fileUpload", "Please specify at least one photo to upload.");
}
else{
var fileSavePath = "";
var uploadedFile = Request.Files[0];
fileName = Path.GetFileNameWithoutExtension(uploadedFile.FileName).Trim();
extention = Path.GetExtension(uploadedFile.FileName).Trim();
string ndom = Path.GetRandomFileName();
var none = ndom.Remove(ndom.Length - 4);
fileSavePath = Server.MapPath("~/Images/userpics/" +
none + extention);
uploadedFile.SaveAs(fileSavePath);
string AppPath = Request.PhysicalApplicationPath;
string inputPath = AppPath + "~/Images/userpics/" + fileName + extention;
string outputPath = AppPath + "~/Images/userpics/" + fileName + ".flv";
string imgpath = AppPath + "~/Images/userpics/thumbnails/";
string cmd = " -i" + " " + inputPath + " " + outputPath;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = Server.MapPath("~/bin/ffmpeg.exe");
proc.StartInfo.Arguments = cmd;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.RedirectStandardOutput = false;
proc.Start();
var insertCommand = "INSERT INTO Videos (FileTitle, UploadDate, UserId, ext, Name) Values(@0, @1, @2, @3, @4)";
db.Execute(insertCommand, fileName, date, uploader, extention, none + extention);
Response.Redirect(Href("~/Photo/View", db.GetLastInsertId()));
}
}
}
<h1>Upload Video</h1>
<form method="post" enctype="multipart/form-data">
@Html.ValidationSummary("Unable to upload:")
<fieldset class="no-legend">
<legend>Upload Photo</legend>
@FileUpload.GetHtml(addText: "Add more files", uploadText: "Upload", includeFormTag: false)
<p class="form-actions">
<input type="submit" value="Upload" title="Upload photo" />
</p>
</fieldset>
</form>
<p class="message info">
The maximum file size is 50MB.
</p>btw i thought i should mention ffmpeg.exe is in my websites bin directory (only ffmpeg.exe)
-
Révision 24058 : report de r24057
15 septembre 2018, par bruno@eliaz.frFix #4043 : table debug-nav en partie masquée
-
libfdk-aacenc : Enable 7.1 channel encoding
26 janvier 2014, par Jean Firstlibfdk-aacenc : Enable 7.1 channel encoding
7.1(wide) and 7.1(wide-side) channel layouts are supported in
fdk-aac since the 0.1.3 release.The earlier versions of fdk-aac didn’t include any library
version defines in the public headers, thus checking for
the AACENCODER_LIB_VL0 define is enough to know that we’re
building against a new enough version of fdk-aac.This change includes contributions by Tim Walker,
Michael Niedermayer and Timothy Gu.Signed-off-by : Martin Storsjö <martin@martin.st>