
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (65)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (11164)
-
How to Working Web audio (6 channel) client phone Properly
12 octobre 2022, par Rayhan RabbyI have a streaming site. When audio Channel 6. Not worenter image description hereking sound properly on my phone.


-
FFmpeg doesn't play any audio through Discord.py BOT
12 mai 2019, par Lewis HHere is my code for my Discord bot’s play function :
@bot.command()
async def play(ctx, url:str = None): # DOESN'T WORK, DOWNLOADS BUT DOESN'T PLAY
...
ytdl_options = {
'format': 'bestaudio/best',
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}],
}
ytdl = youtube_dl.YoutubeDL(ytdl_options)
loop = asyncio.get_event_loop()
data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url))
if 'entries' in data:
data = data['entries'][0] # taking top item from a YT playlist
source = ytdl.prepare_filename(data)
vc.play(discord.FFmpegPCMAudio(source)) #play audio
print(vc.is_playing())
await ctx.send("Now playing: " + data.get('title')) #now playing
asyncio.sleep(3)
print(vc.is_playing())When I call the function, it runs fine and downloads the video from youtube-dl, then sends the message "Now playing : X", but doesn’t play any audio.
I added the two
print(vc.is_playing())
lines and what is returned in the shell is :True
FalseSo clearly it tries to play the song but immediately fails.
There are no exceptions thrown, so I can’t understand why FFmpeg doesn’t want to play the audio.
-
Pydub does not work sometimes (ffmpeg problem)
17 juillet 2022, par randomguyI'm making a program for macOS that uses pydub and therefore ffmpeg (ffmpeg was installed by copying ffmpeg and ffprobe to /usr/local/bin).


When I run my program through the terminal (python3 [filename]) or compile it into an executable file without extension, it works fine. But when I run it via IDLE or compile to .app, ffmpeg doesn't work. It says this :


RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)



The same message appears when ffmpeg is not installed at all.


How to make ffmpeg/pydub work correctly ?