Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (91)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10781)

  • 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
  • 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>

    • [DBH] libavformat/hevc.c