
Recherche avancée
Autres articles (88)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (18815)
-
Discord bot not playing any audio and immediately terminates once joined channel (Python)
28 novembre 2024, par MrPwnageLegendI am trying to create a small discord bot for me and my friends. Currently, I tried several examples online for a music bot using ffmpeg. I added the path to environment variables as well. I simplified the code to make it easier to debug. Below is the code :


voice_client = await msg.author.voice.channel.connect()
print(voice_client.is_playing())
FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5','options': '-vn'}
voice_client.play(discord.FFmpegPCMAudio(source="test.mp3", **FFMPEG_OPTIONS))



The moment the bot enters the channel, it displays this on the terminal and nothing else happens :

discord.player ffmpeg process 18792 successfully terminated with return code of 2880417800


I originally tried Youtube videos, but that did not work. So, I tried local files, and that did not work as well. Tried bypassing the ffmpeg path using
executable = "C:\\ffmpeg\\ffmpeg.exe"
, still the same error. Is there some other reasons for the error such as firewalls etc ? I have set the intents to all(). Could that be a problem as well ?

-
How to fuse a .mp4 video with a .wav audio with an offset in ffmpeg from command line ?
4 février 2012, par minder42I've got a tv clip in mp4 format containing audio and video, and an wav audio_commentary track.
I've been trying to fuse them in ffmpeg and have they played online with a flash player (which can only take h264 format)
What's the best ffmpeg command to accomplish this ? My inputs are mp4 video, wav audio, and an offset in seconds which is the time the audio commentary starts relative to the start of the mp4 video.
I tried
ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4
and
ffmpeg -vcodec copy -ss offset -i input_audio.wav -i input_video.mp4 output.mp4
nether of these do what i want and output the video in the h264 format that is good for flash players- Is there a way to do this from command line in ffmpeg ?
Thanks in advance
-
libavcodec/proresdec2 : Setup qmat_chroma according to RDD36
19 août 2020, par Harry Mallon