Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (105)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 2011

    Si 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, par

    Chaque 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 Hansen

    I 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"> \&#xA;  -filter_complex "[0:v]split=2[v1][v2];[v1]scale=1920:1080[out1];[v2]scale=448:252[out2]" \&#xA;  -map "[out1]" -c:v -f segment -segment_format mp4 -segment_time 00:30:00 -strftime 1 \ &#xA;  /mnt/data/original-%Y-%m-%d-%H.%M.%S.mp4 \&#xA;  -map "[out2]" -c:v -f segment -segment_format mp4 -segment_time 00:30:00 -strftime 1 \ &#xA;  /mnt/data/low-reso-%Y-%m-%d-%H.%M.%S.mp4 \&#xA;</rtsp>

    &#xA;

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

    &#xA;

    [NULL @ 0x556c999c2140] Unable to find a suitable output format for &#x27;segment&#x27;&#xA;segment: Invalid argument&#xA;

    &#xA;

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

    &#xA;

  • How to insert commands for randomization and action after a given time

    26 avril 2021, par Señor Egg

    Right 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 !

    &#xA;

    My code :

    &#xA;

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

    &#xA;

  • avdevice : use av_gettime_relative() for elapsed time calculations

    7 février 2021, par Marton Balint
    avdevice : 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>

    • [DH] libavdevice/bktr.c
    • [DH] libavdevice/fbdev_dec.c
    • [DH] libavdevice/gdigrab.c
    • [DH] libavdevice/kmsgrab.c
    • [DH] libavdevice/xcbgrab.c