Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (52)

  • 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 (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

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

Sur d’autres sites (5894)

  • Running ffmpeg with multiple pipes

    13 août 2017, par baci

    Is there a way to let ffmpeg read from multiple buffers or multiple named pipes ?

    Basically I want to output the first loop to different pipes instead of .jpg files, and run the video filter command using those pipes as input. Right now enormous disk IO is needed to create and read jpg tiles.

    // heic -> tiles -> jpeg tiles
    #pragma omp parallel for
       for(uint i = 0; i < data.tiles.size(); ++i) {
           char buff[100];
           snprintf(buff, sizeof(buff), "./tmp/%03d.jpg", data.tiles[i].idx);
           std::string cmdStr = "ffmpeg -i - -loglevel warning -frames:v 1 -vsync vfr -an -q:v 1 " + std::string(buff);
           FILE * pipe_in;
           if(pipe_in = popen(cmdStr.c_str(), "w")) {
               fwrite((char*)&data.tiles[i].data[0], 1, data.tiles[i].data.size(), pipe_in);
               fflush(pipe_in);
               fclose(pipe_in);
           }
       }

    ... some processing

    // jpeg tiles -> big jpeg
    std::string inputStr = "./tmp/%03d.jpg";
    std::string cmdStr = "ffmpeg -i " + inputStr +
           " -loglevel warning -threads 4 -q:v 1 -vf \"tile=" + std::to_string(data.cols) + "x" + std::to_string(data.rows) +
           ",crop=" + std::to_string(data.width) + ":" + std::to_string(data.height) + ":0:0" +
           transStr + "\" -y " + outputStr;
    ret = std::system(cmdStr.c_str());
  • Anomalie #1701 (Fermé) : mauvais tri dans boucles de forum

    27 juin 2011, par cedric -

    Produit la requete normale SELECT forum.date_thread, id_thread, forum.id_thread, forum.id_forum FROM spip_forum AS ’forum’ WHERE (forum.statut = ’publie’) AND (forum.id_parent = 0) GROUP BY id_thread ORDER BY forum.date_thread DESC Je ne vois pas de bug, et si je test j’ai bien une date_thread (...)

  • Revision 65614 : Notification des forums : c’est du contenu html mis en forme par des ...

    6 septembre 2012, par cedric@… — Log

    Notification des forums : c’est du contenu html mis en forme par des raccourcis spip, le conserver intact pour l’envoyer dans un mail html plutot que le transformer en texte pour faire un mail texte puis re formater le mail en html par un wrapper qui perd des mises en forme.
    On utilise le wrapper pour formater le mail directement en html, et on le fournit a la fonction notifications_envoyer_mails avec les bons arguments.
    Si pas de plugin facteur, c’est le mail texte qui est utilisé, comme avant.