Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (72)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (11618)

  • Revision 6173 : Dans la dernière version du plugin menu, on peut mettre un code de langue ...

    17 novembre 2011, par kent1 — Log

    Dans la dernière version du plugin menu, on peut mettre un code de langue de SPIP ici ... On le fait, cela évitera d’avoir à le traduire

  • Ffmpeg to OpenGL texture black screen

    23 janvier 2014, par user3177342

    I am trying to make textures from ffmpeg source, but I get the black screen.

    here is the code

    avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished,
               &packet);

           // Did we get a video frame?
           if(frameFinished)
           {
            f++;

                   pFrameRGB=avcodec_alloc_frame();
                   struct SwsContext* swsContext = sws_getContext(pCodecCtx->width, pCodecCtx->height,
                           pCodecCtx->pix_fmt,
                           pCodecCtx->width, pCodecCtx->height, AV_PIX_FMT_RGB24, SWS_BICUBIC,
                           NULL, NULL, NULL);
                   if (swsContext == NULL) {
                    fprintf(stderr, "Cannot initialize the conversion context!\n");
                     exit(1);
                     };


                   sws_scale(swsContext, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameRGB->data, pFrameRGB->linesize);
                   glGenTextures(1, &VideoTexture);
                   glBindTexture(GL_TEXTURE_2D, VideoTexture);
                   glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
                   glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
                   glTexImage2D(GL_TEXTURE_2D, 0, 3, pCodecCtx->width, pCodecCtx->height, 0, GL_RGB, GL_UNSIGNED_BYTE, pFrameRGB->data[0]);
    }
    }

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

    Strangerly when I draw i get black screen, my video is not black.

    if (VideoTexture != 0)
       {
           glEnable(GL_TEXTURE_2D);
           glPushMatrix();
           glBindTexture(GL_TEXTURE_2D, VideoTexture);
           glBegin(GL_QUADS);
           glTexCoord2i(0, 0); glVertex2i(0, 0);
           glTexCoord2i(1, 0); glVertex2i(Width, 0);
           glTexCoord2i(1, 1); glVertex2i(Width, Height);
           glTexCoord2i(0, 1); glVertex2i(0, Height);
           glEnd();
           glPopMatrix();
           glDisable(GL_TEXTURE_2D);
       }
  • ffmpeg : Infinite length output when overlaying subtitles onto black image

    18 juillet 2020, par rosuav

    I'm trying to do some analysis of image-based subtitles by outputting them as a sequence of PNGs to a pipe. My command line looks like this :

    


    ffmpeg -y -i $INPUTFILE -f lavfi -i color=c=black:s=1920x1080 -filter_complex "[1:v][0:s:5]overlay[v]" -shortest -map "[v]" -c:v png -f image2pipe - | pike subspng.pike


    


    In theory, -shortest should mean that the stream stops at the shortest input, which would be roughly seven minutes of input file. Instead, my script receives an infinite sequence of black frames after the last frame of subtitles, until I send FFMPEG a SIGINT. Placing -shortest before -filter_complex has the same effect.

    


    Is there a different way to force the filtering to stop at the end of the input file ?

    


    EDIT : Using the shortest=1 flag on the overlay filter also doesn't help, even in combination with -shortest.