
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 (99)
-
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8073)
-
Anomalie #4306 : Erreur détection code mal formé
6 mars 2019, par jluc -décidément la balise code se rebelle. En pseudo html c’est :
code /onglet /code cadre $onglet2 = ($quoi == ’actifs’ ? ’plugins_actifs’ : ’admin_plugin’) ;Retour ligne automatique /cadre
Ou sinon voir là : https://contrib.spip.net/ecrire/?exec=article&id_article=5117
-
Use correct iso code for swedish
3 avril 2012, par Markus Nilssonm localization/messages_sv.js Use correct iso code for swedish Fixes #18
-
Error : ffmpeg exited with code 2 - Docker Container
15 avril 2020, par Vincenzo AstaI created a Docker Container that when I run I get this error (Why do I get this error ? It works locally) :



{
 "message": "Error: ffmpeg exited with code 2
 at ChildProcess.<anonymous> (/app/lib/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
 at emitTwo (events.js:126:13)
 at ChildProcess.emit (events.js:214:7)
 at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)"
}
</anonymous>



Below, the part of code where I get the error (in particular the execution goes into reject) :



var ffmpeg = require('fluent-ffmpeg');

module.exports = (sourcePath, outputPath, af, outputFormat="mp3") => {
 return new Promise((resolve, reject) => {
 let proc = new ffmpeg({ source: sourcePath, nolog: true });
 proc.audioQuality(0);
 proc.audioFilters(af);
 proc.setFfmpegPath(__dirname + "/ffmpeg-20180325-5b31dd1-win64-static/bin/ffmpeg.exe");
 proc.toFormat(outputFormat).on('end', function () {
 resolve();
 })
 .on('error', function (err) {
 reject(err);
 })
 .saveToFile(outputPath);
 })
}




My Dockerfile :



FROM node:8.11.1

WORKDIR /app

COPY package*.json /app/

RUN npm install

COPY . /app/

EXPOSE 8000

CMD [ "node", "app.js" ]




My package.json :



{
 "name": "",
 "version": "1.0.0",
 "description": "",
 "main": "app.js",
 "author": "",
 "license": "ISC",
 "dependencies": {
 "express": "^4.16.4",
 "azure-storage": "^2.1.0",
 "crypto": "^0.0.3",
 "ffmpeg": "^0.0.4",
 "ffmpeg-normalize": "^1.3.0",
 "fluent-ffmpeg": "^2.1.2",
 "fs": "^0.0.1-security",
 "jmespath": "0.15.0",
 "mp3-duration": "^1.1.0",
 "striptags": "^3.1.1"
 }
}