Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (113)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (32415)

  • Reformat an output in Bash

    5 février 2017, par Kenneth

    I’m using this ffmpeg argument to get the black frame in a file :

    ffmpeg -i ${arrayDesFichiers[$i]} -vf "blackdetect=d=3:pix_th=0.00" -an -f null - 2>&1 | grep black_duration >> log.txt

    Now I’m getting this in my log.txt :

    [blackdetect @ 0x7fd9add06bc0] black_start:0 black_end:3.2 black_duration:3.2

    And I would like to reformat it to something like this :

    black duration : 3.2 seconds

    I’m pretty sure it’s possible in Bash but how ?

  • how to make videothumbnail from the middle of the video ?

    28 décembre 2019, par Shahrzad Nazemi

    I am using ffmpeg as my module in Node js app for making video thumbnails.the thing is , it makes it from the beginning of the Video. and some of them begins with a black frame so the thumbnail will be a black picture.I want to know how should I make it from the middle of the video so that they wont be black anymore.
    here is what I did :

    module.exports.createVideoThumbnail = function (path, destination, fileName, cb)
    {
       try
       {
           var process = new ffmpeg(path);
           process.then(function (video) {
               video.fnExtractFrameToJPG(destination, {
                   frame_rate: 1,
                   number: 1,
                   start_time: 20,
                   duration_time: 1,
                   file_name: `${fileName}`
               }, function (error, files) {
                   if (!error)
                   {
                       console.log('Frames: ');
                       cb(1)
                   }
                   else
                   { console.log(error); cb(-1); }
               });

           }, function (err) {
               console.log('Error: ' + err);
               cb(-1)
           });
       }
       catch (e)
       {
           console.log(e.code);
           console.log(e.msg);
           cb(-1)
       }
    }
  • ffmpeg how to crop and scale at the same time ?

    13 décembre 2018, par Mitchell Faas

    I’m trying to convert a video with black bars, to one without and if the source is 4k, I want the video to be converted to 1080p

    Now to do this, I’m using the following command :*

    ffmpeg -i input ... -filter:v "crop=..." -filter:V "scale=1920:-1" ouput

    But running this, I found that the end product still has said black bars and is 1920x1080 as opposed to the 1920x800 I’d expect.

    What gives, why does this not work ?

    * : Other settings have been left out for convenience.