
Recherche avancée
Autres articles (36)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (6250)
-
vc1dec : Don’t decode slices when the latest slice header failed to decode
19 février 2013, par Michael Niedermayer -
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 ? -
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.