Recherche avancée

Médias (91)

Autres articles (7)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

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

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