
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (74)
-
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 (...) -
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 (4962)
-
Error when trying to play MP3 in discord VC
27 mars 2019, par QueenInTheNorthI am encountering an error when my discord bot is trying to play an MP3 file in a Voice channel.
My code :
if(message.member.voiceChannel){
const connection = await message.member.voiceChannel.join();
const dispatcher = connection.playFile('./resources/shamebell.mp3');
dispatcher.on('finish', () => {
console.log('Finished playing!');
});
dispatcher.destroy(); // end the stream
}The bot encounters an error when trying to play the MP3 file. It joins the Voice Channel that the user is in just fine. The bot should join the VC, play the MP3 file then leave afterwards.
Error in dispatcher :
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string
I have tried using both the absolute path as well as the relative path to the MP3. FFMPEG is installed and windows PATH set as well as NPM installed "ffmpeg-binaries" : "^3.2.2-3".
Swapping from
connection.playFile('./resources/shamebell.mp3');
toconnection.play('./resources/shamebell.mp3');
Gives the errorconnection.play is not a function
at line 14:43Any help on resolving this issue will be appreciated :)
-
How to Play YUV sequence of images with JSP
30 mai 2013, par Simon WangI could get YUV images from Camera for 20 frames per second, i want to play it as live streaming on JSP page.
I have done some research about JMF/FFMpeg, maybe they could work with J2SE(Swing),but seems hard to work on web application(Tomcat+JSP pages).
Any suggestion will be appreciated !
-
Play YUV sequence of images with JSP
24 mai 2013, par Simon WangI could get YUV images from Camera for 20 frames per second, i want to play it as live streaming on JSP page.
I have done some research about JMF/FFMpeg, maybe they could work with J2SE(Swing),but seems hard to work on web application(Tomcat+JSP pages).
Any suggestion will be appreciated !