
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (34)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (7914)
-
Discord Bot // Voice Client Returns NoneType
1er mai 2022, par DimKewlExperimenting with Discord and Python followed a couple of guides and created a bot that could play music from streaming URLs.


However, now for the same code, I get Attribute Error : 'NoneType' object exceptions.


Exception snippet
Console Snapshot


The actual method goes like this :


.
.
 FFMPEG_OPTIONS = {
 "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
 "options": "-vn -sn -dn"
}

@commands.command()
async def radio(self,ctx,url):
 await self.join(ctx)
 await self.playStreamUrlLogic(ctx,url);

async def playStreamUrlLogic(self, ctx, url):
 source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
 await ctx.voice_client.play(source)
.
.



Even though everything points to a non instantiated class when I debug I can see that there is a voice_client object with info
Snapshot from Debbuger property viewer


I already tried to use FFMPegPCMAudio as well but with no results.
Any insights would be helpful.


-
FFMPEG avcodec_find_decoder(2) (CODEC_ID_MPEG2VIDEO) always returns incomplete AVCodec ?
22 octobre 2012, par PasserI got a problem with FFMPEG (avcodec-54.dll)
1) I wrote a .NET wrapper. As far as I can see it works well.
2) I try to decode something... and thats were the problem is :...
FFmpeg.avcodec_register_all();
pAVCodec = FFmpeg.avcodec_find_decoder(CodecID.CODEC_ID_MPEG2VIDEO); //which is in int 2
Console.WriteLine("CodecID " + (*pAVCodec).id);
Console.WriteLine("CodecType " + (*pAVCodec).type);
Console.WriteLine("CodecName " + (*pAVCodec).name);
....
No EXC was thrown and the following output came :
CodecID CODEC_ID_NONE
CodecType 1790854254
CodecName mpeg2video
What confuses me the most is that the name is correct, but the id and type are wrong.
In the previous Version if the DLL everything works fine. This behaviour came up with the new version.
Any guesses or debugging tips ? -
lavu/tx : wrap missed string in NULL_IF_CONFIG_SMALL
7 février 2022, par Lynne