Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (96)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (9937)

  • Revision 31972 : Et maintenant on peut aussi importer les fichiers d’export. On peut aussi ...

    8 octobre 2009, par rastapopoulos@… — Log

    Et maintenant on peut aussi importer les fichiers d’export.
    On peut aussi supprimer entièrement un menu, ce qui n’était bizarement pas possible avant.
    Pour la peine, on hausse la version, parce que c’est une nouvelle fonctionnalité d’ajoutée.

  • Where is my ffmpeg stream getting saved to ?

    14 mars 2013, par Chris

    I'm just starting to explore ffmpeg (ultimately for use with openCV), and I'm running this command :

    root@beaglebone:/# ffmpeg -f video4linux2 -r 25 -s 640x480 -i /dev/video0 /out.avi

    At which point the camera indicator light turns on and it appears to be capturing. However when I end it with CTRL+C, the file is nowhere to be found.

    Any thoughts ?

    Full output :

    root@beaglebone:/# ffmpeg -f video4linux2 -r 25 -s 640x480 -i /dev/video0 /out.avi
    ffmpeg version v0.7.4, Copyright (c) 2000-2011 the Libav developers
     built on Oct  9 2012 10:50:57 with gcc 4.5.4 20120305 (prerelease)
     configuration: --enable-shared --enable-pthreads --enable-gpl --enable-postproc --enable-avfilter --cross-prefix=arm-angstrom-linux-gnueabi- --prefix=/usr --enable-ffserver --enable-ffplay --enable-x11grab --enable-libtheora --enable-libvorbis --arch=arm --target-os=linux --enable-cross-compile --extra-cflags=' -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/koen/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone' --extra-ldflags='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' --sysroot=/home/koen/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/beaglebone --enable-hardcoded-tables --cpu=cortex-a8
     libavutil    51.  7. 0 / 51.  7. 0
     libavcodec   53.  6. 0 / 53.  6. 0
     libavformat  53.  3. 0 / 53.  3. 0
     libavdevice  53.  0. 0 / 53.  0. 0
     libavfilter   2.  4. 0 /  2.  4. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    ^C
    root@beaglebone:/# ls
    bin   dev  home  lost+found  mnt  proc  sbin  tmp  var
    boot  etc  lib   media       opt  run   sys   usr
    root@beaglebone:/#
  • 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 ?