Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (53)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

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

Sur d’autres sites (2758)

  • Why is ffmpeg not working in my Python discord bot ?

    27 juillet 2023, par Dantheman1765

    I decided to start learning how to make a discord bot in Python and I have run into an issue with ffmpeg playing audio through my bot. I first wrote the code on my laptop and it worked fine but when I transferred it to my computer I ran into a problem and ffmpeg does not work. I can get the bot to join but it wont play anything. I am fairly certain I have installed all of the dependencies but I could be mistaken.

    


    Here is the code for the play function I am having trouble with :

    


    @client.command(pass_context=True) 
async def play(ctx, arg): 
    voice = ctx.guild.voice_client 
    source = FFmpegPCMAudio(arg) 
    player = voice.play(source) 


    


    and here are all of my imports :

    


    import discord 
from discord.ext import commands 
from discord import FFmpegPCMAudio 
from discord import Member


    


    I have installed ffmpeg and put it in my path as well.

    


    Whenever I try to use the play function, I get this message :

    


    discord.player ffmpeg process 33068 successfully terminated with return code of 4294967294.


    


    The process number changes but the return code stays the same.

    


    Can anyone help me get to the bottom of this or point me in the right direction ?

    


  • Combine images to video stream

    8 mars 2016, par idementia

    Can anyone please tell what is the easiest way to complete topic task in android studio ?
    I found some solutions but was unable to set to work any of them.

    1. One suggestion was to use FFmpeg recorder like it’s described here. Problem is recorder takes only IplImage type. I tried to create IplImage with javacv.cpp.opencv_core, but it refers to java.awt.* stuff, which is not supported by android, so i catch crash. Moreover, using IplImage is highly unlikely because it is old format and because transformations of Mat (that’s type that i have) to IplImage takes a lot of formating steps with byte[], BufferedImage and other types of one to another.

    2. Another way i tried from here. It looked acceptable - to process multiple .jpeg to video stream with codecs. But as far as i understand problem is that FFmpeg is not provided as complete stand-alone SDK lib for android. And almost all web-links to source FFmpeg-files which could contain methods (like execFFMPEG) are already dead.

    In general, topic task must not be hard : to combine simple video stream with given set of images, fixed fps and video coder (i don’t even need audio stream). In practice, i’m already overheaded with tones of infos and still not a step closer to solution.
    Thanks in advance.

  • FFmpeg can't access file in Dropbox on Ubuntu 12.04

    30 juin 2015, par afterglowlee

    I have installed FFmpeg on Ubuntu 12.04. When I use ffmpeg -i command to check some video file online, it works :

    ffmpeg -i http://techslides.com/demos/sample-videos/small.mp4

    However, when I check a public file hosted in my Dropbox it gives ’No such file or directory error’ :

    ffmpeg -i https://dl.dropboxusercontent.com/u/51617581/bigbuck.webm

    and the error is :

    https://dl.dropboxusercontent.com/u/51617581/bigbuck.webm : No such
    file or directory

    and here is the version info of the ffmpeg installation :

    ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c)
    2000-2014 the Libav developers built on Mar 16 2015 13:26:50 with
    gcc 4.6.3

    I have also tried both files on my Mac 10.10 laptop, and both of them work fine. Could anyone suggest where is the problem ? Many thanks.