Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (95)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (9058)

  • Change gray pixel to black pixels in video

    12 janvier 2023, par yabru

    I want to change every gray pixel in my video with the (r,g,b) 158,158,158 to black 0,0,0

    &#xA;

    I've tried the solution of THIS post, but backwards. I just do not understand the syntax.

    &#xA;

    ffmpeg -y -I my_video.mp4 -c copy -c:v libx264 -preset ultrafast -vf "yadif,format=rgb24, lutrgb=r=&#x27;if(eq(val,158),0,val)&#x27;:g=&#x27;if(eq(val,158),0,val)&#x27;:b=&#x27;if(eq(val,158),0,val)&#x27;" my_video_fixed.mp4

    &#xA;

    ^ doesn't change anything

    &#xA;

    could anyone help me modify my command (with an explanation of the solution) :)

    &#xA;

    version : ffmpeg version 5.1.2

    &#xA;

  • Overlaying one video on another one, and making black pixels transparent

    25 janvier 2023, par Michael A

    I'm trying to use FFMPEG to create a video with one video overlayed on top another.

    &#xA;&#xA;

    I have 2 MP4s. I need to make all BLACK pixels in the overlay video transparent so that I can see the main video underneath it.

    &#xA;&#xA;

    I found two ways to overlay one video on another :

    &#xA;&#xA;

    First, the following positions the overlay in the center, and therefore, hides that portion of the main video beneath it :

    &#xA;&#xA;

        ffmpeg -i 1.mp4 -vf "movie=2.mp4 [a]; [in][a] overlay=352:0 [b]" combined.mp4 -y&#xA;

    &#xA;&#xA;

    And, this one, places the overlay video on the left, but it's opacity is set to 50% so at least other one beneath it is visible :

    &#xA;&#xA;

    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]setpts=PTS-STARTPTS[top]; [1:v]setpts=PTS-STARTPTS, format=yuva420p,colorchannelmixer=aa=0.5[bottom]; [top][bottom]overlay=shortest=0" -acodec libvo_aacenc -vcodec libx264 out.mp4 -y&#xA;

    &#xA;&#xA;

    My goal is simply to make all black pixels in the overlay (2.mp4) completely transparent. How can this be done.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    original code from ffmpeg script :

    &#xA;

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

    &#xA;

    node script :

    &#xA;

    var fs = require(&#x27;fs&#x27;);&#xA;const ffmpeg = require("ffmpeg.js");&#xA;&#xA;var createStream = fs.createWriteStream("data.txt");&#xA;createStream.end();&#xA;&#xA;const transcode = async ({ target: { files }  }) => {&#xA;    message.innerHTML = &#x27;Loading ffmpeg-core.js&#x27;;&#xA;    await ffmpeg.load();&#xA;    message.innerHTML = &#x27;Start transcoding&#x27;;&#xA;    &#xA;    await ffmpeg.transcode(&#x27;-i&#x27;, &#x27;LKE-BLACK.mp4&#x27;, "-vf", "blackdetect=d=0.5:pix_th=0.10", &#x27;-an&#x27;, &#x27;-f&#x27;, &#x27;null - 2>&amp;1&#x27;, );&#xA;    message.innerHTML = &#x27;Complete transcoding&#x27;;&#xA;&#xA;    fs.writeFile("data.txt", function (err) {&#xA;        if (err) throw err;&#xA;        console.log(&#x27;File is created successfully.&#x27;);&#xA;      });&#xA;}&#xA;

    &#xA;