Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (111)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9829)

  • AMV video encoder ?

    15 novembre 2011, par Shimmy

    I'm looking for a converter that can encode input files to amv format output.

    I've found this project, but it looks somewhat outdated and not maintained.
    Do you know of a solid and reliable amv encoder (any API or tool that can be invoked from .NET), or can you recommend on the one I mentioned ?

  • Render video frame via openGLES2 with Android NDK

    27 février 2014, par wolfz

    I made a bin code with NDK to get video frames by ffmpeg decoding, and rendered to opengles, but the screen had nothing changed, it still displayed the launcher.

    *But when i made a apk tolaunch,it always show black。*

    my opengles2.0 ini code is below:

    static int window_init_display(void)
    {
       EGLint attribs [] = {
         EGL_RED_SIZE,        8,
         EGL_GREEN_SIZE,      8,
         EGL_BLUE_SIZE,       8,
         EGL_ALPHA_SIZE,      8,
         EGL_DEPTH_SIZE,     16,
         EGL_STENCIL_SIZE,    0,
         EGL_SAMPLE_BUFFERS,  0,
         EGL_SAMPLES,         0,
         EGL_SURFACE_TYPE,    EGL_WINDOW_BIT,
         EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
         EGL_NONE
       };

       EGLint w, h, format;
       EGLint numConfigs;
       EGLConfig config;
       EGLSurface surface;
       EGLContext context;

       EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);

       eglInitialize(display, 0, 0);

       eglChooseConfig(display, attribs, &config, 1, &numConfigs);

       eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &format);

       ANativeWindow_setBuffersGeometry(g_application->window, 0, 0, format);

       surface = eglCreateWindowSurface(display, config, g_application->window, NULL);

       eglQuerySurface(display, surface, EGL_WIDTH, &w);    
       eglQuerySurface(display, surface, EGL_HEIGHT, &h);
       LOGI("EGL_WIDTH=%d, EGL_HEIGHT=%d",w,h);

       eglBindAPI(EGL_OPENGL_ES_API);

       EGLint contextAttrs[] =
       {
          EGL_CONTEXT_CLIENT_VERSION, 2,
          EGL_NONE
       };
       context = eglCreateContext(display, config, NULL, contextAttrs);

       if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE)
       {        
               LOGW("Unable to eglMakeCurrent");      
               return -1;  
    }

       LOGI("OK init EGL !!!!");

    }

    My render code is below :

    int m_rgbBufferSize = pPicture->iDisplayWidth*pPicture->iDisplayHeight*4;
    m_rgbBuffer = new unsigned char[m_rgbBufferSize];

    struct SwsContext *m_sw_context=NULL;
    m_sw_context = m_dllSwScale.sws_getCachedContext(m_sw_context,
                                                     pPicture->iWidth, pPicture->iHeight, PIX_FMT_YUV420P,
                                                     pPicture->iWidth, pPicture->iHeight, PIX_FMT_RGBA,
                                                     SWS_FAST_BILINEAR, NULL, NULL, NULL);

    uint8_t *psrc[] = { pPicture->data[0], pPicture->data[1], pPicture->data[2], 0 };
    int srcStride[] = { pPicture->iLineSize[0], pPicture->iLineSize[1], pPicture->iLineSize[2], 0 };
    uint8_t *dst[]  = { m_rgbBuffer, 0, 0, 0 };
    int dstStride[] = { pPicture->iDisplayWidth*4, 0, 0, 0 };
    m_dllSwScale.sws_scale(m_sw_context, psrc, srcStride, 0, pPicture->iDisplayHeight, dst, dstStride);
    //LOGV("swscale OK");
    glEnable(GL_TEXTURE_2D);
    glPixelStorei(GL_UNPACK_ALIGNMENT,1);
    if(textureid == 0)
       glGenTextures(1, &textureid);
    glActiveTexture(GL_TEXTURE2);
    glBindTexture(GL_TEXTURE_2D, textureid);
    glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0,
                   pPicture->iDisplayWidth, pPicture->iDisplayHeight, GL_RGBA, GL_UNSIGNED_BYTE, m_rgbBuffer);

    Why does nothing display ? Should I use abk not bin file to run ?

  • Capture 2 screens with ffmpeg

    29 septembre 2016, par wetjosh

    I want to capture simultaneous screen recordings of my main display and the connected display and either save them as two different files or a single file with the video side by side.

    Can either of these be accomplished ? It seems like the latter can but I haven’t had success with it. I’ve tried to follow this but all I’ve ended up creating with it is a double wide movie (good) with the main display recording twice (bad) and not properly scaled.

    Here is my working command that captures just one display :

    ffmpeg -capture_cursor 1 -capture_mouse_clicks 1 \
    -f avfoundation -pix_fmt uyvy422 -i 1 -pix_fmt yuv420p -r 30 \
    -s 1440x900 -preset ultrafast -b:v 5000k -t 60 out.mov

    And here is my non-working attempt at capturing both and saving them in one movie :

    ffmpeg -capture_cursor 1 -capture_mouse_clicks 1 \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 0 \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 1 \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 5 \
    -filter_complex "nullsrc=size=2880x900 [base]; \
    [base][0:v] overlay [tmp]; [tmp][1:v] overlay=x=1440" \
    out.mov

    I did not see anything on the web about saving them as two different files. Is it possible to specify two output files ?