Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (49)

  • 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 (7346)

  • FFMPEG Covert HTML 5 Video NOT Working

    27 octobre 2012, par Brad

    I am using FFMPEG to convert a video to .mp4, ,ogg, .webm so that it may be viewed in all HTML5 capable browsers using the video tag. The problem is that I manage to convert the video to the 3 required formats but it does not display the video in the video tag, all I get is IE9 : red cross, Firefox : Grey cross, could it be a problem with the conversion or is it something to do with the way I am adding them to the source of the video tag. Here is what I have done :

    1. FFmpeg command line(s) :

      ffmpeg -i test.mp4 test.mp4
      ffmpeg -i test.mp4 test.ogg
      ffmpeg -i test.mp4 test.webm
    2. Here is the video tag :

      <video height="340" width="470" preload="true" autobuffer="true" controls="true">
         <source src="test.ogg" type="video/ogg"></source>
         <source src="test.mp4" type="video/mp4"></source>
      </video>
    3. Webconfig lines for the video support :

      <staticcontent>
         <mimemap fileextension=".mp4" mimetype="video/mp4"></mimemap>
         <mimemap fileextension=".ogg" mimetype="audio/ogg"></mimemap>
         <mimemap fileextension=".oga" mimetype="audio/ogg"></mimemap>
         <mimemap fileextension=".ogv" mimetype="video/ogg"></mimemap>
         <mimemap fileextension=".webm" mimetype="video/webm"></mimemap>
      </staticcontent>

    It would be great if someone could send me the required parameters for ffmpeg to convert the video to the 3 required formats and an example of how they setting the source in the video tag to display them again. And any other advise would be great like how to set the quality up etc when doing the conversion.

    Thanks in advance.

  • ffmpeg creates empty flv files

    8 janvier 2012, par user1136924

    I'm trying to build avi to flv converter with c#.
    i'm using this code below (taken from here) but it produces empty flv files.
    please help figure this this out.

    on an button click the program takes the uploaded file from the upload box and creates a new flv file from it.

    thanks !

    protected void btn_Submit_Click(object sender, EventArgs e)
    {
       ReturnVideo(this.fileuploadImageVideo.FileName);
    }
    private bool ReturnVideo(string fileName)
    {
       string html = string.Empty;
       //rename if file already exists

       int j = 0;
       string AppPath;
       string inputPath;
       string outputPath;
       string imgpath;
       AppPath = Request.PhysicalApplicationPath;
       //Get the application path
       inputPath = AppPath + "OriginalVideo";
       //Path of the original file
       outputPath = AppPath + "ConvertVideo";
       //Path of the converted file
       imgpath = AppPath + "Thumbs";
       //Path of the preview file
       string filepath = Server.MapPath("~/OriginalVideo/" + fileName);
       while (File.Exists(filepath))
       {
           j = j + 1;
           int dotPos = fileName.LastIndexOf(".");
           string namewithoutext = fileName.Substring(0, dotPos);
           string ext = fileName.Substring(dotPos + 1);
           fileName = namewithoutext + j + "." + ext;
           filepath = Server.MapPath("~/OriginalVideo/" + fileName);
       }
       try
       {
           this.fileuploadImageVideo.SaveAs(filepath);
       }
       catch
       {
           return false;
       }
       string outPutFile;
       outPutFile = "~/OriginalVideo/" + fileName;
       int i = this.fileuploadImageVideo.PostedFile.ContentLength;
       System.IO.FileInfo a = new System.IO.FileInfo(Server.MapPath(outPutFile));
       while (a.Exists == false)
       {

       }
       long b = a.Length;
       while (i != b)
       {

       }


       string cmd = " -i \"" + inputPath + "\\" + fileName + "\" \"" + outputPath + "\\" + fileName.Remove(fileName.IndexOf(".")) + ".flv" + "\"";
       ConvertNow(cmd);
      string imgargs = " -i \"" + outputPath + "\\" + fileName.Remove(fileName.IndexOf(".")) + ".flv" + "\" -f image2 -ss 1 -vframes 1 -s 280x200 -an \"" + imgpath + "\\" + fileName.Remove(fileName.IndexOf(".")) + ".jpg" + "\"";
      ConvertNow(imgargs);


       return true;
    }
    private void ConvertNow(string cmd)
    {
       string exepath;
       string AppPath = Request.PhysicalApplicationPath;
       //Get the application path
       exepath = AppPath + "ffmpeg.exe";
       System.Diagnostics.Process proc = new System.Diagnostics.Process();
       proc.StartInfo.FileName = exepath;
       //Path of exe that will be executed, only for "filebuffer" it will be "flvtool2.exe"
       proc.StartInfo.Arguments = cmd;
       //The command which will be executed
       proc.StartInfo.UseShellExecute = false;
       proc.StartInfo.CreateNoWindow = true;
       proc.StartInfo.RedirectStandardOutput = false;
       proc.Start();

       while (proc.HasExited == false)
       {

       }
    }
  • Merge pull request #1845 from TeamOneJ/bugfix-1844-make-nested-directories

    12 novembre 2012, par Sebastian Tschan

    m server/php/upload.class.php Merge pull request #1845 from TeamOneJ/bugfix-1844-make-nested-directories Fixes #1844 by adding recursive=true to the mkdir() to allow creation of nested directories