Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (64)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9840)

  • Merge commit ’fcda30f2dcb744d89df9d5d1ec89ba55279cb83c’

    20 avril 2015, par Michael Niedermayer
    Merge commit ’fcda30f2dcb744d89df9d5d1ec89ba55279cb83c’
    

    * commit ’fcda30f2dcb744d89df9d5d1ec89ba55279cb83c’ :
    fate : Prefix cllc tests with canopus

    Conflicts :
    tests/fate/lossless-video.mak

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] tests/fate/lossless-video.mak
    • [DH] tests/ref/fate/canopus-cllc-argb
    • [DH] tests/ref/fate/canopus-cllc-rgb
    • [DH] tests/ref/fate/canopus-cllc-yuy2-noblock
  • Blackmagic SDK - OpenGL Letterbox and FFMPEG

    18 mars 2015, par Marco Reisacher

    so I left my Idea using the DirectShow filters due to lack of Support of my needed Video formats.
    The native API uses OpenGL which i am a total beginner to.
    I stumbled upon the following problems :

    1. How to automatically apply a letterbox or pillarbox depending on the width and height of the Frame that gets passed to OpenGL (I’m using bpctrlanchormap.h to autosize everything and i get squeezed/stretched images)

    2. How to record a Video of the OpenGL stream (I looked around and saw that ffmpeg should be able to do so, but I can’t get it running.) Also what would be nice is Audio recording into the same file of a microphone

    I’m using the Blackmagic "Capture Preview" sample.

    This is the sourcecode that initialises the OpenGL renderer and passes the Frames

    #include "stdafx.h"
    #include <gl></gl>gl.h>
    #include "PreviewWindow.h"

    PreviewWindow::PreviewWindow()
    : m_deckLinkScreenPreviewHelper(NULL), m_refCount(1), m_previewBox(NULL), m_previewBoxDC(NULL), m_openGLctx(NULL)
    {}

    PreviewWindow::~PreviewWindow()
    {
       if (m_deckLinkScreenPreviewHelper != NULL)
       {
           m_deckLinkScreenPreviewHelper->Release();
           m_deckLinkScreenPreviewHelper = NULL;
       }

       if (m_openGLctx != NULL)
       {
           wglDeleteContext(m_openGLctx);
           m_openGLctx = NULL;
       }

       if (m_previewBoxDC != NULL)
       {
           m_previewBox->ReleaseDC(m_previewBoxDC);
           m_previewBoxDC = NULL;
       }
    }

    bool        PreviewWindow::init(CStatic *previewBox)
    {
       m_previewBox = previewBox;

       // Create the DeckLink screen preview helper
       if (CoCreateInstance(CLSID_CDeckLinkGLScreenPreviewHelper, NULL, CLSCTX_ALL, IID_IDeckLinkGLScreenPreviewHelper (void**)&amp;m_deckLinkScreenPreviewHelper) != S_OK)
       return false;

       // Initialise OpenGL
       return initOpenGL();
    }

    bool        PreviewWindow::initOpenGL()
    {
       PIXELFORMATDESCRIPTOR   pixelFormatDesc;
       int                     pixelFormat;
       bool                    result = false;

       //
       // Here, we create an OpenGL context attached to the screen preview box
       // so we can use it later on when we need to draw preview frames.

       // Get the preview box drawing context
       m_previewBoxDC = m_previewBox->GetDC();
       if (m_previewBoxDC == NULL)
           return false;

       // Ensure the preview box DC uses ARGB pixel format
       ZeroMemory(&amp;pixelFormatDesc, sizeof(pixelFormatDesc));
       pixelFormatDesc.nSize = sizeof(pixelFormatDesc);
       pixelFormatDesc.nVersion = 1;
       pixelFormatDesc.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL;
       pixelFormatDesc.iPixelType = PFD_TYPE_RGBA;
       pixelFormatDesc.cColorBits = 32;
       pixelFormatDesc.cDepthBits = 16;
       pixelFormatDesc.cAlphaBits = 8;
       pixelFormatDesc.iLayerType = PFD_MAIN_PLANE;
       pixelFormat = ChoosePixelFormat(m_previewBoxDC->m_hDC, &amp;pixelFormatDesc);
       if (SetPixelFormat(m_previewBoxDC->m_hDC, pixelFormat, &amp;pixelFormatDesc) == false)
           return false;

       // Create OpenGL rendering context
       m_openGLctx = wglCreateContext(m_previewBoxDC->m_hDC);
       if (m_openGLctx == NULL)
           return false;
       // Make the new OpenGL context the current rendering context so
       // we can initialise the DeckLink preview helper
       if (wglMakeCurrent(m_previewBoxDC->m_hDC, m_openGLctx) == FALSE)
           return false;

       if (m_deckLinkScreenPreviewHelper->InitializeGL() == S_OK)
           result = true;

       // Reset the OpenGL rendering context
       wglMakeCurrent(NULL, NULL);

       return result;
    }

    HRESULT         PreviewWindow::DrawFrame(IDeckLinkVideoFrame* theFrame)
    {
       // Make sure we are initialised
       if ((m_deckLinkScreenPreviewHelper == NULL) || (m_previewBoxDC == NULL) || (m_openGLctx == NULL))
           return E_FAIL;

       // First, pass the frame to the DeckLink screen preview helper
       m_deckLinkScreenPreviewHelper->SetFrame(theFrame);

       // Then set the OpenGL rendering context to the one we created before
       wglMakeCurrent(m_previewBoxDC->m_hDC, m_openGLctx);

       // and let the helper take care of the drawing
       m_deckLinkScreenPreviewHelper->PaintGL();

       // Last, reset the OpenGL rendering context
       wglMakeCurrent(NULL, NULL);

       return S_OK;
    }
  • when i build ffmpeg with cygwin there is an error occurs. How can i solve this ?

    17 février 2020, par Pradeep Simba

    enter image description here

    build_android.sh file

    enter image description here

    1. path NDK=C :/Users/asus/AppData/Local/Android/Sdk/android-ndk-r21
    2. How can I solve this ?