Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (42)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

    15 mai 2013
  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (6784)

  • Anomalie #3913 (Nouveau) : Restauration incomplète d’une sauvegarde effectuée avec la même version

    27 février 2017, par Gilles Corlobé

    J’utilise SPIP 3.2.0 dev (23435).
    J’ai effectué un dump puis une restauration de ce même fichier, à quelques heures d’intervalle.
    Pendant la restauration, je surveille le contenu de la base de données avec phpMyAdmin.
    Alors que les articles avaient été restaurés, avant le step 19, les données sont corrompues : la taille ne change pas mais les données sont inaccessibles (nombre de lignes dans spip_articles = 0, taille 41.7 Mo, perte 38.4 Mo).
    Version de PHP : 7.0.15-0ubuntu0.16.04.2
    Version du serveur : 5.7.17-0ubuntu0.16.04.1
    Apache/2.4.18 (Ubuntu)

  • Extract different camera frames (multiplex)

    22 août 2016, par Mike Issa

    I have a sequential multiplexed video with 3 cameras. These videos are being converted from VHS to DVD (.VOB format). I am using ffmpeg to extract all frames in .JPG format.

    I want to write a python script that scans for a certain object in the frame (like a constant/static object in the background) and organizes all the frames containing that object into a folder. This is the only way I can think of to separate the camera views, because as the video progresses, one of the cameras turns off for a few minutes and then turns back on, ruining the interval of 3-frames-per-camera-view sequence*.

    • I tried writing a python script that extracts every third frame (starting from the first frame for camera 1, second frame for camera 2, third frame for camera 3) into separate folders, but this did not bode well when I found out that one of the cameras switches off and then back on.

    I tried a "detection patch" method using VirtualDub found in this forum, but it didn’t work for me (not sure why).

    Should I be using numpy or openCV to find a certain block of pixels in each frame to do the organizing of camera views, or is there a simpler way ?

  • Windows Pipes STDIN and STDOUT Parent Child proc communication IPC FFMPEG

    15 octobre 2018, par Evren Bingøl

    I am writing a simple WINDOWS app which demonstrates piping,

    I pass byte size data down to child proc, increment the value and send the char size data back to parent and loop until it reaches MAX_CHAR
    Pretty much demonstration of "i++" with IPC.

    Parent Process

    while(i<256){
       bSuccess = WriteFile(g_hChildStd_IN_Wr, chBuf, sizeof(char), &dwWritten, NULL);
       bSuccess = ReadFile(g_hChildStd_OUT_Rd, chBuf, sizeof(char), &dwRead, NULL); // IF THERE IS NO FFLUSH IT BLOCKS
    }

    And in Child

    while (i<256){
           byte data=0;
           fread(&data, sizeof(char), 1, stdout);
           data++;
           fwrite(&data, sizeof(char), 1, stdout);
           //fflush(stdout); IF I DO NOT HAVE THIS  PARENT BLOCKS ON READ
    }

    First of all if I do not FFLUSH child proc stdout, the parent blocks on reading child’s stdout.

    How can one run this code without having to fflush child’s stdout.

    Closing the pipe after child’s first write is not an option as it is in a loop and needs to execute 256 times.

    more generically I want the child to write N bytes to parent, parent read that N bytes do something and write back to child another N bytes and child does something with that N bytes and write to parent N bytes. This happens M times.

    thing is I can not use fflush because my final goal is to use a child process that is not implemented by me.

    My final goal is to pipe data to FFMPEG encode the data and read back from the stdin and do this over and over again with out having to fork a new FFMPEG process for each image frame but rather fork one instance of FFMPEG and pipe data in and read data out from it. And since I did not implement ffmpeg and I can not change the source code.

    thanks

    Thanks