Recherche avancée

Médias (0)

Mot : - Tags -/xmp

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

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (9794)

  • FFMpeg RGB32 to NV12 using SWScale

    28 avril 2016, par KevinA

    I’m trying to convert RGB32 frames to NV12 Frames to feed into an encoder.

    m_iWidthIn = 1920;
    m_iHeightIn = 1080;
    m_iWidthOut = (((iWidthIn  + 31) >> 5) << 5) //32bit align
    m_heightOut = (((iHeightIn + 31) >> 5) << 5) //32bit align
    m_outputPixelFormat = AV_PIX_FMT_NV12;

    // allocate and fill buffers

    m_sws = ::sws_getContext(m_iWidthIn, m_iHeightIn, AV_PIX_FMT_RGB32, m_iWidthOut, m_iHeightOut, m_outputPixelFormat, SWS_FAST_BILINEAR, nullptr, nullptr, nullptr);
    AVFrame* frameOut = av_frame_alloc();
    frameOut->height = m_iHeightOut;
    frameOut->width = m_iWidthOut;
    frameOut->format = m_outputPixelFormat;
    av_frame_get_buffer(frameOut, 32);
    int linesize[1] = { m_iWidthIn * 4 };
    uint8_t * data[1] = { m_inputBuffer  };
    if (m_bFlip)
    {
       data[0] += linesize[0] * (m_iHeightIn - 1);
       linesize[0] = -linesize[0];
    }
    ::sws_scale(m_sws, data, linesize, 0, m_iHeightIn, frameOut->data, frameOut->linesize);
    ::av_image_copy_to_buffer(pOutputBuffer, lDataLen, frameOut->data, frameOut->linesize, m_outputPixelFormat, m_iWidthOut, m_iHeightOut, 32);

    If I make m_outputPixelFormat AV_PIX_FMT_RGB32 and use a DMO colorspace converter, the video comes out correctly. However if I change it to NV12, I end up with a slanted video with missing data at the bottom.
    I know this is caused by me copying the data incorrectly out of the buffer, but I’m unsure what I’m doing incorrectly.

  • FFMPEG DASH Exemple

    23 janvier 2021, par Diogo Crava

    Would anyone be able to provide me an example of an FFMPEG command converting a simple .mp4 file into DASH format but with segmentation for each resolution (480, 720 and 1080). I found some examples but none of them had segmentation.

    


    Can you also indicate to me which field allows me to do that ?

    


    I would also appreciate it if you gave me an FFMPEG tutorial besides the documentation alone.

    


  • FFMPEG script to merge multiple videos and a background image

    3 février 2021, par BitBit

    I have 30 clips which are different in aspect ratio(like some videos are 10801920(they are vertical) and some are 1280720(horizontal aspect ratio videos). I want to merge all of them but also have a static background image that is of 1920x1080 aspect ratio. The video would be such that all the clips are concatenated but they have a background image(just like those tiktok compilation videos on youtube). Can someone please help me with this program ?