
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (111)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (9262)
-
Get a specific frame from a video using javascript
25 mars 2016, par Sebi55Is there the possibility to somehow get a specified frame from a video using javascript ?
Most of the questions I found always talked about getting the current frame of a video which is of course no problem but is there a way to get a frame of a video which is not the current one ?
It would be much easier I think then using ffmpeg from my point of view.
I actually didn’t find anything about this topic online but I think it is just not possible but maybe someone got an idea. -
doc/default.css + doc/t2h.init : New styles
24 septembre 2013, par Timothy Gudoc/default.css + doc/t2h.init : New styles
The main motive of this commit is to make the offline copy of the HTML doc as
pretty as the online (ffmpeg.org) one. This also introduced new styles for
<h2> to <h4>.Signed-off-by : Timothy Gu <timothygu99@gmail.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
trying to figure out what's wrong in the code using ffmpeg.exe
5 octobre 2013, par timmackI'm trying to upload videos and convert it to flv format as well as capturing image as thumbnails.I'm using visual web developer 2008 express edition.I've done so many research online and found something using ffmpeg.exe so I've downloaded an ffmpeg.exe and has tried so many codes but unfortunately I'm still unable to make it work.I want to save the converted video file to a certain folder in my server as well as the captured image as for its thumbnails after uploading the video.I'm not sure if the ffmpeg.exe has the problem or my codes but I suspect it's in my codes.I need somebody to help me find out what's something missing on my codes to make it work. Here's my codes below for your reference. Thanks
protected void Button1_Click(object sender, EventArgs e)
{
//Convert the Video to flv format with FFMPEG
string ffmpegPath = Server.MapPath("~/ffmpeg/ffmpeg.exe");
string tempLocation = Server.MapPath("~/tempVideos/");
string mediaOutPath = Server.MapPath("~/Videos/");
string thumbOutPath = Server.MapPath("~/Thumbs/");
string currentFile = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);
//Upload the video
string vidPath = "Videos/" + outputfile;
if (FileUpload1.PostedFile != null && FileUpload1.PostedFile.FileName != "")
{
try
{
// 10240 KB means 10MB, You can change the value based on your requirement
if (FileUpload1.PostedFile.ContentLength > 1024000000)
{
Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "Alert", "alert('File is too big.')", true);
}
else
{
//then save it to the Folder
Convert(tempLocation + currentFile, mediaOutPath + currentFile, thumbOutPath + currentFile);
FileUpload1.PostedFile.SaveAs(tempLocation + currentFile);
}
}
catch (Exception ex)
{
Response.Write("Error: " + ex.Message);
}
}
Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "Alert", "alert('Video file has been uploaded!')", true);
FlashVideo1.VideoURL = "tempVideos/" + currentFile;
}
protected void Convert(string fileIn, string fileOut, string thumbOut)
{
try
{
string mediaOutPath = Server.MapPath("~/Videos/");
string thumbOutPath = Server.MapPath("~/Thumbs/");
string inputfile = FileUpload1.PostedFile.FileName;
string infile = Path.GetFileNameWithoutExtension(inputfile);
fileIn = Path.GetFullPath( inputfile);
fileOut = mediaOutPath + inputfile;
thumbOut = inputfile;
string ffmpegPath = Server.MapPath("~/ffmpeg/ffmpeg.exe");
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = true;
proc.StartInfo.FileName = ffmpegPath;
//converting video to flv format
proc.StartInfo.Arguments = "-i " + fileIn + "-ar 22050 -ab 32 -f flv -s 320×240 -aspect 4:3 -y" + fileOut.Split('.')[0] + ".flv";
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = true;
proc.Start();
proc.WaitForExit();
//capturing thumbnail image of the video
proc.StartInfo.Arguments = "-i \"{0}\" -an -y -s 320x240 -ss {1} -vframes 1 -f image2 \"{2}\"" + fileIn + thumbOut.Split('.')[0] + ".jpg";
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = true;
proc.Start();
proc.WaitForExit();
proc.Close();
}
catch (Exception ex)
{
Response.Write("Error: " + ex.Message);
}
}