Recherche avancée

Médias (91)

Autres articles (106)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (11075)

  • Live Video Chat for iPhone and HTTP Live Streaming

    14 janvier 2024, par mayuur

    I want to make an app which has video chat functionality for iPhone. But after many searches, I am still not able to find any successful results. Is there any public or even for that matter, private API available for doing this on iPhone ? If you have an YES answer, please help me.

    


    Basically, what I want is to read the streams of the video on both the devices connected for chatting. Please help me if you can.

    


    p.s - I have already checked iDoubs but it failed and always shows some unknown problem and for that reason, doesn't allow me to connect to anyone.

    


    ALSO : The suggested method I have found is via HTTP Live Streaming. But, in that too, I have multiple doubts.

    


    1.) I need to find how do I upload my video from iPhone to the HTTP server from where I would be broadcasting ?

    


    2.) Can you please post something related to setting up the server ? How do I feed the video to the FFMPEG Server ?

    


    Mainly, I need to find the upload method. I am right now simply sending hex-code in the form of NSDATA to the server and I am stuck there. The main problem is, It is live. How do I handle that ?

    


    It would be best, if you could help me make the iDoubs work properly.

    


  • Discord.py rewrite play audio from youtube into voice chat

    23 avril 2021, par John Henry 5

    I'm trying to get a bot that can join a voice chat on command and then play some audio extracted from a youtube video. I don't know how to do this and all the code that I've gotten does not seem to work. Does anyone know how to do this ?

    


    @client.command() async def play(ctx):
   channel = ctx.message.author.voice.channel
   voice_client = await channel.connect()

   opts = {'format': 'bestaudio'}
   FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 - 
   reconnect_delay_max 5', 'options': '-vn'}

   with youtube_dl.YoutubeDL(opts) as ydl:
      song_info = ydl.extract_info('video', download=False)
      URL = song_info['formats'][0]['url']
   
   voice_client.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))


    


  • Discord bot js Bot has no audio after joining with play command. No errors in console or chat

    30 mai 2020, par FeX

    I coded a bot with node.js. I used the example by Crawl for his music bot. I did everything similar to him. After I finished my build everything worked. Every other command and the play command. But now after 2 weeks the bot joins the voice channel, light up green but has no sound. I updated ffmpeg, @discordjs/opus and ffmpeg-static but the bot still has no audio. The queue, volume, nowplaying, skip, shuffle, loop everything works. But after I got the video or playlist with the play command the bot only joins light up green but has no audio.

    



    function play(guild, song) {

  try {

    const ServerMusicQueue = queue.get(guild.id);

    if (!song) {

      ServerMusicQueue.textchannel.send(`ퟎ