Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (107)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (10704)

  • Ip camera using ffmpeg drawing on screen

    6 mars 2014, par user3177342

    I'm using ffmpeg 1.2 to take video from ip camera.I make it draw on the screen, so I wonder if there is some event mechanism to to know if it is time to call av_read_frame ?
    If I read frame not so frequent as the camera gives frames i get segmentation fault = on some malloc functions inside ffmpeg routines(video_get_buffer)

    I also get segmentation fault just when drawing on screen.

    In Render function call every 0 miliseconds

    void BasicGLPane::DrawNextFrame()
    {
    int f=1;
    while(av_read_frame(pFormatCtx, &packet)>=0)
       {
           // Is this a packet from the video stream?
           if(packet.stream_index==videoStream)
           {


               // Decode video frame
               avcodec_decode_video2(pCodecCtx, pFrame, &FrameFinished,
                                     &packet);

               // Did we get a video frame?
               if(FrameFinished)
               {
                   f++;
                   this->fram->Clear();
                  // if (pFrame->pict_type == AV_PICTURE_TYPE_I) wxMessageBox("I cadr");
                   if (pFrame->pict_type != AV_PICTURE_TYPE_I)
                   printMVMatrix(f, pFrame, pCodecCtx);
                   pFrameRGB->linesize[0]= pCodecCtx->width*3; // in case of rgb4  one plane

                   sws_scale(swsContext, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameRGB->data, pFrameRGB->linesize);
                   //glGenTextures(1, &VideoTexture);
                   if ((*current_Vtex)==VideoTexture) current_Vtex = &VideoTexture2;else current_Vtex = &VideoTexture;
                   glBindTexture(GL_TEXTURE_2D, (*current_Vtex));
                   glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
                   glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
                   glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
                   glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, pCodecCtx->width, pCodecCtx->height, GL_RGB, GL_UNSIGNED_BYTE, pFrameRGB->data[0]);
                   //glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, pCodecCtx->width, pCodecCtx->height, 0, GL_RGB, GL_UNSIGNED_BYTE, pFrameRGB->data[0]);
                   //glDeleteTextures(1, &VideoTexture);
                   GLenum err;
                   while ((err = glGetError()) != GL_NO_ERROR)
                   {
                       cerr << "OpenGL error: " << err << endl;
                   }
                 //  av_free(buffer);
               }
           }

           // Free the packet that was allocated by av_read_frame
           av_free_packet(&packet);
           if (f>1) break;
       }

    //av_free(pFrameRGB);
    }

    The picture I get on the screen is strange (green quads and red lines are motion vectors of those quads)

    http://i.stack.imgur.com/9HJ9t.png

  • configure : Move the cross_prefix setting after the toolchain one

    7 avril 2014, par Luca Barbato
    configure : Move the cross_prefix setting after the toolchain one
    

    Makes passing to configure
    — toolchain=gcc-asan —cross-prefix=armv7a-hardfloat-linux-gnueabi-
    work as intended.

    • [DH] configure
  • Revision 87a6175d6e : vpx_temporal_svc_encoder : Adjust default qp-max setting for vp9. Change-Id : Iad

    12 février 2015, par Marco

    Changed Paths :
     Modify /examples/vpx_temporal_svc_encoder.c



    vpx_temporal_svc_encoder : Adjust default qp-max setting for vp9.

    Change-Id : Iada495f05193a1f645a5405ad792931f4d9113ab