
Recherche avancée
Autres articles (19)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (4101)
-
how to stop discord bot spam for Voice Channel ?
6 décembre 2020, par elmehdi haytomhow can i make my discord bot doesn't work for a voice channel after he did 1 time i write this code but he append the same id and it doesn t stop


spam = 0
 with open("servers/"+str(ctx.message.guild.name)+"/spam.txt","r") as f :
 for line in f.readlines():
 if line == str(ctx.author.voice.channel.id):
 spam=1
 else:pass
 f.close
 if spam == 1:
 await ctx.send("{} you can t use tho bot right now wait a moment")
 return
 elif spam == 0:
 ####some code here 
 with open("servers/"+str(ctx.message.guild.name)+"/spam.txt","a") as f :
 f.write(str(ctx.author.voice.channel.id)+"\n")



-
stop ffmpeg gently (to allow it to finish writing mp4 file) when streaming from udp
19 septembre 2023, par ierdnai'm trying to receive a udp stream on a server and write it to an mp4 file. this works fine :



ffmpeg -i udp://127.0.0.1:12345 -codec copy out.mp4




if i press CTRL+C (or send SIGINT to the process) the ffmpeg quits and i have a working mp4 file.



however, if the data stops coming in on the udp port (e.g. after 10 minutes of streaming) and i try to stop ffmpeg it requires 2 interrupt signals at which point ffmpeg exits abruptly and results in an unplayable mp4 file.



does anyone know how to prevent ffmpeg from hanging when there's no input data or to force it to write out the mp4 header ?



i know i can specify a url option



udp://127.0.0.1:12345?timeout=<microseconds>
</microseconds>



however, i need to be able to ignore occasional (5-10 minute long) pauses during the process of recording and only quit at the end. 
so even if i set timeout=60000000 it will cause my app to wait for 10 minutes when i want to stop the stream (e.g. if there's no data) and i need it to quit immediately when i send a SIGINT to it


-
ffmpeg how to mix 2 RTP streams that individually start and stop randomly ?
13 novembre 2020, par JMainI want to do this :


ffmpeg listens to 2 incoming rtp streams, and continuously send those mixed together to a single outgoing rtp stream


However, the 2 incoming streams are going to be starting and stopping randomly and independently of each other, as they have audio. They don't send audio silence, they stop sending when there is silence and then they start sending again when there is audio. ffmpeg seems to error on this situation.


I have this :
ffmpeg -i rtp ://0.0.0.0:11000 -i rtp ://0.0.0.0:12000 -filter_complex amix -f rtp rtp ://10.10.10.10:13000


This is what happens with ffmpeg :
It wait for the audio to start, and then it sends to the output. But, when the input stop sending, I get this error :
rtp ://0.0.0.0:11000 Unknown error
rtp ://0.0.0.0:12000 Unknown error


and it crashes.


How can I keep it active even when one or the other input isn't sending, and how can I prevent it from crashing ?


If ffmpeg outputs silence all the time when it doesn't receive anything, that would be acceptable too.