Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (55)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (7227)

  • Reverse video and loop 2 times ffmpeg

    13 septembre 2019, par Shahal

    I need to reverse the input video and concat it then the loop the output video twice.
    I was able to achieve reversing and concat it with original video using

    ffmpeg -i input.mkv -filter_complex "[0:v]reverse,fifo[r];[0:v][r] concat=n=2:v=1 [v]" -map "[v]" output.mkv

    But i want to stream_loop it 3 times. And also i like to know, if there’s any better ways to do it. The video will be a small one(4 seconds max.) and without audio.

  • Combining multiple pcm files with different starting times

    18 juillet 2021, par BelMat

    How do I combine multiples pcm files, with different starting times and compress it into wav with ffpmeg.js.

    


    I know I can :

    


    Transform pcm to wav

    


    ffmpeg -f s16le -ac 2 -ar 44.1k -i file.pcm file.wav


    


    Merge files with different starting times :

    


    ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp3
  -filter_complex "[2]adelay=10000|10000[s2];[3:a][1:a][s2]amix=3[a]"
  -map 0:v -map "[a]" -c:v copy result.mp4


    


    but how would I combine all of this inside JS, plus getting the files with FS (Node) and the starting time from the file name ?

    


    This is a small snippet where I tried to do all of this :

    


    function MakeAudioFile(){
    const audios = fs.readdirSync('./sound/').filter(file => file.endsWith(".pcm"));
    let result = ffmpeg({
        MEMFS: [],
        arguments: ["-f", "s16le", "-ac", "2", "--ar", "44.1k"],
    });
    audios.forEach(file =>{
        result.arguments.push('-i')
        result.arguments.push(file)
        result.MEMFS.push(fs.readFileSync(`./sound/${file}.pcm`))
    })
}


    


    But didn't get the expected result and had no idea on how to also add the starting time

    


  • - Fix for 360player to support being initialized several times (for dynamic content)

    30 septembre 2011

    m demo/360-player/script/360player.js - Fix for 360player to support being initialized several times (for dynamic content)