Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (37)

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

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (6371)

  • FFMPEG (libx264) "height not divisible by 2"

    3 octobre 2023, par Andy Hin

    I am trying to encode a .mp4 video from a set of frames using FFMPEG using the libx264 codec.

    



    This is the command I am running :

    



    /usr/local/bin/ffmpeg -r 24 -i frame_%05d.jpg -vcodec libx264 -y -an video.mp4


    



    I sometimes get the following error :

    



    [libx264 @ 0xa3b85a0] height not divisible by 2 (520x369)


    



    After searching around a bit it seems that the issue has something to do with the scaling algorithm and can be fixed by adding a -vf argument.

    



    However, in my case I don't want to do any scaling. Ideally, I want to keep the dimensions exactly the same as the frames. Any advice ? Is there some sort of aspect ratio that h264 enforces ?

    


  • avcodec/nvdec : Round up odd width/height values

    24 novembre 2017, par Philip Langdale
    avcodec/nvdec : Round up odd width/height values
    

    nvdec will not produce odd width/height output, and while this is
    basically never an issue with most codecs, due to internal alignment
    requirements, you can get odd sized jpegs.

    If an odd-sized jpeg is encountered, nvdec will actually round down
    internally and produce output that is slightly smaller. This isn't
    the end of the world, as long as you know the output size doesn't
    match the original image resolution.

    However, with an hwaccel, we don't know. The decoder controls
    the reported output size and the hwaccel cannot change it. I was
    able to trigger an error in mpv where it tries to copy the output
    surface as part of rendering and triggers a cuda error because
    cuda knows the output frame is smaller than expected.

    To fix this, we can round up the configured width/height passed
    to nvdec so that the frames are always at least as large as the
    decoder's reported size, and data can be copied out safely.

    In this particular jpeg case, you end up with a blank (green) line
    at the bottom due to nvdec refusing to decode the last line, but
    the behaviour matches cuviddec, so it's as good as you're going to
    get.

    • [DH] libavcodec/nvdec.c
  • ffprobe : Initialize coded_width/height

    19 janvier 2018, par Zhong Li
    ffprobe : Initialize coded_width/height
    

    coded_width/height are unnitialized and will be overwritten by
    dec_ctx->width/height in avcodec_open2()

    This fixes tiket #6958.

    Signed-off-by : Zhong Li <zhong.li@intel.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] fftools/ffprobe.c