
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (46)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
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. -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (3828)
-
avformat/asfcrypt : Fix wrong array length in function declaration
10 juillet 2022, par Andreas Rheinhardtavformat/asfcrypt : Fix wrong array length in function declaration
multiswap_step() and multiswap_inv_step() both only require
six keys ; in all current callers, these keys are part of
an array of twelve keys, yet in some of these callers the keys
given to these functions point to the second half of these
twelve keys, so that only six keys are available to these functions.
This led to -Wstringop-overread warnings when compiling with GCC 12.1.
Fix these by adapting the declaration of these functions.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
ffmpeg player in discord.py (python) automatically leave
25 octobre 2018, par RastasplifI have created a discord bot that on certain messages either sends back a message or plays a sound (like a soundboard)
The crucial line of code is :
soundboard_player = voice_client.create_ffmpeg_player("doh.mp3")
soundboard_player.start()
await client.send_message(message.channel, "Playing DOH...")This works absolutely fine but i kept trying to add the line
after=voice_client.disconnect()
I put this inside the("doh.mp3", * I PUT IT HERE *)
brackets.
I wanted the bot to leave after it was done.When I run the code with the ’after’ statement included, the bot joins and I get the error message :
TypeError: disconnect() takes 1 positional argument but 2 were given
I know you can use
soundboard_player.is_done()
to check the status of the bot but I couldn’t figure out a way to check the status without trapping the code in a loopBy trapping the code in the loop I cant execute a STOP command to stop it playing the song (soundbite) half way through.
Any help with the
after=voice_client.disconnect()
command for the ffmpeg player
or a creative way to periodically check the status without getting trapped in the loop ? -
Trying to stream H264 with Janus Gateway to web browser
15 mars 2021, par sibrownI have installed Janus-Gateway using the very comprehensive install instructions on an Ubuntu 18.04LTS machine.
I have configured the streaming config file (janus.plugin.streaming.jcfg) with :



gstreamer-sample: {
 type = "rtp"
 id = 1
 description = "H.264 live stream coming from gstreamer"
 audio = false
 video = true
 videoport = 5004
 videopt = 96
 videortpmap = "H264/90000"
 videofmtp = "profile-level-id=42e01f;packetization-mode=1"
}




(I didn't change the name because that required least changes to other files.)



Having then started the server, I then take a pre-encoded stream and send that to the server with ffmpeg :



ffmpeg -i udp://127.0.0.1:9034 -c:v copy -an -f rtp rtp://127.0.0.1:5004?pkt_size=1300




Opening up the demo webpage the server comes with, I go to streaming demos, and choose the "gstreamer" demo and click start. The right hand half of the screen produces a spinning circle, but tells me that it is receiving data at the appropriate rate for the stream I'm sending. So if it's receiving the stream, why isn't it playing it ?



Cheers,
Simon