Recherche avancée

Médias (91)

Autres articles (55)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • How to effectively turn high resolution images into a video with ffmpeg ?

    5 septembre 2022, par Sprout Coder
      

    • I have 24 frames (frame-%d.png)
    • 


    • I want to turn them into a video that will be 1 second long
    • 


    • That means that each frame should play for 1/24 seconds
    • 


    


    I'm trying to figure out the correct settings in order to achieve that :

    


    await new Promise((resolve) => {
  ffmpeg()
    .on('end', () => {
      setTimeout(() => {
        console.log('done')
        resolve()
      }, 100)
    })
    .on('error', (err) => {
      throw new Error(err)
    })
    .input('/my-huge-frames/frame-%d.png')
    .inputFPS(1/24)
    .output('/my-huge-video.mp4')
    .outputFPS(24)
    .noAudio()
    .run()


    


      

    1. Are my inputFPS(1/24) & outputFPS(24) correct ?
    2. 


    3. Each frame-%d.png is huge : 32400PX x 32400PX720Mb). Will ffmpeg be able to generate such a video, and if so, will the video be playable ? If not, what is the maximum resolution each frame-%d.png should have instead ?
    4. 


    5. Since the process will be quite heavy, I believe using the command line could be more appropriate. In that case, what is the equivalent of the above Js code in the command line (as in ffmpeg -framerate etc...) ?
    6. 


    


  • ffmpeg : How do I set the framerate and keep the default image resolution ?

    8 septembre 2022, par Sprout Coder

    I have 23 frames inside a folder (each frame has the same resolution) :

    


    frame-1.png
frame-2.png
......
frame-23.png


    


    I want to create a 1 second video that will have the same resolution.
Each frame should therefore last for 1/23 seconds.

    


    I tried to following command :

    


    ffmpeg -r 23 -i "frame-%d.png" -c:v libx265 -r 23 out.mp4


    


    But my mac crashed.

    


    The resolution of each image is really big (15000x15000) but not big enough for ffmpeg to throw the usual "value is too big" (>INT_MAX) error..

    


    I think it crashes because my command is not correct.

    


    Could you please confirm what the correct command should be to achieve what I want ?

    


    Also, will the frames be ordered correctly according to this command ?

    


    Thank you in advance for your help

    


  • Force ffmpeg to quit when input resolution changes

    22 octobre 2022, par rednine

    I'm using ffmpeg to restream a live feed. Unfortunately occasionally the input resolution changes but ffmpeg continues running. The nginx rtmp server I'm using doesn't cope well with this, and continues the stream with audio, but the video is mostly black or green with some artifacts.

    


    Ideally what I want to happen is for ffmpeg to stop on an input resolution change, as I have a script that detects ffmpeg stopping and will restart it again.

    


    I'm using -c:v copy in my ffmpeg command as unfortunately my machine is not powerful enough to re-encode the live video on the fly to a constant resolution (not without a significant quality reduction at least)

    


    ffmpeg -i "http://mpegts-live-stream" -c:v copy -c:a aac -ac 2 -f flv "rtmp://nginxserver/live/streamname"