Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (105)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • 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

Sur d’autres sites (11533)

  • Get rotation information from javacv ffmpeg FrameGrabber

    9 février 2015, par pept

    I am using FFMPEG from the JavaCV library to extract all pictures of a movie (solution found here : How can I get a frame sample (jpeg) from a video (mov)). This is my code which works fine :

           grabber.start();
               int size = grabber.getLengthInFrames();
               for (int i = 0; 0 < size; i++) {
                   File destination = new File(directory, i + ".png");
                   if (!destination.exists()) {
                       ImageIO.write(grabber.grab().getBufferedImage(), "png",
                               destination);
                   }
                   setProgress((int) ((float) i / size * 100));
               }
               grabber.stop();

    However, the pictures are rotated by 90 degrees when I extract them. The output in command line after grabber.start() ; contains the following lines :

    rotate          : 90

    and

    displaymatrix: rotation of -90.00 degrees

    which indicates that it detects the rotation.

    My question is : How can i programmatically get the rotation to rotate them back myself or a way to get the normalized picture with the library ?

  • Use OpenH264 instead of libx264 in ffmpeg ?

    26 août 2020, par MING

    I use node-fluent-ffmpeg module to call ffmpeg.exe in my node.js app

    


    How to use OpenH264 when calling ffmpeg.exe ?

    


    Do I need to recompile ffmpeg ?

    


    But compiling ffmpeg looks complicated...

    


    The actual code is probably like this

    


    var FfmpegCommand = require('fluent-ffmpeg');
var FFMPEG_PATH = "C:/ffmpeg/bin/ffmpeg.exe" // binary file
FfmpegCommand.setFfmpegPath(FFMPEG_PATH)

FfmpegCommand("dog.webm", {})
    .videoCodec('libx264')
    // command line 
    // .addOutputOption([
    //     '-threads 8'
    // ])
    .on('start', function (commandLine) {
        // Actual ffmpeg command
        // ffmpeg -i C:\Users\ming\Pictures\WEBCAMCAPTURE\dog.webm -y -vcodec libx264 C:\Users\ming\Pictures\WEBCAMCAPTURE\dog_x264.mp4
        console.log('command' + commandLine)
    })
    .on('progress', function (progress) {
        console.log('Processing: ' + progress.percent + '% done')
    })
    .on('end', function () {
        console.log('Finished')
    })
    .save("dog_x264.mp4")



    


    English isn’t my first language, so please excuse any mistakes.

    


  • Use OpenH264 instead of libx264 in ffmpeg ?

    26 août 2020, par MING

    I use node-fluent-ffmpeg module to call ffmpeg.exe in my node.js app

    


    How to use OpenH264 when calling ffmpeg.exe ?

    


    Do I need to recompile ffmpeg ?

    


    But compiling ffmpeg looks complicated...

    


    The actual code is probably like this

    


    var FfmpegCommand = require('fluent-ffmpeg');
var FFMPEG_PATH = "C:/ffmpeg/bin/ffmpeg.exe" // binary file
FfmpegCommand.setFfmpegPath(FFMPEG_PATH)

FfmpegCommand("dog.webm", {})
    .videoCodec('libx264')
    // command line 
    // .addOutputOption([
    //     '-threads 8'
    // ])
    .on('start', function (commandLine) {
        // Actual ffmpeg command
        // ffmpeg -i C:\Users\ming\Pictures\WEBCAMCAPTURE\dog.webm -y -vcodec libx264 C:\Users\ming\Pictures\WEBCAMCAPTURE\dog_x264.mp4
        console.log('command' + commandLine)
    })
    .on('progress', function (progress) {
        console.log('Processing: ' + progress.percent + '% done')
    })
    .on('end', function () {
        console.log('Finished')
    })
    .save("dog_x264.mp4")



    


    English isn’t my first language, so please excuse any mistakes.