Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (71)

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

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9590)

  • How to create movie screenshot by ffmpeg in an amazon S3 path

    5 décembre 2019, par user2004082

    I tried to create using ffmpeg a video screenshot from a remote video url in heroku console. Below is how I generated a movie instance and can see also an empty ready to be written file at S3. But the last line movie.screenshot is not working and generates this error :

    FFMPEG::Error: Failed encoding.Errors: no output file created

    Here is the code

    s3 = Aws::S3::Resource.new(region: 'us-west-1')
    bucket = s3.bucket("ruby-sample-kb-#{SecureRandom.uuid}")
    bucket.create
    object = bucket.object('ex-vid-test-kb.jpg')
    object.put(acl: "public-read-write")
    path = object.public_url
    movie = FFMPEG::Movie.new("https://www.googleapis.com/download/storage/v1/b/seppoav/o/3606137_51447286560__56BAF29C-05CB-4223-BAE6-655DF2236321.MOV?generation=1492780072394755&alt=media")
    movie.screenshot(path, :seek_time => 2)

    I also tried the following line just if it should be written via put. What am I missing here ?

    object.put(acl: "public-read", body: movie.screenshot(path, :seek_time => 2))
  • How do I install ffmpeg on one EC2 Amazon Linux instance that can stream a mp4 ? [closed]

    12 septembre 2020, par starpebble

    Good day. How can I install ffmpeg on an EC2 amazon linux machine that can stream a mp4 ?

    


    The goal : an ffmpeg install on EC2 Amazon Linux that can stream one mp4 to one rtmps endpoint. Then, create an integration test suite with it.

    


    Is it just me or is ffmpeg a little crippled on EC2 Amazon Linux ?

    


    Example :

    


    ffmpeg -re -i input.mp4 -c:v libx264 -b:v 6000K -maxrate 6000K -pix_fmt yuv420p -s 1920x1080 -profile:v main -preset veryfast -g 120 -x264opts "nal-hrd=cbr:no-scenecut” -acodec aac -ab 160k -ar 44100 -f flv rtmps:///app/


    


    Linux OS :

    


    Linux version 4.14.193-113.317.amzn1.x86_64 (mockbuild@koji-pdx-corp-builder-60005) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Thu Sep 3 19:08:08 UTC 2020


    


    The stackoverflow answer to similar questions fail to install a ffmpeg that can stream.

    


    An installation script such as Install FFMPEG Library on EC2 Server fail this year.

    


    The static downloads referenced on John Van Sickle-FFmpeg Static Builds fail to stream to IVS. I tried the i686 release, my first guess for an x86_64 instance.

    


    The git source tree compiled binary fails to stream. Example : The tip of the tree isn't what I expected because the binary fails to recognize switches like -preset.

    


    I'd love to be able to explain streaming to anyone. Thanks.

    


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