Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (58)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (11408)

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

  • 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)
       }
    }
  • 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 ?