Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (69)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (7865)

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

    


  • 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

    


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