
Recherche avancée
Autres articles (32)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Liste des distributions compatibles
26 avril 2011, parLe tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)
Sur d’autres sites (7660)
-
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








-
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.


-
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.