Recherche avancée

Médias (91)

Autres articles (33)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (3027)

  • Problem with processing FFMPEG video , the output video is totally black in first 3 seconds

    13 janvier 2021, par Trần Minh Tuấn

    I want to make a slideshow by using concat demuxer like this link :
https://trac.ffmpeg.org/wiki/Slideshow

    


    Here is the textfile preinputFiles.txt :

    


    file 'path a'
duration 2
file 'path b'
duration 2
file 'path c'
duration 2
file 'path c'


    


    and my command array is :

    


    String[] cmd = new String[]{
            "-f","concat","-i",
            textFile,
            "-vsync", "vfr", "-pix_fmt", "yuv420p",
            dest.getAbsolutePath()};


    


    the video has 3 seconds that it is totally black and run from 3s to 9s even the gallery shows that it is a 6 seconds long video .

    


    Thanks for the help !

    


  • Change audio speed using ffmpeg node js

    26 juillet 2022, par Getwrong

    how do i change the speed of the song output using this function :

    



    function addAudio()
{
      console.log("adding audio...");

      ffmpeg()
      .videoCodec('libx264')
      .format('mp4')
      .outputFormat('mp4')
      .input(song)
      .input(video)
      .output(output1)
      .on('end', () => {                    
          resolve(output1);
      }).on('error', (_err) => {
          reject(_err);
      }).run();
}


    



    https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video

    



    this shows command line input but not sure how to use it in js function ?

    


  • FFMPEG execution from PHP

    13 juin 2014, par egekhter

    I’m trying to execute FFMPEG from a PHP script and could not figure out the best practice for doing so when running a background process - do we use shell_exec, exec, passthru, proc_open...?

    On https://trac.ffmpeg.org/wiki/Using%20FFmpeg%20from%20PHP%20scripts, they use an example of

    echo shell_exec("ffmpeg -y -i input.avi output.avi null >/dev/null 2>/var/log/ffmpeg.log &");

    In my code I was initially using :

    exec($cmd." 2>&1", $out, $ret);

    But then switched to :

    passthru($cmd." 2>&1", $ret);

    I chose passthru because I could actually see the encoding process in terminal, but now it’s a moot point since I’m running multiple background processes. Which is the recommended function for running background processes ?