Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (52)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (6474)

  • lavf : always use av_free

    10 mars 2014, par Michael Niedermayer
    lavf : always use av_free
    

    Signed-off-by : Tim Walker <tdskywalker@gmail.com>

    • [DBH] libavformat/hevc.c
  • Failed to load resource : the server responded with a status of 404 (Not Found)

    28 août 2013, par Kaushik

    This problem is quite unsolvable for me.. I have a Fileupload control and I upload only Video files. Then I use ffmpeg 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:&amp;#39;Palatino Linotype&amp;#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(&#39;" + ex.Message.ToString() + "!!&#39;);", 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;
       }
  • lavf : always use av_free

    10 mars 2014, par Michael Niedermayer
    lavf : always use av_free
    

    Signed-off-by : Tim Walker <tdskywalker@gmail.com>

    • [DH] libavformat/hevc.c