Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (37)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (9311)

  • 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

  • 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
  • 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);