
Recherche avancée
Médias (17)
-
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
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (105)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
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 (...)
Sur d’autres sites (10576)
-
Use ffmpeg to record from RTSP stream to two outputs at different resolutions while segmenting the video based on time
7 juin 2023, par Eric HansenI need to record from an RTSP at two different resolutions (original and something lower). I also need to have the files broken up according to clock time on every even 30 minutes, ex. 1:00, 1:30, 2:00, etc.


I imagine the command would look like this.


ffmpeg -rtsp_transport tcp -i rtsp://<rtsp url="url"> \
 -filter_complex "[0:v]split=2[v1][v2];[v1]scale=1920:1080[out1];[v2]scale=448:252[out2]" \
 -map "[out1]" -c:v -f segment -segment_format mp4 -segment_time 00:30:00 -strftime 1 \ 
 /mnt/data/original-%Y-%m-%d-%H.%M.%S.mp4 \
 -map "[out2]" -c:v -f segment -segment_format mp4 -segment_time 00:30:00 -strftime 1 \ 
 /mnt/data/low-reso-%Y-%m-%d-%H.%M.%S.mp4 \
</rtsp>


Of course, this doesn't work. The command above gives me this error.


[NULL @ 0x556c999c2140] Unable to find a suitable output format for 'segment'
segment: Invalid argument



I've tried so many perturbations of this command to get it to work without any luck. Does anyone know how to do this ?


-
How to insert commands for randomization and action after a given time
26 avril 2021, par Señor EggRight now in my code, I have it written out to play audio files after a !join command. I would like to change it to a command like after every 40 minutes, and I would like to be able to choose a random file to play out of a list. Help on how to ajust my code would be great !


My code :


from discord.ext import commands
from discord import FFmpegPCMAudio
 
client = commands.Bot(command_prefix = '!')
@client.command(pass_context=True)
async def join(ctx):
 if (ctx.author.voice):
 channel = ctx.message.author.voice.channel
 voice = await channel.connect()
 source = FFmpegPCMAudio('AUDIO FILE')
 player = voice.play(source)
 else:
 await ctx.send("User not in a voice channel, unable to connect.")
 
@client.command(pass_context=True)
async def leave(ctx):
 if (ctx.voice_client):
 await ctx.guild.voice_client.disconnect()
 await ctx.send("I have left the voice channel.")
 else:
 await ctx.send("I am not in a voice channel.")
 
 
 
client.run('BOT TOKEN')```



-
avdevice : use av_gettime_relative() for elapsed time calculations
7 février 2021, par Marton Balintavdevice : use av_gettime_relative() for elapsed time calculations
av_gettime_relative() is using the monotonic clock therefore more suitable for
elapsed time calculations. Packet timestamps are still kept absolute, although
that should be configurable in the future.Related to ticket #9089.
Signed-off-by : Marton Balint <cus@passwd.hu>