
Recherche avancée
Médias (33)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (39)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (4077)
-
Discord.js Music Bot ffmpeg not installed ?
16 mars 2020, par cccmdmI just started learning javascript with node.js and I am attempting to create a music bot, I’ve set up the command handler and everything, however, I keep getting this error when I try to run the play command
Error : FFmpeg/avconv not found !
at Function.getInfo (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:130:11)
at Function.create (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:143:38)
at new FFmpeg (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:44:27)
at AudioPlayer.playUnknown (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\player\BasePlayer.js:47:20)
at VoiceConnection.play (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\util\PlayInterface.js:71:28)
at C :\Users\johnd\OneDrive\Desktop\discordBot\commands\play.js:7:39
at processTicksAndRejections (internal/process/task_queues.js:97:5)I’ll post my play function below
async function playMusic(vc,songId) {
const stream = await ytdl(songId,{type: 'opus',filter : 'audioonly'});
vc.join().then(connection => {
const dispatcher = connection.play(stream,{volume: 1});
dispatcher.on('end', end => {
console.log("Song ended!");
vc.leave();
}).catch(err => console.log(err));
}).catch(err => console.log(err));
}My proof of installation : https://imgur.com/a/EFM1G6s
-
FFMPEG on Linux (Mono)
28 novembre 2016, par Paulo AnjosI’m creating a Discord Bot and I’m using Dot.Net. So I downloaded the necessary libs (ffmpeg and opus [for Discord]) and I’m running the .exe with Mono.
I’m downloading a video file (mp4) and using FFMPEG to adjust the audio (16-bit, 48000Hz, PCM, 2 channels) and send it to the Discord Channel.
It works fine on Windows but it refuses to on Linux (Ubuntu 14.04).
It justs hangs and doesn’t do anything else like
this image shows.Same .exe but in Windows now (to compare if needed) : image link
I thought it was something with my Virtual Private Server but the same problem occured with my local Ubuntu 14.04 virtual machine.
Code to send the song to Discord (Dot.Net) :
async public void playAudio(Music m)
{
string path = "mp4" + Path.DirectorySeparatorChar + m.videoid + ".mp4";
Process mProcess = Process.Start(new ProcessStartInfo
{
FileName = "ffmpeg",
Arguments = //"-loglevel quiet " +
"-i " + (char)34 + path + (char)34 + " " +
"-f s16le -ar 48000 -ac 2 pipe:1",
UseShellExecute = false,
CreateNoWindow = false,
RedirectStandardOutput = true, //stdout of the process
RedirectStandardError = false,
Verb = "runas"
});
while (!Utils.isRunning(mProcess)) { await Task.Delay(500); }
while (true)
{
int blockSize = 3840;
byte[] buffer = new byte[blockSize];
int byteCount;
byteCount = mProcess.StandardOutput.BaseStream.Read(buffer, 0, blockSize);
if (byteCount == 0)
break;
if (stop_music)
break;
bot_audio.Send(buffer, 0, byteCount); //Send to Discord
}
...
}I find a little odd the
libavresample 3. 1. 0 / 3. 1. 0
at the image (missing lib maybe ?).Any thoughts ?
-
FFMPEG how to use https dynamic url as input for amovie filter
2 juillet 2020, par Johny SharmaBasically what i am trying to do is to calling a dynamic php url which is generating a audio file for me and just want to use that file as an input for amovie filter.
I hope you have understand my question.


What i have done so far ?


I have a FFMPEG code which is :


ffmpeg-y -i 'bg-file.mp3' -c copy -map 0:0 -map 1:0 -filter_complex "amovie='/auth.php?input=string&l=hi&f.mp3':loop=999[sc][mix];[0:a][sc]sidechaincompress=threshold=0.100:ratio=20,volume=10dB:precision=fixed[bg], [bg][mix]amix=duration=first" -c:a libmp3lame -ac 2 "save.mp3"



This line is calling my dynamic url for generating the required song.


"amovie='/auth.php?input=string&l=hi&f.mp3'



Everything is working if i check them apart. but when i use them together the ffmpeg is giving the following error.


[22] => [Parsed_amovie_0 @ 0x1378140] Failed to avformat_open_input '/auth.php?input=string&l=hi&f.mp3':loop=999'
[23] => [AVFilterGraph @ 0x1368ca0] Error initializing filter 'amovie' with args '/auth.php?input=string&l=hi&f.mp3':loop=999'
[24] => Error initializing complex filters.
[25] => No such file or directory



I dont know is it possible to put a dynamically generated url as an input for amovie filter or not ?
if i open my dynamic url in browser its works like a mp3 file and play similar to any mp3 file.


using this code to play that mp3 :


header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($path));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
ob_clean();
flush();
readfile($path);
exit;



This one looks similar to my query but slightly different and that's why i am still looking for a solution


How to use https input with ffmpeg "amovie" filter ?