Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (71)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (4811)

  • SDL2.0 Alternative for SDL_Overlay

    2 février 2017, par Josh

    So I’ve been trying to go through the following tutorial on ffmpeg : http://dranger.com/ffmpeg/tutorial02.html

    However, when I try to compile using gcc, I get the following output :

    root:/Users/mbrodeur/Downloads/HACKATHON CONTENT/Tutorials-> gcc -o tutorial02 tutorial02.c -lavutil -lavformat -lavcodec -lz -lavutil -lm -lswscale -D_THREAD_SAFE -lSDL2
    tutorial02.c: In function ‘main’:
    tutorial02.c:41: error: ‘SDL_Overlay’ undeclared (first use in this function)
    tutorial02.c:41: error: (Each undeclared identifier is reported only once
    tutorial02.c:41: error: for each function it appears in.)
    tutorial02.c:41: error: ‘bmp’ undeclared (first use in this function)
    tutorial02.c:98: warning: assignment makes pointer from integer without a cast
    tutorial02.c:110: error: ‘SDL_YV12_OVERLAY’ undeclared (first use in this function)

    Now, I read that SDL_Overlay is no longer used in SDL2, so therein lies the problem. I’ve been poking around, but can’t seem to find anything helpful. Is there a replacement for SDL_Overlay ? Is it necessary ?

    SDL_Overlay is used in the following context :

    SDL_Overlay     *bmp;
    bmp = SDL_CreateYUVOverlay(pCodecCtx->width, pCodecCtx->height,
                          SDL_YV12_OVERLAY, screen);
  • libopenjpegenc : fix out-of-bounds reads when filling the edges

    13 octobre 2016, par Andreas Cadhalpun
    libopenjpegenc : fix out-of-bounds reads when filling the edges
    

    The calculation of width/height should round up, not round down to
    prevent setting width or height to 0.

    Also image->comps[compno].w is unsigned (at least in openjpeg2), so the
    calculation could silently wrap around without the explicit cast to int.

    Reviewed-by : Michael Bradshaw <mjbshaw@gmail.com>
    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>

    • [DH] libavcodec/libopenjpegenc.c
  • Streaming a video with serial port [on hold]

    23 août 2019, par kanki66

    I need an application which is streaming an video recorded by an webcam over the serial port in c#

    I opened an port and can send some data over the port. I have access to the webcam and have an picture/video on the screen. For the webcam part i used this tutorial :
    https://en.code-bude.net/2013/01/02/how-to-easily-record-from-a-webcam-in-c/

    void videoSource_NewFrame(object sender, AForge.Video.NewFrameEventArgs eventArgs)
    {
     //Cast the frame as Bitmap object and don't forget to use ".Clone()" otherwise
     //you'll probably get access violation exceptions
     pictureBoxVideo.BackgroundImage = (Bitmap)eventArgs.Frame.Clone();
    }

    How can i convert now this to an video as small as possible and send it over the serial port, without saving the video like directly to the serial port ?

    Thank you very much for the help