Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9052)

  • ffmpeg av_read_frame return error code -5

    17 septembre 2020, par Jianhua Zhu

    I use dll of ffmpeg read the USB camera, display the picture on the control, and save the image to the file. At first, the reading is normal. The sound and image can be saved. But after reading for a few minutes, data can not be read, av_read_frame return error code is - 5, and the camera is automatically turned off. Direct use ffmpeg.exe when I go to read the camera and save the file, it won't be a problem for hours. Anybody can you tell me how to return - 5 error code and how to deal with it ?
ffmpeg version is 4.2.3
The code like this :

    


    while (1)
{
  if ((ret = av_read_frame(m_pVidFmtCtx, dec_pkt)) == 0)
  {
    ret = avcodec_send_packet(m_pVidFmtCtx->streams[dec_pkt->stream_index]->codec, dec_pkt);
    while(ret >= 0)
    {
      ret = avcodec_receive_frame(m_pVidFmtCtx->streams[dec_pkt->stream_index]->codec, pframe);
      sws_scale(img_rgb_ctx, pframe->data, pframe->linesize, 0, cy, dstData, dstLinesize);
      var bitmap = new Bitmap(dstWidth, dstHeight, dstLinesize[0], PixelFormat.Format24bppRgb, convertedFrameBufferPtr);
    }
  }
  else
  {
    printf("Error code: %d", ret); // Here ret is -5
  }
}


    


  • Linking to libx264 library from c code Ubuntu

    30 janvier 2012, par Martin Conaghan

    I'm trying to write a small C application which uses the x264 API, and I'm having problems compiling the code with a link to the x264 libaray.

    In the /project/ directory there are two sub-folders :
    /project/mycode/ and
    /project/x264-snapshot-20120120-2245.

    I have installed x264 in the latter subdirectory using ./configure and then 'make'. As such the library I think I want to link to is /project/x264-snapshot-20120120-2245/libx264.a

    In /project/mycode/ I have a single source code file (prototype.c), which has the following imports :

    #include
    #include
    #include "../x264-snapshot-20120120-2245/x264_config.h"
    #include "../x264-snapshot-20120120-2245/x264.h"

    As expected, if I try to compile without linking to the x264 library, I get an error :

    /project/mycode: gcc -o prototype prototype.c
    /tmp/cc5NwRTp.o: In function `main':
    prototype.c:(.text+0x6c): undefined reference to `x264_param_default_preset'
    prototype.c:(.text+0xf6): undefined reference to `x264_param_apply_profile'
    collect2: ld returned 1 exit status

    So I try to link the library I mentioned above, but it isn't found :

    /project/mycode: gcc -o prototype prototype.c -I../x264-snapshot-20120120-2245/ -llibx264.a
    /usr/bin/ld: cannot find -llibx264.a
    collect2: ld returned 1 exit status

    I've tried a few variations, like :

    gcc -o prototype prototype.c -I../x264-snapshot-20120120-2245/ -l ../x264-snapshot-20120120-2245/libx264.a
    gcc -o prototype prototype.c -I../x264-snapshot-20120120-2245/ -llibx264
    gcc -I ../x264-snapshot-20120120-2245/ -llibx264.a -o prototype prototype.c

    As is probably obvious by now, I'm fairly new to this, so I'm hoping there is an easy solution

  • Anomalie #3851 (Nouveau) : Référencer code.plugins.spip.net

    31 octobre 2016, par jluc -

    À l’heure actuelle le site http://code.plugins.spip.net présente la documentation phpdoc des plugins listés dans le fichier autodoc.txt à la racine de la zone. La présentation est belle et l’actualisation est transparente et automatique.

    À ma connaissance http://code.plugins.spip.net est actuellement référencé sur irc seulement, occasionnellement.

    Il serait bien de mieux référencer cet outil en le faisant figurer dans la boussole et depuis code.spip.net et/ou depuis plugins.spip.net