Advanced search

Medias (0)

Tag: - Tags -/masques

No media matches your criterion on the site.

Other articles (111)

  • MediaSPIP 0.1 Beta version

    25 April 2011, by

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

  • HTML5 audio and video support

    13 April 2011, by

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 March 2010, by

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3); le plugin champs extras v2 nécessité par (...)

On other websites (15445)

  • Combining multiple pcm files with different starting times

    18 July 2021, by 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 September 2011

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

  • Revision 92ab96a7ae: Merge "Add vp9_tm_predictor_16x16 neon implementation which is 3.5 times faster

    24 January 2014, by hkuang

    Changed Paths:
     Modify /vp9/common/vp9_rtcd_defs.sh



    Merge "Add vp9_tm_predictor_16x16 neon implementation which is 3.5 times faster
    than C."