
Recherche avancée
Autres articles (92)
-
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 (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (6335)
-
dshow : crossbar dialog was frequently being displayed twice, split up option so it...
26 janvier 2015, par rogerdpack -
lavc/movtextenc : init style record from ASS dialog style
4 avril 2020, par John Stebbins -
m4a/mp3 files to wav for Bing Speech API
17 décembre 2018, par WaqasBing Speech API only accepts wav files so I have been trying to convert m4a (Skype) and mp3 (Facebook) audio files I am getting in my chatbot to wav format. I am using fluent-ffmpeg in node.js.
For now, I am downloading the audio file, converting it to wav and returning the piped output for use ahead.
if (attachment.contentType === 'audio/x-m4a') {
request.get(attachment.contentUrl).pipe(fs.createWriteStream('file.m4a'));
var command = ffmpeg('file.m4a')
.toFormat('wav')
.on('error', function (err) {
console.log('An error occurred: ' + err.message);
})
.on('progress', function (progress) {
// console.log(JSON.stringify(progress));
console.log('Processing: ' + progress.targetSize + ' KB converted');
})
.on('end', function () {
console.log('Processing finished !');
});
return command.pipe();
}Right now, the conversion works when I send the m4a file through the botframework-emulator on my pc. But when I specify my pc as the endpoint (through ngrok) and try to send the m4a file from the chat test at the bot framework developer end, ffmpeg returns an error :
An error occurred: ffmpeg exited with code 1: file.m4a: Invalid data found when processing input
But when I play the downloaded m4a file, it plays alright.
The content URL is https in the second case if that matters.
Kindly help me with two things :
- Downloading, Converting and Returning without storing anything on my end
- Downloading/Accessing m4a/mp3 files properly
I am new to streams, pipes and ffmpeg and all the above code is after googling.