
Recherche avancée
Autres articles (43)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
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 (...)
Sur d’autres sites (5691)
-
A Soundboard for Discord with Discord.py with already downloaded .mp3 files
8 août 2019, par Kerberos KevI’m setting up a discord bot with discord.py, and want to implement an soundboard.The soundboard should take already downloaded .mp3 files and play them in the discord. The bot already automatically joins and disconnects from a voice channel but does not play any of my sound files.
I tried converting the mp3 file into an opus one and just play it without ffmpeg but this didn’t work either.
import discord
from discord.ext import commands
from discord.utils import get
from mutagen.mp3 import MP3
import time
import os
client = commands.Bot(command_prefix='<')
a = './'+'kurz-kacken.mp3'
class Soundboard(commands.Cog):
def __init__(self, client):
self.client = self
@commands.command(pass_context=True)
async def soundboard(self, ctx, songname: str):
channel = ctx.message.author.voice.channel
voice = get(client.voice_clients, guild=ctx.guild)
if voice and voice.is_connected():
await voice.move_to(channel)
else:
voice = await channel.connect()
print(f"The bot has connected to {channel}\n")
# audio = MP3('./'+'kurz-kacken.mp3')
# a = audio.info.length
voice.play(discord.FFmpegPCMAudio('./'+'kurz-kacken.mp3'),
after=lambda e: print("Song done!"))
voice.source = discord.PCMVolumeTransformer(voice.source)
voice.source.volume = 0.07
# time.sleep(a)
await ctx.send(f'ended')
if voice and voice.is_connected():
await voice.disconnect()
def setup(client):
client.add_cog(Soundboard(client)) -
What transcoding services can people recommend ? [closed]
3 mai 2013, par Adrian LynchA client of mine needs to accept a bunch of different video files and convert them to FLV. My experience with FFMEG on a previous project has highlighted that there will be some troublesome files.
Depending on the price my client will pay for a professional service.
What are people using and how are you finding the service ?
Thanks.
-
Is encoding and streaming images into a video in under 30 ms realistic at all ?
25 septembre 2020, par Hamza GhizaouiSo, a client camera would be sending
20 FPS
4000 x 3000 pixel images per second.

The client want it to be streamed in under
30 ms
upon receiving via a web-browser with a 1920 x 1080 resolution .

Here is how we approached the problem :


Image received => openCV resizes it to 1920 x 1080 => image piped to FFMPEG => ffmpeg encode it to H.264 using Nvec hardware acceleration => FFMPEG sends it via UDP-packets to a Node.js server => the Node.js server serves it to client (using React as a front-end there)


The encoding time requires circa
12 ms
using my best options while keeping the client quality standards.

Downsizing the image requires
10 ms
- this leaves circa8 ms
for the rest

Is it doable at all or should I look for another approach ?