
Recherche avancée
Autres articles (83)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (3416)
-
Anomalie #1603 (Fermé) : Logout sur un site protégé par un .htpasswd
7 juillet 2011, par cedric -Appliqué par commit r18211.
-
mov : Trim dref absolute path
16 février 2016, par Vittorio Giovaramov : Trim dref absolute path
Samples produced by Omneon (Harmonic) store external references with
paths ending with 0s. Such movs cannot be loaded properly since every
0 is converted to ’/’, to keep the same parsing code for dref type 2
and type 18 : this makes the external reference point to a non-existing
direactory, rather than to the actual referenced file.Add a brief trimming loop that drops all ending 0s before trying to
parse the external reference path.Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>
-
error enoent when assigning path to ffmpeg
12 septembre 2022, par seriouslyI am trying to set up a relay from my rtmp server and I'm using an npm module called
node-media-server
. I have set up my rtmp protocol successfully but when I am trying to set up the relay it expects me to add a path my my ffmpeg library so i npm installed ffmpeg then supplied the node_module path to the relay but I keep on getting erroruncaughtException Error: spawn C:\blah\blah\node_modules\ffmpeg ENOENT
the ffmpeg library definitely exist at the specified location. Why is this happening ? Thanks in advance.

Link to the module im using : https://www.npmjs.com/package/node-media-server




const NodeMediaServer = require('node-media-server');
const path = require('path')
const ffmpegPath = path.join(__dirname, '..', 'node_modules', 'ffmpeg')

const config = {
 rtmp: {
 port: 1935,
 chunk_size: 60000,
 gop_cache: true,
 ping: 30,
 ping_timeout: 60
 },
 http: {
 port: 8000,
 allow_origin: '*'
 },
 relay: {
 ffmpeg: ffmpegPath,
 tasks: [{
 app: 'live',
 mode: 'push',
 edge: 'rtmp://localhost:1936',
 },
 {
 app: 'live',
 mode: 'push',
 edge: 'rtmp://localhost:1937',
 }
 ]
 }
};

var nms = new NodeMediaServer(config)
nms.run();