
Recherche avancée
Autres articles (46)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (8993)
-
ARSS returns error "This WAVE file format is not currently supported"
22 juin 2019, par itisyeetimetodayI have tried to import a wav file into ARSS : http://arss.sourceforge.net/index.shtml
I get the above error.
Files :
https://drive.google.com/open?id=1X24eUOzOGa5uBUHFTtrSmzptIQTz-93lI have tried the following commands with FFmpeg to create a "
clean
" wav, however, they have all failed.ffmpeg -i "file.wav" -f wav -bitexact -acodec pcm_s16le -ar 22050 -ac 1 "ffmpeg.wav"
ffmpeg -i file.wav -c copy -fflags +bitexact new.wavFfmpeg appears to convert successfully, but it still returns the same error message in ARSS.
-
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 ?