
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 (27)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (5924)
-
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.