Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (112)

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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (11799)

  • Stream video over serial port using FFmpeg [closed]

    13 septembre 2020, par Rasoul Sharifian

    I am using the FFmpeg library to stream videos by UDP and LAN cables, something like this :

    


    What we have now

    


    But as our embedding systems just have serial ports the data must stream over the serial ports.
something like this :

    


    What we are trying to achieve

    


    So the question is : Is it possible to stream videos over the serial port using the FFmpeg library ? Or is there any other library that can compress and stream videos over serial ports ?

    


    I also used a kind of Uart to ethernet converter hardware module to solve the problem and hopefully, this worked for me. But the project goal is to send video data over serial ports originally and not using some hardware converters.

    


    Any suggestions would be helpful.

    


  • Revision 7066 : suite de suppression des champs pros

    3 novembre 2012, par kent1 — Log

    suite de suppression des champs pros

  • Can't isolate pixels from av_frame_copy_to_buffer

    16 septembre 2016, par zzarzzur

    I’m trying to pull the YUV pixel data from an AVFrame, modify the pixels, and put it back into FFmpeg.

    I’m currently using this to retrieve the YUV buffer

    const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(base->format);
    int baseSize = av_image_get_buffer_size(base->format, base->width, base->height, 32);
    uint8_t *baseBuffer = (uint8_t*)malloc(baseSize);
    av_image_copy_to_buffer(baseBuffer, baseSize, base->data, base->linesize, base->format, base->width, base->height, 32);

    But I can’t seem to correctly target pixels in that buffer. From the source code they seem to be stacking the planes on top of each other, leading me to attempt this

    int width = base->width;
    int height = base->height;
    int chroma2h = desc->log2_chroma_h;
    int linesizeY = base->linesize[0];
    int linesizeU = base->linesize[1];
    int linesizeV = base->linesize[2];
    int chromaHeight = (height + (1 << chroma2h) -1) >> chroma2h;

    int x = 100;
    int y = 100;

    uint8_t *vY = base;
    uint8_t *vU = base +(linesizeY*height);
    uint8_t *vV = base +((linesizeY*height) + (linesizeU*chromaHeight));
    vY+= x + (y * linesizeY);
    vU+= x + (y * linesizeU);
    vV+= x + (y * linesizeV);

    Using that, if I try to modify pixels from a range of 300,300-400,400 I get a small box darker than the rest of the video, along with horizontal stripes of darkness along the video. The original color is still there, so I think I’m still touching the Y plane on all 3 pointers.

    How can I actually hit the pixels I want to hit ?