Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (21004)

  • Cannot read property 'isStream' of undefined with fluent-ffmpeg

    17 juin 2024, par Dario Rusignuolo

    I have these lines of code

    



    s3.getObject(getParams, function (err, response) {
        ffmpeg(response.Body)
            .size('640x360')
            .videoFilter({ filter: 'scale', options: [640, -1] })
            // .seekInput('3:00')
            .duration('0:08')
            .format('mp4')
            .on('error', function (err) {
                console.error(err, 'invalid ffmpeg conversion')
            })
            .on('start', function (start) {
                console.log(start, 'starting');
            })
            .on('progress', function (any) {
                console.log(any, 'progress')
            })
            .on('end', function () {
                s3.putObject({
                    Bucket: S3_CREDENTIALS.bucketName,
                    Key: newKey,
                    Body: fs.readSync(newKey),
                    ContentType: response.ContentType
                }, function (err, data) {
                    fs.unlinkSync(newKey)
                    if (err) {
                        res.json('ko')
                    } else {
                        res.json('ok')
                    }
                });
            })
            .output(fs.createWriteStream(newKey))
            .run()
    })


    



    The reason because I create a file is that I cannot stream the fluent-ffmpeg output to the putObject stream body. Of course if there's a way to avoid to create a local file (and then delete it) is better

    



    The error I get is a fluent-ffmpeg error saying Error [TypeError]: Cannot read property 'isStream' of undefined

    



    Any help is appreciated.

    


  • developer.texi : remove reference to non existing target fulltest

    23 août 2011, par Michael Niedermayer

    developer.texi : remove reference to non existing target fulltest

  • the hyperlink to the Developer’s Certificate of Origin no longer works ; use Linux...

    20 novembre 2012, par Peter Ross

    the hyperlink to the Developer’s Certificate of Origin no longer works ; use Linux...