Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (72)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une 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 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (9309)

  • HTML5 / and live transcoding with FFMPEG

    13 mai 2020, par TooTallNate

    So from my web server, I would like to use FFMPEG to transcode a media file for use with an HTML <audio></audio> or <video></video> tag. Easy enough right ?

    &#xA;&#xA;

    The conversion would need to take place in real-time, when an HTTP client requested the converted file. Ideally the file would be streamed back to the HTTP client as it is being transcoded (and not afterwards at the end, since that would potentially take a while before any data starts being sent back).

    &#xA;&#xA;

    This would be fine, except that in today's browsers, an HTML5 audio or video tag requests the media file in multiple HTTP requests with the Range header. See this question for details.

    &#xA;&#xA;

    In that question linked above, you can see that Safari requests weird chunks of the file, including the ending few bytes. This poses a problem in that the web server WOULD have to wait for the conversion to finish, in order to deliver the final bytes of the file to conform to the Range request.

    &#xA;&#xA;

    So my question is, is my train of thought right ? Is there a better way to deliver transcoding content to an <audio></audio> or <video></video> tag that wouldn't involve waiting for the entire conversion to finish ? Thanks in advance !

    &#xA;

  • HTML5 / and live transcoding with FFMPEG

    8 mai 2014, par TooTallNate

    So from my web server, I would like to use FFMPEG to transcode a media file for use with an HTML <audio></audio> or <video></video> tag. Easy enough right ?

    The conversion would need to take place in real-time, when an HTTP client requested the converted file. Ideally the file would be streamed back to the HTTP client as it is being transcoded (and not afterwards at the end, since that would potentially take a while before any data starts being sent back).

    This would be fine, except that in today’s browsers, an HTML5 audio or video tag requests the media file in multiple HTTP requests with the Range header. See this question for details.

    In that question linked above, you can see that Safari requests weird chunks of the file, including the ending few bytes. This poses a problem in that the web server WOULD have to wait for the conversion to finish, in order to deliver the final bytes of the file to conform to the Range request.

    So my question is, is my train of thought right ? Is there a better way to deliver transcoding content to an <audio></audio> or <video></video> tag that wouldn’t involve waiting for the entire conversion to finish ? Thanks in advance !

  • Index Out Of Bounds Exception when merging frames

    25 avril 2016, par Elucidator

    I’m writing software to convert 6 cubemap videos to 1 equirectangular video. Basically, it extracts frames from the 6 cubemap videos with ffmpeg, uses Nona to stitch them into a single frame, and converts the frames back into video.

    I’m getting an IndexOutOfBounds exception when I try to run this. Can you give me any pointers on where my error could be or how to fix it ?

           framecount = Directory.GetFiles(@System.IO.Path.GetDirectoryName(Application.ExecutablePath)).Count(path => Regex.IsMatch(path, @"front\d*[.]jpg"));
           for (int i = 1; i &lt; framecount; i++)
           {
               MergeFrames(i.ToString().PadLeft(5, '0'), i.ToString());
           }



           public void MergeFrames(string framenum, string exportname){
           this.Text = "Merging frame: " + Int32.Parse(framenum) + "/" + framecount;
           progressBar1.Value = ((Int32.Parse(framenum) / framecount) * 100);
           var lines = File.ReadAllLines(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "script.pto");
           lines[13] = "i f0 y0 p-90 r0 v90 n\"" + System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "down" + framenum + ".jpg\"";
           lines[14] = "i f0 y0 p0 r0 v90 n\"" + System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "front" + framenum + ".jpg\"";
           lines[15] = "i f0 y90 p0 r0 v90 n\"" + System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "right" + framenum + ".jpg\"";
           lines[16] = "i f0 y180 p0 r0 v90 n\"" + System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "back" + framenum + ".jpg\"";
           lines[17] = "i y-90 p0 r0 v90 n\"" + System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "left" + framenum + ".jpg\"";
           lines[18] = "i f0 y0 p90 r0 v90 n\"" + System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "top" + framenum + ".jpg\"";
           File.WriteAllLines(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "script.pto", lines);
           String command = "script.pto -o " + exportname + ".png -v";
           ProcessStartInfo cmdsi = new ProcessStartInfo("nona.exe");
           cmdsi.Arguments = command;
           Process cmd = Process.Start(cmdsi);
           cmd.WaitForExit();
           File.Delete(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "down" + framenum + ".jpg");
           File.Delete(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "front" + framenum + ".jpg");
           File.Delete(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "right" + framenum + ".jpg");
           File.Delete(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "back" + framenum + ".jpg");
           File.Delete(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "left" + framenum + ".jpg");
           File.Delete(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\" + "top" + framenum + ".jpg");
           }