Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (31)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • 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

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

Sur d’autres sites (4837)

  • Fix "passing argument 1 of av_free discards const qualifier from pointer target type"

    9 septembre 2014, par Michael Niedermayer
    Fix "passing argument 1 of av_free discards const qualifier from pointer target type"
    

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

    • [DH] libavutil/dict.c
  • Bad argument for fluent-ffmpeg video compression at ChildProcess.spawn()

    22 novembre 2018, par Just A Bad Programmer

    I am using fluent-ffmpeg library in node.js in Firebase for compressing videos uploaded by users through an android app, but the following code yield an error :

    ffmpeg(tempFilePath).videoBitrate('1000k', true)
                         .on('error', function(err) {
                           console.log('An error occurred: ' + err.message);
                         })
                         .on('end', function() {
                           console.log('Processing finished !');
                         })
                         .save(compressedVideoFilePath);

    The error is :

    TypeError: Bad argument
    at TypeError (native)
    at ChildProcess.spawn (internal/child_process.js:303:26)
    at exports.spawn (child_process.js:370:9)
    at /user_code/node_modules/fluent-ffmpeg/lib/processor.js:152:24
    at FfmpegCommand.proto._getFfmpegPath (/user_code/node_modules/fluent-ffmpeg/lib/capabilities.js:90:14)
    at FfmpegCommand.proto._spawnFfmpeg (/user_code/node_modules/fluent-ffmpeg/lib/processor.js:132:10)
    at FfmpegCommand.proto.availableFormats.proto.getAvailableFormats (/user_code/node_modules/fluent-ffmpeg/lib/capabilities.js:517:10)
    at /user_code/node_modules/fluent-ffmpeg/lib/capabilities.js:568:14
    at nextTask (/user_code/node_modules/fluent-ffmpeg/node_modules/async/dist/async.js:5324:14)
    at Object.waterfall (/user_code/node_modules/fluent-ffmpeg/node_modules/async/dist/async.js:5334:5)

    The tempFilePath is from downloading the user uploaded file onto the temp folder of firebase (/tmp/test-4d68b02f-a6ef-4ff3-a5c9-52687fd3f0c4.mp4) :

    const tempFilePath = path.join(os.tmpdir(), filePath);
    destBucket.file(filePath).download({
             destination: tempFilePath // Download the file to destFilePath
           }

    While the compressedVideoFilePath is the destination I want the compressed file to be saved (/tmp/compressed-test-4d68b02f-a6ef-4ff3-a5c9-52687fd3f0c4.mp4) :

    var compressedVideoFilePath = path.join(path.dirname(tempFilePath),"compressed-" + path.basename(tempFilePath));

    After the compressed file is saved, I would upload the file to firebase storage with (But probably this is not the place that caused the error) :

    destBucket.upload(compressedVideoFilePath, {
       destination: 'compressed-' + path.basename(filePath),
       metadata: metadata
     })

    I don’t know how to fix it, any one knows why this keeps happening ? Thanks. :)

  • ffmpeg Unrecognized option...Error splitting the argument list : Option not found

    13 juillet 2013, par Ian Zane

    This is probably a pretty simple question for those of you who use ffmpeg, but I'm very new at it, and I'm using it on Windows, which apparently isn't the norm.

    From cmd, with my environment variable set at my ffmpeg install directory, I'm running

    ffmpeg -i C:\Users\Me\Videos\InputVideo.wmv
    -vcodec libx264 -acodec aacenc C:\Users\Me\Desktop\OutputVideo.mp4

    (My actual script doesn't have a line break, I just put that there to make reading easier)

    and ffmpeg is throwing

    Unrecognized option &#39;i C:\Users\Me\Videos\InputVideo.wmv
    -vcodec libx264 -acodec aacenc C:\Users\Me\Desktop\OutputVideo.mp4&#39;.
    Error splitting the argument list: Option not found.

    Is something wrong with my script ? Am I calling an encoder that isn't currently on my machine ? Is it something to do with the file paths ?

    Thanks for the help, everyone.