
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (106)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (9643)
-
Code returns AttributeError : 'VoiceChannel' object has no attribute 'play' when running on Discloud
18 septembre 2023, par Sc4rl3ttfir3So, my code works fine when I run it locally, but even after adapting it to run on Discloud, it returns an error I can't solve.


Code :


@bot.command(name='play', help='To play song')
async def play(ctx, url):
 voice_channel = ctx.author.voice.channel

 if voice_channel is None:
 return await ctx.send('You are not connected to a voice channel.')

 async with ctx.typing():
 filename = await YTDLSource.from_url(url, loop=bot.loop)
 
 if ctx.voice_client is not None:
 ctx.voice_client.stop()

 source = discord.FFmpegPCMAudio(
 executable="ffmpeg",
 source=filename
 )
 
 voice_channel.play(source)

 await ctx.send('**Now playing:** {}'.format(filename))



When it runs on the Discloud server, it returns the following error/traceback message :


Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user_686208406444572830/Sc4rl3ttb0t.py", line 357, in play 
voice_channel.play(source)
^^^^^^^^^^^^^^^^^^
AttributeError: 'VoiceChannel' object has no attribute 'play'



Anybody with any idea of what is going wrong would be greatly appreciated for helping out


-
Which Platform/Language to choose for Video Management System [closed]
5 décembre 2019, par Vivek BuddhadevWe have started on a new project, Which enables for the multiple IP cameras(Around 1000 Cameras) to record as well as available for live streaming.
Like https://www.security.honeywell.com/uk/product-repository/maxpro-vms
Initially, we have tried using
ffmpeg
commands that saves data in chunks :ffmpeg -i {rtsp_url} -fflags flush_packets -max_delay 2 -flags -global_header \
-hls_time 2 -hls_list_size 3 -vcodec copy -y /var/www/html/Cam01.m3u8Then we have started http server and using node.js we are displaying the stream.
But as we are adding more cameras into it, the performance is going down.
Kindly suggest if there is any other way to achieve this functionality which help us to fulfill the above requirement.
-
Android libraries for ffmpeg + stagefright. language c++
10 décembre 2017, par Serhii SkytybaI’v making cross-platform program in c++. In my program for Android platform i need video decoding hw acceleration. I have found out, that I need to look in libstagefright.cpp. which contains ffmpeg library. There I have found next includes :
#include <binder></binder>ProcessState.h>
#include <media></media>stagefright/MetaData.h>
#include <media></media>stagefright/MediaBufferGroup.h>
#include <media></media>stagefright/MediaDebug.h>
#include <media></media>stagefright/MediaDefs.h>
#include <media></media>stagefright/OMXClient.h>
#include <media></media>stagefright/OMXCodec.h>
#include <utils></utils>List.h>Also, I found out that the source code of these headers is here : https://android.googlesource.com . But I can’t understand in which way to build them. So, my question is : Where can i get these libraries or how can get the source code, that i need to build ? Also, I look for advice which way I can better use Android video decoding hw acceleration + ffmpeg.