Recherche avancée

Médias (91)

Autres articles (58)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

Sur d’autres sites (9814)

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

  • AWS Lambda Error : Cant find ffmpeg

    31 août 2016, par rpm

    I am building a lambda function that requires ffmpeg. The error that I am getting is :

    ERROR :: Error: Cannot find ffmpeg

    Relevant code to the problem is below...

    process.env['PATH'] = process.env['PATH'] + "/" + process.env['LAMBDA_TASK_ROOT']
    process.env['PATH'] = process.env['PATH'] + ':/tmp/'

    var ffmpeg = require('fluent-ffmpeg')

    exports.handler = (event, context, callback) => {

      var proc = new ffmpeg();

      proc.addInput('testfile.mp4)
      .on('start', function(ffmpegCommand) {
       })
      .on('progress', function(data) {
      })
      .on('end', function() {
      })
      .on('error', function(error) {
        /// ERROR IS HERE
      })
      .outputOptions(['-hls_time 10'])
      .output(fileName + '.m3u8')
      .run();

    }

    Here’s my ZIP structure :

    ./ffmpeg
    ./ffprobe
    ./index.js
    ./node_modules
    ./node_modules/aws-sdk
    ./node_modules/ffmpeg
    ./node_modules/fluent-ffmpeg
    ./package.json

    I’ve read around and have seen people mention chmod-ing ffmpeg and ffprobe, and I tried that using chmod 755 on both executables, and that didn’t work.

    Also read about having to change the path. I tried what I could, and was unsuccessful again. I am not sure where to turn from here, or how to further diagnose what I am doing wrong. Any help would be greatly appreciated. Thanks !

  • AWS Lambda Error : Cant find ffmpeg

    21 octobre 2022, par raisedandglazed

    I am building a lambda function that requires ffmpeg. The error that I am getting is :

    &#xA;&#xA;

    ERROR :: Error: Cannot find ffmpeg&#xA;

    &#xA;&#xA;

    Relevant code to the problem is below...

    &#xA;&#xA;

    process.env[&#x27;PATH&#x27;] = process.env[&#x27;PATH&#x27;] &#x2B; "/" &#x2B; process.env[&#x27;LAMBDA_TASK_ROOT&#x27;]&#xA;process.env[&#x27;PATH&#x27;] = process.env[&#x27;PATH&#x27;] &#x2B; &#x27;:/tmp/&#x27;&#xA;&#xA;var ffmpeg = require(&#x27;fluent-ffmpeg&#x27;)&#xA;&#xA;exports.handler = (event, context, callback) => {&#xA;&#xA;   var proc = new ffmpeg();&#xA;&#xA;   proc.addInput(&#x27;testfile.mp4)&#xA;   .on(&#x27;start&#x27;, function(ffmpegCommand) {&#xA;    })&#xA;   .on(&#x27;progress&#x27;, function(data) {&#xA;   })&#xA;   .on(&#x27;end&#x27;, function() {&#xA;   })&#xA;   .on(&#x27;error&#x27;, function(error) {&#xA;     /// ERROR IS HERE&#xA;   })&#xA;   .outputOptions([&#x27;-hls_time 10&#x27;])&#xA;   .output(fileName &#x2B; &#x27;.m3u8&#x27;)&#xA;   .run();&#xA;&#xA;}&#xA;

    &#xA;&#xA;

    Here's my ZIP structure :

    &#xA;&#xA;

    ./ffmpeg&#xA;./ffprobe&#xA;./index.js&#xA;./node_modules&#xA;./node_modules/aws-sdk&#xA;./node_modules/ffmpeg&#xA;./node_modules/fluent-ffmpeg&#xA;./package.json&#xA;

    &#xA;&#xA;

    I've read around and have seen people mention chmod-ing ffmpeg and ffprobe, and I tried that using chmod 755 on both executables, and that didn't work.

    &#xA;&#xA;

    Also read about having to change the path. I tried what I could, and was unsuccessful again. I am not sure where to turn from here, or how to further diagnose what I am doing wrong. Any help would be greatly appreciated. Thanks !

    &#xA;