Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (88)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7217)

  • Displaying Bitmaps sequentially, "like a video"

    15 juillet 2015, par Wamasa

    I’m trying to reproduce a video that is not android supported (like a .wmv video) in my app, and actually I’m able to grab every frame and create a Bitmap of it.

    So, now, I’m trying to show those bitmaps in a VideoView (or any other view), sequencially, something like a video.

    Some code :

    while (true) {
                   frame = frameGrabber.grab();
                   if (frame == null)
                       break;
                   frame2 =
                           IplImage.create(frame.width(), frame.height(),
                                   opencv_core.IPL_DEPTH_8U, 4);
                   opencv_imgproc.cvCvtColor(frame, frame2,
                           opencv_imgproc.CV_BGR2RGBA);

                   bm =
                           Bitmap.createBitmap(frame2.width(),
                                   frame2.height(), Bitmap.Config.ARGB_8888);
                   bm.copyPixelsFromBuffer(frame2.getByteBuffer());
                   canvas = new Canvas(bm);
                   mVideoView.draw(canvas);
                   canvas.save();

    It looks like I can grab every frame of the video (using ffmpeg), but I just don’t know how to display them.

    By the way, I’ve already tried encoding this video to a .mp4 file and playing it on the VideoView, but it takes much time to process the whole video (1 hour), so, now, I’m trying to display it right away, without encoding it do .mp4 (or any other android supported video)

    Any advices ?

  • VLC libx264 build error - "undefined reference to 'x264_encoder_open_128'"

    17 janvier 2013, par Tyler Scott

    Primary issue

    Steps to attempt to repeat this error.

    • Download latest git (git ://git.videolan.org/x264.git).
    • Run ./configure - You can use any options, the error is present with all.
    • Run sudo make - It will compile all of the code but when it comes time to link the code it runs into the error

      /usr/local/lib/libavcodec.a(libx264.o) : In function 'X264_init' :
      /.../libx264.c:418 : undefined reference to 'x264_encoder_open_128'

    This will then fall out and exit make. I have removed all apt packages relating to x264. I have searched my computer for any possible libraries that might be related and removed them. This problem persists. Can someone explain what is going wrong and the simplest way to solve this ?

    Additional info

    This error also shows up when building avconv. It also fails at linking time with the same error. So I can assume it is nothing wrong with that directory or source.

  • ffmpeg avformat_open_input always returns "Protocol not found" rv=(-1330794744)

    4 septembre 2013, par bzivkovic

    Trying to get ffmpeg working in Visual Studio 2010. So far all ffmpeg headers and libs are loaded, no error or warning occurs.

    avcodec_register_all();
    AVFormatContext *pFormatCtx = NULL;
    char errbuf[256];
    pFormatCtx = avformat_alloc_context();
    int rv = avformat_open_input(&pFormatCtx, "myfile.ext", NULL, NULL);
    if (rv!=0){                              
       av_strerror(rv, errbuf, sizeof(errbuf));
    }

    The problem is, avformat_open_input always returning -1330794744 (errbuf="Protocol not found"). Tried x86 & x64 headers and libs on 32bit XP and 64bit W7. Whatever I put for "myfile.ext" (tried "file1.avi", "file=c :\file1.avi", "http://www.someweb.com/file1.avi", and even empty char* "") response is always "Protocol not found". Any ideas ?