Recherche avancée

Médias (91)

Autres articles (112)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (9683)

  • Use ffmpeg to add video watermark. But the second video added does not move, only static images can be seen

    19 février 2021, par cantoe

    Use ffmpeg to add video watermark.
But the second video added does not move, only static images can be seen.
Does anyone know what's going on ?
Can you help me ?

    


    ffmpeg -i sucai/s3o.ts  -i sucai/s2o.ts -i sucai/s4o.ts  -filter_complex "overlay=x=main_w/2-overlay_w/2:y=main_h/2-overlay_h/2:enable='between(t,1,3)',overlay=x=main_w/2-overlay_w/2:y=main_h/2-overlay_h/2:enable='between(t,8,10)'" -vcodec libx265 sucai/s34.mp4 -y


    


  • video previews on video just like xvideos

    28 juin 2020, par zjose

    Video previews are usually images that rotate every so often in a small video. But since that format is old and boring, I would like to be able to create them with ffmpeg just like xvideos does.

    


    example (you don't have to worry) -> https://img-l3.xvideos-cdn.com/videos/videopreview/dc/8b/0f/dc8b0facd2879bad18f93dff44d1de2c_169.mp4

    


    They are in size : 362x204.
They last : 5 seconds.

    


    and they are several fragments in video, and not in images.

    


    How could I do it using ffmpeg ?

    


  • Create video file by mixing video and audio byte arrays FFmpeg & C++

    20 janvier 2021, par Sergey Zinovev

    I capture audio and video.

    


    Video is captured by using Desktop Duplication API and, as a result, I get Textures 2D.
These Textures 2D are char arrays.

    


    m_immediateContext->CopyResource(currTexture, m_acquiredDesktopImage.Get());&#xA;&#xA;D3D11_MAPPED_SUBRESOURCE* resource = new D3D11_MAPPED_SUBRESOURCE;&#xA;UINT subresource = D3D11CalcSubresource(0, 0, 0);&#xA;&#xA;m_immediateContext->Map(currTexture, subresource, D3D11_MAP_READ_WRITE, 0, resource);&#xA;&#xA;uchar * buffer = new uchar[(m_desc.Height * m_desc.Width * 4)];&#xA;const uchar * mappedData = static_cast<uchar>(resource->pData);&#xA;memcpy(buffer, mappedData, m_desc.Height * m_desc.Width * 4);&#xA;</uchar>

    &#xA;

    Then the Textures 2D convert in cv::Mat and write Video using OpenCV.

    &#xA;

    Audio captured by using WASAPI and, as a result, I get samples.

    &#xA;

    BYTE * buffer = new BYTE[(numFramesAvailable * pwfx->nBlockAlign)];&#xA;memcpy(buffer, pData, numFramesAvailable * pwfx->nBlockAlign);&#xA;

    &#xA;

    These samples are byte arrays then write in WAV file.

    &#xA;

    As a result, I get two files - video and audio, which merged by using FFmpeg.

    &#xA;

    I want to skip the creation of video and audio files and promptly create one file compose of two strims (video and audio) from raw data.

    &#xA;

    In order to make it I need help with FFmpeg code.&#xA;Specifically, in a way of creating and setting the correct output context and output streams, and how to encode raw data.

    &#xA;

    I've already learned doc/examples FFmpeg, but still can't make the working code. So, I really need your help guys.

    &#xA;