Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (73)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (11250)

  • FFMPEG : how to pick a random jpeg file from folder

    12 mai 2018, par J. J.

    I run a batch script in expert mode with the program myffvideoconverter.

    My ffmpeg code is : -i example.jpg

    I would like to choose a random jpeg file from the folder automatically instead the file "example.jpg"
    Is it possible ?
    Is it possible to copy the used file into a different folder automatically to make sure that no jpeg will be used two times ? Thank you for your help.

  • x86/dcadec : add ff_lfe_fir0_float_{sse,sse2,avx,fma3}

    5 février 2016, par James Almer
    x86/dcadec : add ff_lfe_fir0_float_sse,sse2,avx,fma3
    

    Up to 4 times faster on x86_64, 8 times on x86_32 if compiling using x87 fp math.

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/dcadsp.c
    • [DH] libavcodec/dcadsp.h
    • [DH] libavcodec/x86/Makefile
    • [DH] libavcodec/x86/dcadsp.asm
    • [DH] libavcodec/x86/dcadsp_init.c
  • 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&lt;256){
       bSuccess = WriteFile(g_hChildStd_IN_Wr, chBuf, sizeof(char), &amp;dwWritten, NULL);
       bSuccess = ReadFile(g_hChildStd_OUT_Rd, chBuf, sizeof(char), &amp;dwRead, NULL); // IF THERE IS NO FFLUSH IT BLOCKS
    }

    And in Child

    while (i&lt;256){
           byte data=0;
           fread(&amp;data, sizeof(char), 1, stdout);
           data++;
           fwrite(&amp;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