Recherche avancée

Médias (91)

Autres articles (91)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (14018)

  • Discord music Bot Python starts ffmpeg, green light appears around bot but no audio plays [closed]

    27 avril 2023, par QuestionHaver99

    I've tried using FFmpegOpusAudio and FFMPEGPCMaudio instead, but it gives the same issue. FFMPEG starts and the green light of the bot in the channel shows, but no audio plays, and then the bot exits the channel when the song should be over and FFMPEG terminates. I've tried streaming the audio and playing from a local file, and the same issue.

    


    and just as a quick checklist of confirmed not the issues : the volume is fine and the permissions are fine and ffmpeg is in environment variables and set up correctly.

    


    any advice would be greatly appreciated

    


  • checkasm/vf_gblur : add test for horiz_slice simd

    4 juin 2019, par Ruiling Song
    checkasm/vf_gblur : add test for horiz_slice simd
    

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] tests/checkasm/Makefile
    • [DH] tests/checkasm/checkasm.c
    • [DH] tests/checkasm/checkasm.h
    • [DH] tests/checkasm/vf_gblur.c
    • [DH] tests/fate/checkasm.mak
  • Hosting music bot on heroku

    2 mars 2021, par itsmaxplayz

    I have made a discord bot on discord.py rewrite which plays music in a voice channel. The code is as follows :

    &#xA;

    def search(query):&#xA;&#xA;    with ytdl:&#xA;        try:&#xA;            requests.get(query)&#xA;        except:&#xA;            info = ytdl.extract_info(f"ytsearch:{query}", download=False)[&#x27;entries&#x27;][0]&#xA;        else:&#xA;            info = ytdl.extract_info(query, download=False)&#xA;    return info, info[&#x27;formats&#x27;][0][&#x27;url&#x27;]&#xA;&#xA;ydl_opts = {&#xA;    &#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;    &#x27;quiet&#x27;: True,&#xA;    &#x27;postprocessors&#x27;: [{&#xA;        &#x27;key&#x27;: &#x27;FFmpegExtractAudio&#x27;,&#xA;        &#x27;preferredcodec&#x27;: &#x27;mp3&#x27;,&#xA;        &#x27;preferredquality&#x27;: &#x27;192&#x27;,&#xA;    }],&#xA;&#xA;}&#xA;&#xA;ytdl = youtube_dl.YoutubeDL(ydl_opts)&#xA;&#xA;FFMPEG_OPTS = {&#x27;before_options&#x27;: &#x27;-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5&#x27;, &#x27;options&#x27;: &#x27;-vn&#x27;}&#xA;&#xA;@client.command(aliases=[&#x27;p&#x27;])&#xA;async def play(ctx, *, url):&#xA;    channel = ctx.message.author.voice.channel&#xA;    voice = get(client.voice_clients, guild=ctx.guild)&#xA;    if voice and voice.is_connected():&#xA;        pass&#xA;    else:&#xA;        voice = await channel.connect()&#xA;        await ctx.send(f&#x27;Successfully joined `{channel}`&#x27;)&#xA;&#xA;    if voice.is_playing():&#xA;        await ctx.send(&#x27;Already playing a song. Try using -q or -queue to queue a song &#xA;    :thumbsup:&#x27;)&#xA;    else:&#xA;        await ctx.send(f&#x27;Searching for: `{url}` :mag_right:&#x27;)&#xA;        video, source = search(url)&#xA;        voice.play(FFmpegPCMAudio(source, **FFMPEG_OPTS))&#xA;        voice.is_playing()&#xA;        await ctx.send(f&#x27;Playing: :notes: `{video["title"]}` - Now!&#x27;)&#xA;

    &#xA;

    It works locally but when I upload the code to heroku (I use github to push the code to heroku), the bot does not come online.&#xA;These are the libraries that I imported in the code :

    &#xA;

    import discord&#xA;import json&#xA;import random&#xA;import youtube_dl&#xA;import requests&#xA;import os&#xA;from discord.ext import commands&#xA;from discord.utils import get&#xA;from discord import FFmpegPCMAudio&#xA;import ctypes&#xA;import ctypes.util&#xA;

    &#xA;

    I have installed the ffmpeg buildpacks as I saw in another post on this website but the bot doesn't come online.

    &#xA;

    Contents of my requirement file :

    &#xA;

    discord.py,&#xA;discord.py[voice],&#xA;ffmpeg,&#xA;PyNaCl,&#xA;youtube_dl,&#xA;requests,&#xA;discord.py[FFmpegPCMAudio],&#xA;colorlog.

    &#xA;