Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (6)

  • 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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • 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 (...)

Sur d’autres sites (3116)

  • FFmpeg desktop recording doesn't work with bluetooth audio source

    12 mai 2020, par Riz

    I am working on an application that records portion of Windows desktop screen using FFmpeg. It works fine using command like this

    



    ffmpeg -f dshow -i audio="Microphone (Realtek Audio)" -f gdigrab -offset_x 0 -offset_y 0 -video_size 300x200 -i desktop -pix_fmt yuv420p -c:v libx264 -r 15 output.mp4


    



    But when I change audio source to my bluetooth headset, FFmpeg just hangs and doesn't start recording. Here is same command with bluetooth audio device

    



    ffmpeg -f dshow -i audio="Headset (QCY-T1_R Hands-Free AG Audio)" -f gdigrab -offset_x 0 -offset_y 0 -video_size 300x200 -i desktop -pix_fmt yuv420p -c:v libx264 -r 15 output1.mp4


    



    Can you please suggest how can we solve this ?

    


  • avfilter/avf_avectorscope : add ultra fast path when slow fading is disabled

    19 septembre 2021, par Paul B Mahol
    avfilter/avf_avectorscope : add ultra fast path when slow fading is disabled
    
    • [DH] libavfilter/avf_avectorscope.c
  • ydl erroring on download only getting partial download and an error on ydl.download([url])

    11 septembre 2022, par newtboot

    building an audio stream bot command for my custom discord bot but it keep throwing errors on ydl.download([url]) and only fetches a partial download assuming it disconnects from server before finishing download i'm not sure how to fix this error or if its just a syntax thing

    


    import discord
import aiohttp
import random
import youtube_dl
import os
from discord.ext import commands

@bot.command()
async def play(ctx, url : str):
    song_there = os.path.isfile("song.mp3")
    try:
        if song_there:
            os.remove("song.mp3")
    except PermissionError:
        await ctx.send("wait for current audion to finish or use the 'stop' command")
        return

    voiceChannel = discord.utils.get(ctx.guild.voice_channels, name='moosic')
    voice = discord.utils.get(bot.voice_clients, guild=ctx.guild)
    if voice is None or not voice.is_connected():
        await voiceChannel.connect()
    ydl_opts = {
        'format': 'bestaudio/best',
        'postprocessors': [{
            'key': 'FFmpegExtractAudio',
            'preferredcodec': 'mp3',
            'preferredquality': '192',
        }],
    }
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        ydl.download([url])
    for file in os.listdir("./"):
        if file.endswith(".mp3"):
            os.rename(file, "song.mp3")
    voice.play(discord.FFmpegPCMAudio("song.mp3"))