Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (67)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (7874)

  • 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;