Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (73)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

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

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

  • Problem with processing FFMPEG video , the output video is totally black in first 3 seconds

    13 janvier 2021, par Trần Minh Tuấn

    I want to make a slideshow by using concat demuxer like this link :&#xA;https://trac.ffmpeg.org/wiki/Slideshow

    &#xA;

    Here is the textfile preinputFiles.txt :

    &#xA;

    file &#x27;path a&#x27;&#xA;duration 2&#xA;file &#x27;path b&#x27;&#xA;duration 2&#xA;file &#x27;path c&#x27;&#xA;duration 2&#xA;file &#x27;path c&#x27;&#xA;

    &#xA;

    and my command array is :

    &#xA;

    String[] cmd = new String[]{&#xA;            "-f","concat","-i",&#xA;            textFile,&#xA;            "-vsync", "vfr", "-pix_fmt", "yuv420p",&#xA;            dest.getAbsolutePath()};&#xA;

    &#xA;

    the video has 3 seconds that it is totally black and run from 3s to 9s even the gallery shows that it is a 6 seconds long video .

    &#xA;

    Thanks for the help !

    &#xA;