Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (58)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

Sur d’autres sites (5631)

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