Recherche avancée

Médias (91)

Autres articles (30)

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

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

Sur d’autres sites (7647)

  • Black detect ffmpeg and use in a javascript

    6 février 2023, par sol

    I had an ffmpeg script that allow me to detect black frames from a video file sample from the bottom.

    


    and i want to create a javascript code that will allow me to do the same function sample from the bottom but its not working.

    


    original code from ffmpeg script :

    


    `ffmpeg -i LKE-BLACK.mp4 -vf "blackdetect=d=0.5:pix_th=0.10" -an -f null - 2>&1 | findstr blackdetect > output.txt

    


    node script :

    


    var fs = require('fs');
const ffmpeg = require("ffmpeg.js");

var createStream = fs.createWriteStream("data.txt");
createStream.end();

const transcode = async ({ target: { files }  }) => {
    message.innerHTML = 'Loading ffmpeg-core.js';
    await ffmpeg.load();
    message.innerHTML = 'Start transcoding';
    
    await ffmpeg.transcode('-i', 'LKE-BLACK.mp4', "-vf", "blackdetect=d=0.5:pix_th=0.10", '-an', '-f', 'null - 2>&1', );
    message.innerHTML = 'Complete transcoding';

    fs.writeFile("data.txt", function (err) {
        if (err) throw err;
        console.log('File is created successfully.');
      });
}


    


  • Adding an image in the padding area of the video instead of black color using FFMPEG

    30 janvier 2021, par Deepak Rana

    I have some videos of resolution 1280 X 720 with black padding area in both left and right side around the display area of all videos. I want to display a static image in padding area of video instead of solid black color. I am working with FFMPEG library but can't find any way to do so. Can you please help me regarding this ?

    


    Thank You !

    


  • How to speed up black video creation with FFMPEG ?

    2 décembre 2017, par Rick Sullivan

    I have been generating static black videos as backgrounds using FFMPEG’s color source. This works fine for smaller and shorter videos, but I need to be able to generate long 1080p black videos quickly.

    For example, I can generate a two hour long 1080p@30fps video using :

    ffmpeg -f lavfi -i color=black:s=1920x1080:r=30 -t 7200 test.mp4

    But this will take over 45 minutes to run.

    There are options that speed up runtime, like using the ultrafast preset :

    ffmpeg -f lavfi -i color=black:s=1920x1080:r=30 -preset ultrafast -t 7200 test.mp4

    Which will take around 20 minutes to run. Better, but not good enough for doing this en masse.

    Are there any other options to drastically speed up runtime ?

    Intuitively, I am generating a static video where only video duration varies, so it seems like there should be an approach that is restricted only by disk write speed. All of these options are very CPU intensive and seem to be doing more processing than is necessary for my use case.