
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (25)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (3256)
-
avformat/hls : add option for the m3u8 list load max times
18 novembre 2019, par Steven Liu -
Reverse video and loop 2 times ffmpeg
13 septembre 2019, par ShahalI 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 usingffmpeg -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 BelMatHow 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