
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (68)
-
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8479)
-
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.
-
Video codec not supported error when adding audio to mp4
18 février 2019, par WPMedI work on an application which you can use to make still photos move. It’s basically a png sequence to mp4 converter.
Recently we introduced a feature where users can add sound effects to the video.
Since we released this feature, some users experience problems with the exported video. When they save the file and try to play it, they get a "Video codec not supported" error message. All they get is a black screen, and the audio playing in the background. I use FFmpeg to add audio (in mp3 format) to the mp4 video.
Here’s an example video, which plays fine on my Mac and on my Samsung Galaxy S6 and S8, but buggy on Samsung SM-A310F (Android 7.0). This is how it looks like on the device.
I tried to re-encode this video with all the FFmpeg commands I could find, but none of them seemed to work. Can someone spot something that’s not compatible with Android by analyzing the video I linked ? -
The duration of movie file recorded by AVAssetWriter is not correct
1er mars 2016, par ideawuI am recording video files with AVAssetWriter combining with AVCaptureVideoDataOutputSampleBufferDelegate. So I can take control over every frame the camara gives in the method :
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection{
double time = CMTimeGetSeconds(CMSampleBufferGetPresentationTimeStamp(sampleBuffer));
NSLog(@"%f", time);
[_videoInput appendSampleBuffer:sampleBuffer];
}So I am so sure how many samples have been written to AVAssetWriter via AVAssetWriterInput, and I know exactly the start time and end time of the samples being written. The duration is calculated by
end_time - start_time
. Say the duration calculated in the video capture programm is0.5
second.I get the .mov/.mp4 file on disk, inspected with ffmpeg -i, it shows a very different duration.
ffmpeg -i m003.mp4 2>&1 | grep Dura
Duration: 00:00:01.37, start: 0.836667, bitrate: 95 kb/sThe movie file show a duration of
1.37
seconds, which it’s quite different with the EXACT duration0.5
.Does any one knows the reason ?