
Recherche avancée
Autres articles (105)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...)
Sur d’autres sites (4096)
-
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


-
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.
-
avformat/hls : add option for the m3u8 list load max times
18 novembre 2019, par Steven Liu