
Recherche avancée
Autres articles (33)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (3644)
-
ffmpeg install within existing Node.js docker image
1er septembre 2021, par PezaI need to use ffmpeg in a Node.js application that runs in a docker container (created using docker-compose). I'm very new to Docker, and would like to know how to command Docker to install ffmpeg when creating the image.



DockerFile



FROM node:carbon
WORKDIR /usr/src/app

# where available (npm@5+)
COPY package*.json ./
RUN npm install -g nodemon
RUN npm install --only=production
COPY . .

EXPOSE 3000
CMD [ "npm", "start" ] 




package.json :



{
 "name": "radcast-apis",
 "version": "0.0.1",
 "private": true,
 "scripts": {
 "start": "node ./bin/www",
 "dev": "nodemon --inspect-brk=0.0.0.0:5858 ./bin/www"
 },
 "dependencies": {
 "audioconcat": "^0.1.3",
 "cookie-parser": "~1.4.3",
 "debug": "~2.6.9",
 "express": "~4.16.0",
 "firebase-admin": "^5.12.1",
 "http-errors": "~1.6.2",
 "jade": "~1.11.0",
 "morgan": "~1.9.0"
 },
 "devDependencies": {
 "nodemon": "^1.11.0"
 }
}




docker-compose.yml :



version: "2"
services:
 web:
 volumes:
 - "./app:/src/app"
 build: .
 command: npm run dev
 ports:
 - "3000:3000"
 - "5858:5858"



-
UnsupportedAudioFileException in LIUM Speaker Diarization after re-sampling
14 septembre 2016, par RAVI D PARIKHI am trying to configure LIUM tool for speaker diarization. This question is a follow up of UnsupportedAudioFileException in LIUM Speaker Diarization
I have tried re sampling the file using sox and ffmpeg
I am new to any sorts of programming and i have followed all steps described in LIUM quick start guide and the above link. I still get the same error. I think my input file has issues related to header as mentioned by Nikolay Shmyrev in the above link however i have no clue on how to solve it.
My code is as below :
java –jar C:\Users\Ravi\Desktop\LIUM_SpkDiarization-8.4.1.jar \ --fInputMask= C:\Users\Ravi\Desktop\converted_f2.wav--sOutputMask= C:\Users\Ravi\Desktop\converted_converted_2.seg -–help --doCEClustering
Error :
10:52.037 SEVERE AudioFeatureSetFa FileNotFoundException
java.io.FileNotFoundException:
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.media.codec.audio.mp3.JS_MP3FileReader.getAudioFileFormat(JS_MP3FileReader.java:82)
at javax.sound.sampled.AudioSystem.getAudioFileFormat(Unknown Source)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.getAudio(AudioFeatureSetFactory.java:162)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.MakeFeature(AudioFeatureSetFactory.java:207)
</init>The input file is at https://drive.google.com/file/d/0B7Fqe9EX5JbgT09BcXpSREd4em8/view?usp=sharing
Input File Name:converted_f2.wav
I have put the command and the full output of the prompt in a word document at
https://drive.google.com/file/d/0B7Fqe9EX5JbgUUl6THNCZFgxRnM/view?usp=sharing
The inpiut file has correct sampling rate and other parameters and thus i am not able to understand the cause of the error.
Thanks a lot for the helpRegards,
Ravi -
Anomalie #4457 (Fermé) : Affichage incorrect des notes (dans un cas un peu alambiqué !)
16 mars 2020, par YannX SpipBonsoir,
Me rédigeant un article d’analyse des tables WordPress pour conversion en SPIP, je constate un affichage incorrect des bulles résumées de notes ; testez le #TEXTE suivant
Les catégories [1] (avec hiérarchie =>rubriques)ou étiquettes [2] (sans hiérarchie=>mots-clés) :
affiche au survol des renvois de note :
un lié à = ’category’.....
alors que la note est bien affichée :[1] un term lié à taxonomy=’category’ est une catégorie.
SPIP génère incorrectement un
<span class="CodeRay"><span class="tag">span> <span class="attribute-name">class</span>=<span class="string"><span class="delimiter">"</span><span class="content">spip_note_ref</span><span class="delimiter">"</span></span><span class="tag">></span><span class="entity">&nbsp;</span>[<span class="tag">span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">'</span><span class="content">#nb1</span><span class="delimiter">'</span></span> <span class="attribute-name">class</span>=<span class="string"><span class="delimiter">'</span><span class="content">spip_note</span><span class="delimiter">'</span></span> <span class="attribute-name">rel</span>=<span class="string"><span class="delimiter">'</span><span class="content">appendix</span><span class="delimiter">'</span></span> <span class="attribute-name">title</span>=<span class="string"><span class="delimiter">'</span><span class="content">un lié à =’category’ est une catégorie.</span><span class="delimiter">'</span></span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">'</span><span class="content">nh1</span><span class="delimiter">'</span></span><span class="tag">></span>1<span class="tag"></span>]<span class="tag"></span></span></span></span>
, ce qui m’a permis de remonter jusqu’à plugins-dist/textwheel ...... (et je m’arrête ;-)
Un filtre de texte qui manque ?PS j’’avais déjà constaté des pedzouilles du même genre dans SPN depuis longtemps...