Advanced search

Medias (0)

Tag: - Tags -/api

No media matches your criterion on the site.

Other articles (65)

  • List of compatible distributions

    26 April 2011, by

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

  • Les tâches Cron régulières de la ferme

    1 December 2010, by

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 June 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

On other websites (7793)

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

    4 September 2013, by 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?

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

    17 January 2013, by 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.

  • Displaying Bitmaps sequentially, "like a video"

    15 July 2015, by 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?