
Recherche avancée
Autres articles (56)
-
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (7148)
-
FFMPEG How to join the audio of one song into the instrumental of another song
28 mai 2020, par Patrice AndalaThe Problem :



So I am creating an android app where people can upload music and I want people to be able to take the vocals of one song and the instrumental from another song and merge them to create a different song, and I think the android FFMPEG library is the best way to accomplish this.



What I've been able to do :



1.) I have been able to get the instrumental from a song using this command :
-i audio1.mp3 -af pan='stereo|c0=c0|c1=-1*c1' -ac 1 output.mp3
But the job isn't so good, since I can still hear some audio in the background and not all the audio is removed.


2)I've been able to join two audio files using the command
-y -i audio1.mp3 -i audio2.mp3 -filter_complex '[0:0][1:0] amix=inputs=2:duration=longest' -c:a libmp3lame output.mp3



What I need



1) I need to be able to strip just the vocals of a song. Is there an FFMPEG command to do this ?



2)I need a better command to get me the instrumental of the song, since the one I'm using is not goood enough.



3) I need a command that will help me determine the starting point of a song in an instrumental, so that I know where to place the new vocals when I finally merge them.



4) How to get the bpm of an audio file with ffmpeg, since I know songs mix well when their bmp is almost similar



Any help in any of these areas is greatly appreciated.


-
Batch Copy Cover Art from One Song to Another (Identical File Names)
19 juillet 2020, par LeLwrenceI'm looking for a way to copy the album art from one set of songs to another set of the same songs that don't have the album art. FFMPEG copies the text tags (artist, album, title...) perfectly, but will not copy the embedded album artwork.



I've been trying to batch convert my folder of MP3s into 128k AAC (using FFMPEG and the
libfdk-aac
codec) files to save space on my phone, but it hasn't copied my album art over to the new songs.
I used the following batch command :


FOR /F "tokens=*" %%G IN ('dir /b *.mp3') DO ffmpeg -i "%%G" -c:a libfdk_aac -b:a 128k "%%~nG.m4a"




EDIT : I tried using the following command to test it out, because stream 0:0 is the audio, and stream 0:1 is the JPEG, however it did not work :



ffmpeg -i Estranged.mp3 -map 0:0 -map 0:1 -c:a libfdk_aac -b:a 128k -c:v copy Estranged.m4a




Here's a paste of the log : http://pastebin.com/dZFsvR7F (I know, it's not the latest version. I had trouble compiling it myself but I'm currently working on it.)



Is there a way to copy the album art (or entire tag, if need be) from songs with an identical name in one folder to the songs in the new folder ?



I.E.
C:\Folder1\song.mp3
→C:\Folder2\song.m4a



Thanks.


-
issue with ffmpeg (not loading song ?) - ffmpeg stream : write EPIPE
15 novembre 2020, par superissue : with some songs that i play through the
StreamDispatcher
from the discord.js module (seems to be ones that have silences at the beginning), the dispatcher will almost immediately finish and throw an error. i use the ffmpeg-static module.

from what i've seen, these are the two errors that i'm receiving from calling the "debug" and "error" events of the dispatcher


Error: ffmpeg stream: write EPIPE


Error [ERR_STREAM_DESTROYED]: ffmpeg stream: Cannot call write after a stream was destroyed


reproducible code sample (requires ytdl-core) :


/**
* @param {Discord.VoiceConnection} connection 
* @param {String} url 
*/
async function run(connection, url) // assuming these two variables aren't null
{
 const video = ytdl(url, { highWaterMark: 5242880 });
 video.on("error", (err) => console.log(err));
 let dispatcher = connection.play(video);
 dispatcher.on("finish", () => console.log("finished"));
 break;
}
// recommended url: https://www.youtube.com/watch?v=Auk1oVI2Icw
// (this is one i've been using to test this issue)



original code from my project plus some comments from guiding :


async play() // this is my function for playing music on the bot
{
 if (this.queue.length === 0) return;
 if (!this.guild.me.voice || !this.guild.me.voice.channel) return;
 let connection = this.guild.me.voice.connection;
 if (!connection) return;
 if (connection.dispatcher) return;
 let track = this.queue[0];
 let channel = this.guild.channels.cache.get(track.channelID);
 switch (track.type)
 {
 //case "soundcloud" omitted
 case "youtube":
 {
 const video = ytdl(track.url, { highWaterMark: 5242880 });
 video.on("error", (err) => console.log(err));
 channel.send(`playing: **${track.name}** // requester: **${track.requester.tag}**`);
 let dispatcher = connection.play(video); // dispatcher will begin
 dispatcher.setVolume(this.volume);
 dispatcher.on("finish", () => this.finish()); // almost immediately the following will be called
 // fyi: there isn't anything special in the function called, just some code to shift the queue
 break;
 }
 }
}



details :


- 

- discord.js version : 12.4.1
- node.js version : v12.18.3
- operating system : windows 10