Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (58)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7602)

  • Defining moment of the audio attenuation through ffmpeg

    23 août 2016, par riki-tik

    There are audio tracks of different lengths in m4a format. And there’s ffmpeg library for working with the media. Many of the tracks have the effect of "decay" in the end, and it is necessary to determine at what point it occurs (determined once and the value entered in the database along with other information about the track). Those. we must somehow determine that the track begins to fade, and its volume reached 30% compared to the total volume of the song. Is it possible to solve by means of ffmpeg, and if so, how ?

  • swscale/swscale : remove useless code

    1er avril 2020, par Ruiling Song
    swscale/swscale : remove useless code
    

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libswscale/swscale.c
    • [DH] libswscale/swscale_internal.h
    • [DH] libswscale/x86/swscale.c
  • ffmpeg was not found. How do i fix this ?

    18 novembre 2024, par Ice Cr3aM

    So im trying to make a simple discord music bot, which is halted right now due to this problem. The issue is that everytime i try to play a music through youtube_dl library, it pops up with the prompt : "ffmpeg was not found".

    &#xA;

    This is the main.py

    &#xA;

    &#xA;import discord&#xA;import os&#xA;import asyncio&#xA;import youtube_dl&#xA;import ffmpeg&#xA;&#xA;token = &#x27;NzY5NTUzNDcwNjAwMTE4Mjgz.G3Dzce.XYKNAyLfBPg0ug5XPKssV-9EvsFjBlCMeM43ag&#x27;&#xA;&#xA;client = discord.Client()&#xA;&#xA;block_words = [&#x27;foo&#x27;, &#x27;bar&#x27;, &#x27;baz&#x27;, &#x27;quux&#x27;, &#x27;http://&#x27;, &#x27;https://&#x27;]&#xA;&#xA;voice_clients = {}&#xA;yt_dl_opts = {&#x27;format&#x27;: &#x27;bestaudio/best&#x27;}&#xA;ytdl = youtube_dl.YoutubeDL(yt_dl_opts)&#xA;&#xA;ffmpeg_options = {&#x27;options&#x27;: &#x27;-vn&#x27;}&#xA;&#xA;&#xA;@client.event&#xA;async def on_ready():&#xA;    print(f&#x27;Bot has logged in as {client.user}&#x27;)&#xA;&#xA;@client.event&#xA;async def on_message(msg):&#xA;    if msg.author != client.user:&#xA;        if msg.content.lower().startswith(&#x27;?hi&#x27;):&#xA;            await msg.channel.send(f&#x27;Hi, {msg.author.display_name}&#x27;)&#xA;&#xA;@client.event&#xA;async def on_message(msg):&#xA;    if msg.author != client.user:&#xA;        for text in block_words:&#xA;            if "OTR" not in str(msg.author.roles) and text in str(msg.content.lower()):&#xA;                await msg.delete()&#xA;                return&#xA;        print("Not Deleting...")&#xA;&#xA;@client.event&#xA;async def on_message(msg):&#xA;    if msg.content.startswith(&#x27;?play&#x27;):&#xA;        try:&#xA;            url = msg.content.split()[1]&#xA;&#xA;            voice_client = await msg.author.voice.channel.connect()&#xA;            voice_clients[voice_client.guild.id] = voice_client&#xA;&#xA;            loop = asyncio.get_event_loop()&#xA;            data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=False))&#xA;&#xA;            song = data[&#x27;url&#x27;]&#xA;            player = discord.FFmpegPCMAudio(song, **ffmpeg_options)&#xA;        except Exception as err:&#xA;            print(err)&#xA;client.run(token)&#xA;&#xA;

    &#xA;