
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (60)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6803)
-
How to stream frames from ffmpeg to a process ?
7 mars, par VoracI would like to encrypt camera frames before transmitting. For that purpose the encrypting process needs to get the raw frames through some mode of IPC. I tried reading through the steaming API docs but got lost. This is an "what approach" question instead of a "working solution" one.


-
How to specify the GPU to be used by nvenc in ffmpeg [closed]
25 septembre 2022, par GioI'm using compiled ffmpeg executable for transcoding mpegts stream from h264 to h265 with nvenc. I have two nvidia Graphics Cards installed on my motherboard : GeForce GTX 690 and Tesla k-10. Is there any codec specific parameters for nvenc to choose the GPU I want to encode with ?


-
Failed to load resource : the server responded with a status of 404 (Not Found)
28 août 2013, par KaushikThis problem is quite unsolvable for me.. I have a
Fileupload
control and I upload only Video files. Then I useffmpeg
to obtain a frame [image] from that video to display it as a preview. But I am unable to load that image into Image control. The Image will be saving in the specified folder but not able to load it and gives the error which I mentioned in topic.This is my aspx code..
<div class="transbox" runat="server">
<fieldset style="width:50%; margin-left:300px">
<legend style="color:white;font-family:&#39;Palatino Linotype&#39;">Upload Video Files</legend>
</fieldset>
<div class="head" runat="server"><label>Write Description</label>
</div>
<div runat="server" style="margin-top:22px;">
</div>
</div>and this my aspx.cs code..
protected void uploadedFile_Click(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
if (UploadImages.HasFiles)
{
string fileExt = Path.GetExtension(UploadImages.FileName).ToLower();
if (fileExt == ".flv" || fileExt == ".avi" || fileExt == ".mp4" || fileExt == ".3gp" || fileExt == ".mov" || fileExt == ".wmv" || fileExt == ".mpg" || fileExt == ".asf" || fileExt == ".swf")
{
foreach (HttpPostedFile uploadedFile in UploadImages.PostedFiles)
{
count += 1;
filepath = Server.MapPath("~/Videos/" + uploadedFile.FileName);
uploadedFile.SaveAs(filepath);
vurl.Add(uploadedFile.FileName.ToString());
newpath = createvidImage(filepath);
try
{
createImgPanel();
Image nimg = Page.FindControl("img" + count) as Image;
nimg.ImageUrl = "../Images/Video_Thumbs/" + newpath.ToString();
al.Add(newpath.ToString());
}
catch (Exception ex)
{
Page.ClientScript.RegisterStartupScript(GetType(), "msgbox", "alert('" + ex.Message.ToString() + "!!');", true);
}
}
Session["name2"] = al;
Session["vurl"] = vurl;
}
else
{
lblerror2.Text = "Please select only Image Files";
}
}
else
{
lblerror2.Text = "Please select File/s";
}
}
}
public void createImgPanel()
{
StringBuilder sb = new StringBuilder();
tid = tid + 1;
textid = "txt" + tid;
ta = new TextBox();
img = new Image();
ta.TextMode = TextBoxMode.MultiLine;
dload = new HtmlGenericControl("div");
updtpanel.Visible = true;
dload.Attributes.Add("class", "dataload");
dload.ID = "ind" + tid;
img.CssClass = "loadimg";
img.ID = "img" + tid;
img.Attributes.Add("runat", "server");
ta.Attributes.Add("class", "txtdes");
ta.ID = textid;
dload.Controls.Add(img);
dload.Controls.Add(ta);
dback.Controls.Add(dload);
}
public string createvidImage(string fpath)
{
string thumbname = "";
string newthumb = "";
string newpath1 = "";
if (Page.IsPostBack)
{
string link = "";
link = fpath.ToString();
Guid nid = Guid.NewGuid();
thumbname = Server.MapPath("..//Images//Video_Thumbs//") + nid + ".jpg";
newthumb = nid + ".jpg";
string param = String.Format("-ss {0} -i \"" + link + "\" -s 150*120 -vframes 1 -f image2 -vcodec mjpeg \"" + thumbname + "\"", 20);
Process p = new Process();
p.StartInfo.Arguments = param;
p.StartInfo.FileName = Server.MapPath("..//ffmpeg//ffmpeg.exe");
p.StartInfo.CreateNoWindow = false;
p.StartInfo.UseShellExecute = false;
p.Start();
newpath1 = newthumb.ToString();
}
return newpath1;
}