Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (105)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (12150)

  • ffmpeg module saving not working after compression

    27 août 2022, par nickcoding2

    I'm just trying to save an mp4 to a different mp4 (before I even start playing around with the different compression settings). What exactly is going wrong here ?

    


    const ffmpeg = require('ffmpeg');

try {
    var process = new ffmpeg('./original.mp4');
    process.then(function (video) {
        video
        .save('./new.mp4', function (error, file) {
            if (!error) {
                console.log('Video file: ' + file);
            } else {
                console.log(error)
            }
        });
    }, function (err) {
        console.log('Error: ' + err);
    });
} catch (e) {
    console.log(e.code);
    console.log(e.msg);
}


    


    I get the following error :

    


    Error: Command failed: ffmpeg -i ./original.mp4  ./new.mp4
/bin/sh: ffmpeg: command not found

    at ChildProcess.exithandler (child_process.js:390:12)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1055:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
  killed: false,
  code: 127,
  signal: null,
  cmd: 'ffmpeg -i ./original.mp4  ./new.mp4'
}


    


  • Make video from individual frames (PNGs) and add audio track

    30 novembre 2020, par IntergalacticSpaceMonkey

    I have been working on a video processing tool that takes each frame from an input video and saves the result as a series of images. So, in essence, if my video has a length of 5 minutes, and has 25 fps, I will get 7500 individual frames.

    


    What I want is then to put this back into a video format, but at the same time also add the audio track from the original source. Is this possible with ffmpeg ? Also, would it be possible to automatically determine the fps on the original video source and then use this as fps value for ffmpeg for the video + audio track in the new video file ?

    


  • FFMPEG & boxblur, alignment

    26 décembre 2020, par Дмитрий Варзанов

    enter image description here

    


    This is the original frame. It is necessary to bring it to a height of 594, and reduce the width in the proportion of Perform-vf "scale=-2:594", done. At the output, we have a height of 594, and a width of even less.

    


    But, the image width should be 1056, while not stretching the frame. That is, add curbs

    


    ffmpeg -i file -ss 10 -lavfi "[0:v]scale=1056:594,boxblur=luma_radius=min(h\,w)/50:chroma_radius=min(cw\,h)/50[bg];[bg][0:v]overlay=(W-w)/2:0" -vframes 1 output_image1.jpg


    


    The whole day I tried to set it up correctly, but it doesn't work out. The result is a width of 1056 and a height of 594. At the same time, the original frame, or rather the entire frame, did not fit in height. Cut from the bottom

    


    enter image description here

    


    How to perform so that the original frame is not cut off and the borders are called shadow. Was at the level of
enter image description here