Recherche avancée

Médias (91)

Autres articles (56)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Making a video out of frames in Python

    6 juin 2021, par amit

    I have to create a video using earlier extracted frames and the following code works fine :

    


    import os
    
fps = 25

os.system("ffmpeg -r fps -i Encode/encode_image%01d.png -vcodec mpeg4 -y movie.mp4")


    


    But storing framerate (which is 25 in this case) in fps variable and passing it in -r, I am getting following error :

    


    


    "Error parsing framerate fps."

    


    


    Meanwhile, the code below, creates a video :

    


    import os

fps = 25
os.system("ffmpeg -r 25 -i Encode/encode_image%01d.png -vcodec mpeg4 -y movie.mp4")


    


    But the framerate is different for every one of my videos (that's why I am storing it in a variable).
Due to above error I am unable to pass different frame rate value each time and, I cannot type the value (like 25) directly.

    


    Please suggest me some way to tackle this problem or provide me with another Python code to combine frames into video.

    


  • Add APIchanges entry and bump libswscale micro version for making gray16 full-scale.

    19 mars 2014, par Carl Eugen Hoyos
    Add APIchanges entry and bump libswscale micro version for making gray16 full-scale.
    
    • [DH] doc/APIchanges
    • [DH] libswscale/version.h
  • Making a movie from the url using ffmpeg and phantomjs

    1er novembre 2016, par Matt

    Im Taking screen shots from a url, using phantomjs using the setIntreval function (25 right now) and then piping the output to the ffmpeg (Using the frame rate -r 24).
    Here is the Code. ffmpeg.js

    var page = require('webpage').create();
    page.viewportSize = { width: 1024, height: 768 };

    page.open('http://ewoken.github.io/Leaflet.MovingMarker/', function () {
     setInterval(function() {
       page.render('/dev/stdout', { format: "png" });
     }, 25);
    });

    Then I run the script using this.

    phantomjs ffmpeg.js | ffmpeg -y -c:v png -f image2pipe -r 24 -t 10 -i - -c:v libx264 -pix_fmt yuv420p -movflags +faststart output.mp4

    Like In the command Im getting the 10 sec video with the page, But Its all speeding up fast first and completely freezes with a last frame.

    Can you guys help me, with a work around, enabling me to record the page , AS IS ? Like if there is a 3000 delay animation in the movie, It should appear like real in the movie, like smooth and in real time.

    Thank you guys. Stuck on this for a long time now.

    Cheers,