Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (68)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (7713)

  • fluent-ffmpeg sometimes crashes entire amazon ec2 instance

    24 octobre 2020, par Mick Marsden

    I have a nodejs application where I'm using fluent-ffmpeg to convert captured video files via the html <input file="file" /> tag to mp4 format. I'm also using ffmpeg-static to provide static binaries for fluent-ffmpeg's file path. But in order for the conversion to happen, I upload the captured video file via multer, and when that completes, multer passes the video url to fluent-ffmpeg. The code looks like this :

    &#xA;

    app.post("/upload-and-convert", async function(req, res) {&#xA;&#xA;   var filepath;&#xA;   var path;&#xA;&#xA;    try {&#xA;&#xA;        const upload = util.promisify(uploadVideo());&#xA;&#xA;        await upload(req, res);&#xA;&#xA;        console.log(req.file);&#xA;        console.log("Success");&#xA;        filepath = req.file.filename;&#xA;        console.log(filepath);&#xA;        path = &#x27;./public/uploads/&#x27; &#x2B; filepath;&#xA;        console.log(path);&#xA;&#xA;    } catch (e) {&#xA;       let response_json = {&#xA;                success: false,&#xA;        };&#xA;        res.setHeader("content-type", "application/json");&#xA;        res.send(response_json);&#xA;    }&#xA;&#xA;    if(path != undefined)&#xA;    {&#xA;&#xA;        console.log("Path not undefined, going to start FFMPEG");&#xA;        ffmpeg(path)&#xA;        .format(&#x27;mp4&#x27;)&#xA;        .size(&#x27;720x720&#x27;).autopad()&#xA;        .on(&#x27;end&#x27;, function() {&#xA;            console.log(&#x27;file has been converted successfully&#x27;);&#xA;        })&#xA;        .on(&#x27;error&#x27;, function(err) {&#xA;            console.log(&#x27;an error happened: &#x27; &#x2B; err.message);&#xA;            let response_json = {&#xA;                success: false,&#xA;            };&#xA;            res.setHeader("content-type", "application/json");&#xA;            res.send(response_json);&#xA;        })&#xA;        .save(&#x27;./public/uploads/video.mp4&#x27;)&#xA;        .on(&#x27;end&#x27;, function() {&#xA;            console.log(&#x27;file has been saved successfully&#x27;);&#xA;            let response_json = {&#xA;                success: true,&#xA;                fileURL: &#x27;https://websiteurl/uploads/video.mp4&#x27;&#xA;            };&#xA;            res.setHeader("content-type", "application/json");&#xA;            res.send(response_json);&#xA;        })&#xA;&#xA;    } else&#xA;    {&#xA;        let response_json = {&#xA;            success: false,&#xA;        };&#xA;        res.setHeader("content-type", "application/json");&#xA;        res.send(response_json);&#xA;    }&#xA;});&#xA;

    &#xA;

    Most times, the code runs fine and returns the fileURL as intended. Sometimes however, it completely crashes the amazon ec2 instance, and requires the instance be rebooted before it works again. I've checked the logs, and the server-error logs output no issues. The server-out logs when it crashes outputs the final console log before ffmpeg starts :

    &#xA;

            console.log("Path not undefined, going to start FFMPEG");&#xA;

    &#xA;

    The moment it reaches the ffmpeg(path), it goes down. It doesn't log any error, even though I have included error handling on the operation.

    &#xA;

    This has stumped me for days. I cannot figure out the commonality to explain why sometimes it crashes, and sometimes it does not. Note that this even happened before I started using the ffmpeg-static package. My node version is 12.19.0, and ffmpeg-static currently installs ffmpeg at version 4.3.1 if I recall correctly.

    &#xA;

    If anyone could help that would be great.

    &#xA;

  • Piwik Mobile 2.1.1 with full support for iOS 8 and iPhone 6 Plus

    2 octobre 2014, par Thomas Steur — Piwik Mobile Releases

    Piwik Mobile 2.1.1 is now available and comes with full support for iOS 8 and iPhone 6 Plus.

    Please email us if you still experience any issues with this release.

    Thank you !

  • Piwik Mobile 2.1.1 with full support for iOS 8 and iPhone 6 Plus

    2 octobre 2014, par Thomas Steur — Piwik Mobile Releases

    Piwik Mobile 2.1.1 is now available and comes with full support for iOS 8 and iPhone 6 Plus.

    Please email us if you still experience any issues with this release.

    Thank you !