Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (81)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

Sur d’autres sites (5889)

  • avcodec/ttmlenc : Deduplicate ttml_default_namespacing string

    29 juillet 2022, par Andreas Rheinhardt
    avcodec/ttmlenc : Deduplicate ttml_default_namespacing string
    

    String literals are allowed to be deduplicated (and toolchains
    are already capable of doing so), yet the same is not allowed
    for named arrays (even when they contain strings). Therefore
    use a const char *const pointing to an unnamed string literal
    for ttml_default_namespacing.

    Reviewed-by : Jan Ekström <jeebjp@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/ttmlenc.h
  • How to use custom function to calculate 'x' in ffmpeg crop

    17 septembre 2016, par Sasha Kastsiushkin

    ffmpeg docs have this example :

    crop=in_w/2:in_h/2:(in_w-out_w)/2+((in_w-out_w)/2)*sin(n/10):(in_h-out_h)/2 +((in_h-out_h)/2)*sin(n/7)

    To make it simpler, I will use named params and only affect output width and position x
    crop=w=in_w/3:x=(in_w-out_w)/2+((in_w-out_w)/2)*sin(n/10)

    The result will be the video that is 3 times shorter than original and it will ’float’ along the x axis thanks to that sin(n/10) function. x is evaluated for each frame and n(number of the input frame) will increase and change the x position dynamically.

    I’m trying to create a custom function, which will take n or t and based on it return some value of x.

    Please help me or perhaps this is not possible. I was trying to create a small bash script, which will do so unsuccessfully.

    Thank you

  • Discord.py error ; ffmpeg not found even after installing and configuring it in Environment Variables

    11 septembre 2020, par Trayambak

    So I'm trying to integrate the music bot feature in my Discord bot, I'll just link the code I suspect something's wrong with.

    &#xA;

    import discord&#xA;from discord.ext import commands&#xA;import praw&#xA;import random&#xA;import os&#xA;import json&#xA;import ffmpeg&#xA;import youtube_dl&#xA;&#xA;# music command&#xA;@client.command(pass_context=true)&#xA;async def play(ctx, url):&#xA;    server = ctx.message.server&#xA;    voice_client = client.voice_client_in(server)&#xA;    player = await voice.client.create_ytdl_player(url)&#xA;    players[server.id] = player&#xA;    player.start()&#xA;

    &#xA;

    and here is the error.

    &#xA;

    Traceback (most recent call last):&#xA;  File "C:\Users\Trayambak\Desktop\Akihiko\bot.py", line 8, in <module>&#xA;    import ffmpeg&#xA;ModuleNotFoundError: No module named &#x27;ffmpeg&#x27;&#xA;[Finished in 52.353s]&#xA;</module>

    &#xA;