Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (62)

  • 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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (7435)

  • Distube (Unbuntu) - DiscordAPIERROR : Invalid Form Body Content : Must be 2000 or fewer in length

    25 mai 2021, par Bombo43453

    I recently transferred my discord bot to a VPS that is unbuntu based. The issue is that it will not play any sort of music. It starts to process it and then it says the error below.

    


    (node:5252) UnhandledPromiseRejectionWarning: DiscordAPIError: Invalid Form Body
content: Must be 2000 or fewer in length.
    at RequestHandler.execute (/home/lanthonylal/EA-BOT/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async RequestHandler.push (/home/lanthonylal/EA-BOT/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
(node:5252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by re
jecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see http
s://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:5252) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proces
s with a non-zero exit code.


    


    My Play.js File :

    


    module.exports = {
    name: `play`,
    description: `Play A Song`,
    hidden: false,
    aliases: [`p`],
    usage: `(song)`,

async execute(client, message, args, Discord, errorlog, botlog, msglog, profileData, guildProfile){
    const music = args.join(' ');
    if (!message.member.voice.channel) return message.channel.send(`Uh Oh - You're not in a voice channel !`);

        if (message.guild.me.voice.channel && message.member.voice.channel.id !== message.guild.me.voice.channel.id) return message.channel.send(` You Are Not In The Same Voice Channel The Bot Is Currently In!`);

        if (!args[0]) return message.channel.send(`Uh Oh - Please indicate the title of a song !`);
    client.distube.play(message, args.join(' '))
}
}


    


    I can confirm that this works when I use windows powershell. Do you think this can possibly be due to it being unbuntu or does distube have no support for this ?

    


  • Error during use of ffmpeg for the joining of images to form a video file

    19 juin 2022, par Commoner

    I am trying to join a sequence of images (*.png) using ffmpeg. The filenames of the images are in the following format : recon_0001.png,  recon_0002.png, ... , recon_0100.png. I would like to join the images sequentially (i.e. recon_0001.png being the first frame, recon_0002.png the second frame and so on.)

    



    After looking at the following link : Python : Make a video using several .png images , I tried to implement my task using the following code :

    



    from __future__ import division
import cv2
import os
import matplotlib.pyplot as plt
from pylab import pcolor, show, colorbar, xticks, yticks
import numpy as np

if(1):
    ffmpeg -f image2 -r 1/5 -i /Users/Username/Folder/recon_%04d.png -vcodec mpeg4 -y movie.mp4


    



    But, I get the following error :

    



    ffmpeg -f image2 -r 1/5 -i /Users/Username/Folder/recon_%04d.png -vcodec mpeg4 -y movie.mp4
               ^
SyntaxError: invalid syntax


    



    What am I missing here ? I am new to the use of ffmpeg and I will really appreciate any help.

    


  • Evolution #3671 (Fermé) : enctype multipart/form-data inutile sur formulaire_ecrire_auteur

    19 février 2016, par b b