Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (74)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (11173)

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

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

    &#xA;

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

    &#xA;

    They are in size : 362x204.&#xA;They last : 5 seconds.

    &#xA;

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

    &#xA;

    How could I do it using ffmpeg ?

    &#xA;

  • 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.&#xA;But the second video added does not move, only static images can be seen.&#xA;Does anyone know what's going on ?&#xA;Can you help me ?

    &#xA;

    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=&#x27;between(t,1,3)&#x27;,overlay=x=main_w/2-overlay_w/2:y=main_h/2-overlay_h/2:enable=&#x27;between(t,8,10)&#x27;" -vcodec libx265 sucai/s34.mp4 -y&#xA;

    &#xA;