
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (26)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour 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 (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (8302)
-
Revision 5b915ebd92 : Change to extend full border only when needed This is a short term optimization
15 juillet 2013, par Yaowu XuChanged Paths :
Modify /vp9/common/vp9_blockd.h
Modify /vp9/common/vp9_reconinter.c
Modify /vp9/decoder/vp9_onyxd_if.c
Modify /vp9/encoder/vp9_onyx_if.c
Modify /vpx_scale/generic/yv12extend.c
Modify /vpx_scale/vpx_scale_rtcd.sh
Modify /vpx_scale/yv12config.h
Change to extend full border only when neededThis is a short term optimization till we work out a decoder
implementation requiring no frame border extension.Change-Id : I02d15bfde4d926b50a4e58b393d8c4062d1be70f
-
Updating ffmpeg breaks opencv library
7 octobre 2019, par AmitI had manually compiled opencv ver3.2 library on mac system, which had been working fine till now. Recently it seems that i had updated the version for ffmpeg, which is managed by brew package manager, leading to breakage of opencv library looking for libavcodec.57.dylib.
Upon looking into library path, i found that libavcodec.dylib is symlinked to libavcodec.58.dylib, which is the most probable cause to above problem.
Now i have two options,
Recompile opencv to link against the latest version of libavcodec
Revert the version of libavcodec to 57
I am looking for a solution in which opencv works independently of the version of libavcodec and should dynamically link with current installed version of library. I should only be recompiling opencv when it is essentially required, like change in API of libavcodec.
-
Simple discord.py mp3 bot not playing music
18 avril 2023, par Lukas NesvarbuDiscord bot dosent play anykind of music, neither mine nor other bots codes work he just dosent play music. idk maybe i am just stupid BUT IT DOSENT WORK WHY


import discord
import time
import os
from discord.ext import commands

BOT_TOKEN = "" # put token here

intentss = discord.Intents.default()
intentss.message_content = True
intentss.voice_states = True

bot = commands.Bot(command_prefix=";;", intents = intentss)

OPUS_LIBS = ['libopus-0.x86.dll', 'libopus-0.x64.dll', 'libopus-0.dll', 'libopus.so.0', 'libopus.0.dylib']

@bot.command()
async def join(ctx):
 channelVC = ctx.author.voice.channel
 await channelVC.connect()

@bot.command()
async def leave(ctx):
 await ctx.voice_client.disconnect()

@bot.command()
async def play(ctx):
 voice = ctx.guild.voice_client
 mloc = 'C:/Users/Lukas/Desktop/Bot Bethoven/Youtube/test.mp3'
 voice.play(discord.FFmpegPCMAudio(executable = "C:/ffmpeg/bin/ffmpeg.exe", source = mloc))


bot.run(BOT_TOKEN)



it just give error codes :


discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientException: Not connected to voice.
INFO discord.player ffmpeg process 22896 has not terminated. Waiting to terminate...
INFO discord.player ffmpeg process 22896 should have terminated with a return code of 1.



intresting thing when i put join and play in the same command it dosent show not connected to voice error, actually it dosent show anything and neither plays mp3 file


i tryed reinstalling : PyNaCl, FFmpeg, Visual Code, updating python.
nothing helps. this problem started after i did 1 month break from coding bot, before that it worked fine.


i'm thinking problem is something with my pc, maybe path or something dosent work(because it worked month ago and i didnt do anything to code), i tryed checking but everything seems normal,