
Recherche avancée
Autres articles (112)
-
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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (10371)
-
Anomalie #3368 : Validation XML - Liens (links/href, etc.)
22 décembre 2014Comme je disais sur IRC :
si t’as testé et que ça passe + c’est valide alors que le code actuel ne l’est pas c’est une amélioration ;-) donc gogogo En 2.1, 3.0 et 3.1 plizzzz : it’s core/plugins/dist on the zone + core/branches...
-
Bypass validation for buttons with 'formnovalidate' attribute (same as class="cancel"). Closes gh-623
12 février 2013, par paulcichonskim jquery.validate.js m test/index.html m test/test.js Bypass validation for buttons with 'formnovalidate' attribute (same as class="cancel"). Closes gh-623
-
Combining more than 32 input files in FFmpeg
17 mai 2016, par thunderblasterI am using FFmpeg through Node.js via fluent-ffmpeg to combine a number of small audio files into one. Each of the audio files I am combining has a delayed start time (so it’s neither merging all at the same start, nor concat’ing). I can do this successfully using
aevalsrc
=0
andconcat
ing my audio file to that, and thenamix
ing everything down. However, although I couldn’t find reference to a maximum number of inputs in the documentation, I got[amix @ 0x3fcd920] Value 78.000000 for parameter 'inputs' out of range [1 - 32]
when trying toamix
78 files. Clearly there is a limit of 32 input files.Given this limitation, I am unsure of the best way to proceed. I understand that
amerge
exists, but it stops after the shortest file length, so I would need toapad
everything and I just tested it and determined thatamerge
has a limit of 64 input files, which won’t always suit my needs (I have an arbitrary number of inputs).I could
amix
32 files, store that somewhere,amix
32 more, etc, andamix
the results. I would prefer to not deal with writing temp files to disk to then have to clean up later. I considered writing the "temp" outputs to duplex Node streams and reading from them in my final mixdown, but I fear that may be rather inefficient.Below is what I am currently doing. If this is an XY problem and this is a dumb way to accomplish what I want, please let me know.
ffmpeg()
//INPUTS
.input('/drummachine/www/audio/bd/bd5025.wav')
.input('/drummachine/www/audio/bd/bd5025.wav')
.input('/drummachine/www/audio/bd/bd5025.wav')
.input('/drummachine/www/audio/sd/sd5025.wav')
.input('/drummachine/www/audio/sd/sd5025.wav')
.input('/drummachine/www/audio/rs/rs.wav')
.input('/drummachine/www/audio/rs/rs.wav')
.input('/drummachine/www/audio/rs/rs.wav')
.input('/drummachine/www/audio/cp/cp.wav')
.input('/drummachine/www/audio/cp/cp.wav')
.input('/drummachine/www/audio/cp/cp.wav')
.input('/drummachine/www/audio/oh/oh25.wav')
.input('/drummachine/www/audio/oh/oh25.wav')
.input('/drummachine/www/audio/oh/oh25.wav')
.input('/drummachine/www/audio/ch/ch.wav')
.input('/drummachine/www/audio/ch/ch.wav')
.input('/drummachine/www/audio/ch/ch.wav')
// ...
// you get the picture
// ...
.audioCodec('libmp3lame').format('mp3')
.complexFilter([
//GENERATE SILENCE TO PREPEND TO INPUTS
'aevalsrc=0:d=6.857142857142857[s78]',
'aevalsrc=0:d=0[s0]',
'aevalsrc=0:d=0.857[s1]',
'aevalsrc=0:d=1.714[s2]',
'aevalsrc=0:d=2.571[s3]',
'aevalsrc=0:d=3.429[s4]',
'aevalsrc=0:d=4.286[s5]',
'aevalsrc=0:d=5.143[s6]',
'aevalsrc=0:d=6[s7]',
'aevalsrc=0:d=0.429[s8]',
'aevalsrc=0:d=1.286[s9]',
'aevalsrc=0:d=2.143[s10]',
'aevalsrc=0:d=3[s11]',
'aevalsrc=0:d=3.857[s12]',
'aevalsrc=0:d=4.714[s13]',
'aevalsrc=0:d=5.571[s14]',
'aevalsrc=0:d=6.429[s15]',
'aevalsrc=0:d=0.536[s16]',
// ...
//CONCAT SILENCE AND AUDIO
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s0', '0:a'], outputs: 'ac0'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s1', '1:a'], outputs: 'ac1'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s2', '2:a'], outputs: 'ac2'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s3', '3:a'], outputs: 'ac3'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s4', '4:a'], outputs: 'ac4'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s5', '5:a'], outputs: 'ac5'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s6', '6:a'], outputs: 'ac6'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s7', '7:a'], outputs: 'ac7'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s8', '8:a'], outputs: 'ac8'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s9', '9:a'], outputs: 'ac9'},
{filter: 'concat', options: {v: 0, a: 1}, inputs: ['s10', '10:a'], outputs: 'ac10'},
// ...
// again, this goes on for a while
// ...
//MIX IT ALL
{filter: 'amix', options: {inputs: 78, duration: 'longest'},
inputs: ['s78', 'ac0', 'ac1', 'ac2', 'ac3', 'ac4', 'ac5',
'ac6', 'ac7', 'ac8', 'ac9', 'ac10', 'ac11', 'ac12', 'ac13',
'ac14', 'ac15', 'ac16', 'ac17', 'ac18', 'ac19', 'ac20',
// ...
'ac74', 'ac75', 'ac76'], outputs: 'out'}], 'out')
//ERROR
.on('error', function (err, stdout, stderr) {
console.log('an error happened: ' + err.message);
console.log('ffmpeg stdout: ' + stdout);
console.log('ffmpeg stderr: ' + stderr);
//SUCCESS
}).on('end', function () {
console.log('Processing finished !');
res.end();
}).pipe(res);