
Recherche avancée
Médias (1)
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (73)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11250)
-
avformat/dhav : Do not evaluate avio_size() multiple times
6 juin, par Michael Niedermayeravformat/dhav : Do not evaluate avio_size() multiple times
Code like FFMIN(MAX_DURATION_BUFFER_SIZE, avio_size(s->pb)) is not safe
as FFMIN() is a macro and avio_size() is thus evaluated multiple
timesReviewed-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
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