Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (60)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Anomalie #4087 (Fermé) : Division par 0 dans couleurèsaturation avec couleur FFFFFF en majuscule

    3 février 2018, par jluc -

    Le code de couleur_saturation
    https://zone.spip.org/trac/spip-zone/browser/_core_/plugins/filtres_images/filtres/couleurs.php#L134
    compare la valeur de la couleur à ’ffffff’ avec ’==’

    Du coup c’est sensible à la casse, la valeur FFFFFF n’est pas reconnue et provoque une division par 0 3 lignes plus loin.

    Il faudrait faire une comparaison insensible à la casse

  • Graphics Magick output wrong colour when converting png to jpeg node js

    13 mai 2016, par Craig Wheatley

    Background is, I’m splitting a video (mp4, mov) into PNG frames using FFMPEG, then converting those to jpeg with GraphicsMagick.

    So I’m using GraphicsMagick in NodeJS, from here and below is a snippet :

    var gm = require('gm').subClass({imageMagick: true});

    gm('input.png')
    .write('output.jpg', (err) => {
     if (err) return console.log(err);
     console.log('done');
    });

    But the output jpeg colour is either washed out, or too dark.
    See here for the output. The original video is left (mov) and the converted JPEG’s are middle and right.
    The middle one, is the node app running on Heroku and the right image is the node app on my osx machine.

    I’ve read it could be to do with ’profiles’ but this doesn’t seem to make a difference :

    .profile('sRGB.icc')

    ’sRGB.icc’ is a colour profile I’ve downloaded.

    Any ideas ?

    I’ve also tried setting the colours amount to 16,777,216, tried setting the bit depth to 8 and 16, tried setting the colourspace to ’rgb’ to no avail.

  • Moving files into sub folders based by average filesize

    5 février 2016, par darkshaed

    I need the help of you programming savants in creating a batch script or powershell script that will move and divide a group of files from one directory into 4 subdirectories based on an average total filesize. After the sort, the sub-directories should be roughly equal in terms of folder size.

    Why do I need this ?

    I have 4 computers that I would like to utilize for encoding via FFMPEG and it would be helpful for a script to divide a folder into 4 parts (sub-directories) based on a total average size.

    So lets say there are an assortment of movie files with varying different file sizes totaling to 100 GB, the script would divy the movie files and move them into 4 sub folders ; each folder having around 25 GB. Doing this will allow the 4 machines to encode the sum of the data equally and efficiently.

    After all that encoding I’ll have 2 files, XYZ.(original Extension) and XYZ.264, A script that could compare the 2 files and delete the larger file would be extremely helpful and cut down on manual inspection.

    Thank you, I hope this is possible.