Recherche avancée

Médias (91)

Autres articles (47)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

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

Sur d’autres sites (4217)

  • Anomalie #4209 : Les critères {pagination} et {a,b} sont dans un bâteau

    31 octobre 2018, par RastaPopoulos ♥

    Comme ça, l’inverse non ? Si masquer_pagination=oui alors total = #TOTAL_BOUCLE (seulement ce qui est directement affiché) et sinon total = #GRAND_TOTAL.

    (Ce qui n’empêche qu’il faut résoudre ce bug.)

  • truehd : tune VLC decoding for ARM.

    19 mars 2014, par Ben Avison
    truehd : tune VLC decoding for ARM.
    

    Profiling on a Raspberry Pi revealed the best performance to correspond
    with VLC_BITS = 5. Results for overall audio decode and the get_vlc2 function
    in particular are as follows :

    Before After
    Mean StdDev Mean StdDev Confidence Change
    6:2 total 348.8 20.1 339.6 15.1 88.8% +2.7% (insignificant)
    6:2 function 38.1 8.1 26.4 4.1 100.0% +44.5%
    8:2 total 339.1 15.4 324.5 15.5 99.4% +4.5%
    8:2 function 33.8 7.0 27.3 5.6 99.7% +23.6%
    6:6 total 604.6 20.8 572.8 20.6 100.0% +5.6%
    6:6 function 95.8 8.4 68.9 8.2 100.0% +39.1%
    8:8 total 766.4 17.6 741.5 21.2 100.0% +3.4%
    8:8 function 106.0 11.4 86.1 9.9 100.0% +23.1%

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/mlpdec.c
  • Did not able to pipe output of the ffmpeg using nodejs stdout

    4 mars 2014, par rughimire

    I am not being able to pipe the output of the ffmpeg over a stdout.

    Following are the block of code what I coded so far.

       var http = require(&#39;http&#39;)
       , fs = require(&#39;fs&#39;)
       var child_process = require("child_process")

       http.createServer(function (req, res) {
       console.log("Request:", dump_req(req) , "\n")

       // path of the
       var path = &#39;test-mp4.mp4&#39;  //test-mp4-long.mp4
       , stat = fs.statSync(path)
       , total = stat.size


       var range = req.headers.range
       , parts = range.replace(/bytes=/, "").split("-")
       , partialstart = parts[0]
       , partialend = parts[1]
       , start = parseInt(partialstart, 10)
       , end = partialend ? parseInt(partialend, 10) : total-1
       , chunksize = (end-start)+1


       console.log(&#39;RANGE: &#39; + start + &#39; - &#39; + end + &#39; = &#39; + chunksize +  "\n")


       var ffmpeg = child_process.spawn("ffmpeg",[
               "-i", path,             // path
               "-b:v" , "64k",         // bitrate to 64k
               "-bufsize", "64k",
               "-"                     // Output to STDOUT
           ]);


       //set header
       res.writeHead(206
       , { &#39;Content-Range&#39;: &#39;bytes &#39; + start + &#39;-&#39; + end + &#39;/&#39; + total
       , &#39;Accept-Ranges&#39;: &#39;bytes&#39;, &#39;Content-Length&#39;: chunksize
       , &#39;Content-Type&#39;: &#39;video/mp4&#39;
       })

       stdout[ params[1] ] = ffmpeg.stdout

       // Pipe the video output to the client response
       ffmpeg.stdout.pipe(res);

       console.log("Response", dump_res(res), "\n")
       }).listen(1337)

    When i replaced the ffmpeg stuffs from above code, all works fine. Following is the part of the code when i replace the ffmpeg stuffs.

    var file = fs.createReadStream(path, {start: start, end: end})

    And piping like :

    file.pipe(res)

    What wrong I am running ?

    Edit :
    The ffmpeg command works fine. I have tested this through the command line and generating proper output.