Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (5964)

  • I want to reduce video file size but still have a good video quality, how should I write the code using ffmpeg ?

    9 décembre 2019, par Inibuat Maengame

    First of all, I’ve downloaded some videos to watch, and each file has more than 500MB file size. But due to the vast amount of videos I have at the moment, my 3 external hard drives are crying.
    Up till today, I’ve been using BENCOS to reduce the size...
    I always set the preset to very slow, codec h264, profile : high, and the mode is (probably) fixed bitrate on 736kbps.
    With those settings,
    I was able to reduce the size from 400-600MB into 100-110MB with acceptable video quality.
    But, since BENCOS has stopped its service since ages ago, I’ve been trying FFmpeg lately.

    Using those same settings, -crf 22, -preset veryslow, profile:high, the file size doesn’t really reduce that much... from 500MB to 200MB-ish with a much lower video quality compared to BENCOS.

    How are you guys able to reduce the file size by a huge margin compared to the original but still retain the quality using FFmpeg..?
    what commands I should put into the FFmpeg to get a result as good as BENCOS..?

    Thanks in advance...

  • audio of second video is missing after combining video

    2 avril 2021, par Captain_Zaraki

    I am trying to concat 2 videos but audio of second video is missing -

    


    ffmpeg -i  1.mp4 -i 1.mp4 -filter_complex '[0]scale=1280:720,setsar=1[v0];[1]scale=1280:720,setsar=1[v1];[v0][v1]concat=n=2:v=1:a=0' -vsync 2  output.mp4


    


    if I set a=1 then it is giving an error-

    


    [Parsed_setsar_3 @ 0x564e387d0340] Media type mismatch between the 'Parsed_setsar_3' filter output pad 0 (video) and the 'Parsed_concat_4' filter input pad 1 (audio)
[AVFilterGraph @ 0x564e3888fac0] Cannot create the link setsar:0 -> concat:1
Error initializing complex filters.


    


  • Why is the character in video is blurry when rending video by d3d9

    16 août 2021, par TONY

    I use the following code to render video :

    


    IDirect3DSurface9* surface = (IDirect3DSurface9*)frame->data[3];&#xA;        IDirect3DDevice9* pDevice = (IDirect3DDevice9*)(((DXVA2DevicePriv*)((AVHWDeviceContext*)hw_device_ctx->data)->user_opaque)->d3d9device);&#xA;        pDevice->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0, 0, 0), 1.0f, 0);&#xA;        pDevice->BeginScene();&#xA;        CComPtr<idirect3dsurface9> back_buffer;&#xA;&#xA;        HRESULT hr = pDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &amp;back_buffer);&#xA;        if (FAILED(hr)) {&#xA;            //RTC_LOG(LS_ERROR) &lt;&lt; "Failed to get back buffer" &lt;&lt; (int)hr;&#xA;            return -1;&#xA;        }&#xA;&#xA;        if (surface != nullptr) {&#xA;            hr = pDevice->StretchRect(surface, nullptr, back_buffer, nullptr, D3DTEXF_POINT);&#xA;            if (FAILED(hr)) {&#xA;                &#xA;                return -1;&#xA;            }&#xA;        }&#xA;&#xA;        pDevice->EndScene();&#xA;        &#xA;        hr = pDevice->Present(nullptr, nullptr, hWnd, nullptr);&#xA;</idirect3dsurface9>

    &#xA;

    I don't know why the character in the video is blurry, but the image seems be better.&#xA;Is there any settings to set to solve it ?

    &#xA;