
Recherche avancée
Autres articles (46)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
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 (...) -
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 (...)
Sur d’autres sites (7033)
-
Converting a PCM file from Discord.js call to MP3 or WAV using ffmpeg in Node.js causes file deletion without saving it. How can I solve this issue ?
28 mai 2023, par ItsChrissI am trying to convert a pcm file, which I get from a discord call into a mp3 or wav file.
I saw a example with ffmpeg :


const ffmpeg = require('ffmpeg');

try {
 var process = new ffmpeg('path/to/pcm/file');
 process.then(function (audio) {
 audio.fnExtractSoundToMP3('path/to/new/file.mp3', function (error, file) {
 if (!error) console.log('Audio File: ' + file);
 });
 }, function (err) {
 console.log('Error: ' + err); 
 });
} catch (e) {
 console.log(e);
}



But it's not saving or creating the file, it just deletes it without an error message. how can I fixx this ?


I tried multiple methodes with other ffmpeg modules like "fluent-ffmpeg" but it didn't work eiter.


This is the code I am using to get the PCM data :


const reciever = connection.receiver.subscribe(message.author.id,
{ 
 mode: "pcm",
 end: { 
 behavior: EndBehaviorType.AfterSilence, 
 duration: 1000 
 } 
})



-
How to add multiple cookies using -cookies arugment in FFMPEG ?
11 mai 2020, par MercadoI can add a single cookie in ffmpeg by using
-cookies 'key=vale; path=/'
. The debug log will then show the cookie in the final request header. However, I have no idea how to embed multiple cookies. The documentation says I can use\n
to specify multiple cookies, but there is no example. I know I can use-headers
but when I use '-header' I get "overlong headers".


Any help ?


-
is it necessary in Anaconda for Matplotlib to install ffmpeg for animation saving ?
2 mai 2018, par Vasyl KolomietsFor animation saving I have read some propositions
1) manual installing ffmpeg this way :conda install -c conda-forge ffmpeg
2) manual installing ImageMagick and changing matplotlib configuration file "matplotlibrc" this way :
#animation.ffmpeg_args: '' # Additional arguments to pass to ffmpeg
#animation.avconv_path: 'avconv' # Path to avconv binary. Without full path
# $PATH is searched
#animation.avconv_args: '' # Additional arguments to pass to avconv
#animation.mencoder_path: 'mencoder'
# Path to mencoder binary. Without full path
# $PATH is searched
#animation.mencoder_args: '' # Additional arguments to pass to mencoder
#animation.convert_path: 'convert' # Path to ImageMagick's convert binary.
animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe
# On Windows use the full path since convert
# is also the name of a system tool.where line with pass to installed ImageMagick was added manually
animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe
Two questions :
1 - what way is better for Anaconda ?
2 - really Anaconda has no better way ????