
Recherche avancée
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (8514)
-
Streaming ffmpeg output directly to dispatcher
4 novembre 2020, par PP_HyperionI'm trying to play music with my discord bot and I want to use ffmpeg to specify the start of the music, which works perfectly fine, but I can only download the music with ffmpeg and then play it. I want ffmpeg to process it and then also stream it to play the music.



Here is the code I use to download and then play the music :



message.member.voiceChannel.join().then((con, err) => {
 ytPlay.search_video(op, (id) => {
 let stream = ytdl("https://www.youtube.com/watch?v=" + id, {
 filter: "audioonly"
 });
 let audio = fs.createWriteStream('opStream.divx');

 proc = new ffmpeg({
 source: stream
 })
 proc.withAudioCodec('libmp3lame')
 .toFormat('mp3')
 .seekInput(35)
 .output(audio)
 .run();
 proc.on('end', function() {
 let input = fs.createReadStream('opStream.divx');
 console.log('finished');
 guild.queue.push(id);
 guild.isPlaying = true;
 guild.dispatcher = con.playStream(input);
 });
 });
})




Is it possible to do what I want and if yes how ?


-
ffmpeg - video with looped audio
5 septembre 2013, par mete7I have image 14 image files(jpg) and 1 audio file(mp3). I generated a video from images with FFMPEG using that code :
ffmpeg -r 1/3 -i img%d.jpg nomusic.avi
The video is 42 seconds (14*3=42). And than i want to add music so i used this code :
ffmpeg -r 1/3 -i img%d.jpg -i loop1.mp3 -y withmusic.avi
The problem is my music file is 10 second longer so the music goes in the 10 second of video. I want to make the music looped during the video.
NOTE : I use Win7
-
Adding background audio in FFMPEG, but quieting it if there is sound in another channel
9 septembre 2021, par Connor BellI'm appending several videos together with FFMPEG. Some of these videos have accompanying audio, and some do not.


I'd like to add music in the background, and have found out how to do so from here. However, I'd like the background music to be (let's say 80%) quieter if there is already audio in that video. Note that all videos have a null audio track, so just checking for the existence of an audio track isn't sufficient.


My current process is :


- 

- Take source videos, add a null audio source and upscale (The null audio source is required for ffmpeg-concat to work due to a bug, I think)
- Combine the videos using ffmpeg-concat






Preferably, adding the background music should be the third step, as splitting the background music prior to combining the videos sounds more complex, but I may be wrong.