
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (94)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...)
Sur d’autres sites (12548)
-
How do I make my discord.py bot play mp3 in voice channel ?
17 décembre 2020, par ropkeI'm a beginner in Python and I have recently started making a discord bot for some friends and I. The idea is to type !startq and have the bot join the channel, play an mp3 file that is locally stored in the same folder that the bot.py is in also.



import discord, chalk
from discord.ext import commands
import time
import asyncio

bot = commands.Bot(command_prefix = "!")

@bot.event
async def on_ready():
 print("Bot is ready!")

@bot.command()
async def q5(ctx):
 await ctx.send("@here QUEUE STARTING IN 5 MINUTES")

@bot.command()
async def q3(ctx):
 await ctx.send("@here QUEUE STARTING IN 3 MINUTES")

@bot.command()
async def q1(ctx):
 await ctx.send("@here QUEUE STARTING IN 1 MINUTES")

@bot.command()
async def ping(ctx):
 ping_ = bot.latency
 ping = round(ping_ * 1000)
 await ctx.send(f"my ping is {ping}ms")

@bot.command()
async def startq(ctx):
 voicechannel = discord.utils.get(ctx.guild.channels, name='queue')
 vc = await voicechannel.connect()
 vc.play(discord.FFmpegPCMAudio("countdown.mp3"), after=lambda e: print('done', e))
 bot.run('TOKEN')




So far my bot joins the channel fine, but it doesn't actually play the mp3. I've asked countless people in the "Unofficial Discord API Discord" and a few other programming Discords, but I haven't gotten an answer yet.


-
Short HLS MPEG2 Video Segments Do Not Play
24 août 2019, par Jon HI’ve been attempting to cut a video into small segments (words), to be rearranged. While I’ve been able to do it with FFMPEG, cutting into segments and using the fast concat demuxer to reassemble the segments, I am trying to speed it up.
I have been doing this by splitting the original video into short MPEG2 .ts segments for each word :
ffmpeg -ss 1 -to 1.5 -i "source.mp4" -c:v libx264 -b:v 1200k -c:a aac -b:a 192k -hls_flags single_file "word.ts"
I have then tried making a m3u8 playlist of these short video segments, but I found that only segments around 2 seconds or more, play at all.
I then tried using the ’cat’ command to join these segments into a single file, which I understand should be possible with MPEG2 streams. However, this did not play all the segments either.
To test if all the segments were present in this concatenated file, I used FFMPEG to convert it back into an MP4 file, and all the segments were present.
I would appreciate any suggestions on producing the segments, and concatenating individual segments simply without FFMEPG. My project isn’t viable if having to call FFMPEG each time, but would work great if I can simply concatenate words together.
-
ffmpeg random mp3 audio play
24 août 2021, par ArkyI stream images from an IP camera to an external player and play back mp3 files as background music in a loop. In order to keep the playback continuity, I combined several mp3 songs together. Each time the external player is started, the background music starts from the same track (which was saved first as a result of joining mp3 files). When I start the player, I would like to run a random mp3 file as background music and play the whole list in random order and additionally in a loop.
Here is my current camera streaming code + logo position + mp3 playback


ffmpeg -stimeout 5000000 -rtsp_transport tcp \
 -i "rtsp://IP:PORT/Streaming/Channels/101/" \
 -i /root/logo_streaming.png -filter_complex "overlay=x=main_w-overlay_w-30:y=30" -stream_loop -1 \
 -i /root/mix_57m37s.mp3 \
 -vcodec libx264 -preset veryfast -vprofile baseline -x264opts keyint=40 -b:v 4096k -bufsize 1024k \
 -f mpegts udp://IP:PORT?pkt_size=1316