Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (62)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • 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

Sur d’autres sites (14189)

  • How to speed up ffmpeg video conversion

    22 avril 2018, par user2993497
    ffmpeg -i video.mp4 -c:v libvpx-vp9 -keyint_min 150 -g 150 -tile-columns 4 -frame-parallel 1  -f webm -dash 1 -an -vf scale=160:190 -b:v 250k -dash 1 video_160x90_250k.webm -an -vf scale=320:180 -b:v 500k -dash 1 video_320x180_500k.webm -an -vf scale=640:360 -b:v 750k -dash 1 video_640x360_750k.webm -an -vf scale=640:360 -b:v 1000k -dash 1 video_640x360_1000k.webm -an -vf scale=1280:720 -b:v 1500k -dash 1 video_1280x720_1500k.webm

    I’m converting a single video into multiple videos at different resolutions. But it’s painfully slow. how can I speed this up ?

  • FFMPEG on Linux (Mono)

    28 novembre 2016, par Paulo Anjos

    I’m creating a Discord Bot and I’m using Dot.Net. So I downloaded the necessary libs (ffmpeg and opus [for Discord]) and I’m running the .exe with Mono.

    I’m downloading a video file (mp4) and using FFMPEG to adjust the audio (16-bit, 48000Hz, PCM, 2 channels) and send it to the Discord Channel.

    It works fine on Windows but it refuses to on Linux (Ubuntu 14.04).
    It justs hangs and doesn’t do anything else like
    this image shows.

    Same .exe but in Windows now (to compare if needed) : image link

    I thought it was something with my Virtual Private Server but the same problem occured with my local Ubuntu 14.04 virtual machine.

    Code to send the song to Discord (Dot.Net) :

    async public void playAudio(Music m)
    {
       string path = "mp4" + Path.DirectorySeparatorChar + m.videoid + ".mp4";
       Process mProcess = Process.Start(new ProcessStartInfo
       {
           FileName = "ffmpeg",
           Arguments = //"-loglevel quiet " +
           "-i " + (char)34 + path + (char)34 + " " +
           "-f s16le -ar 48000 -ac 2 pipe:1",
           UseShellExecute = false,
           CreateNoWindow = false,
           RedirectStandardOutput = true, //stdout of the process
           RedirectStandardError = false,
           Verb = "runas"
       });
       while (!Utils.isRunning(mProcess)) { await Task.Delay(500); }

       while (true)
       {
           int blockSize = 3840;
           byte[] buffer = new byte[blockSize];
           int byteCount;
           byteCount = mProcess.StandardOutput.BaseStream.Read(buffer, 0, blockSize);
           if (byteCount == 0)
               break;
           if (stop_music)
               break;
           bot_audio.Send(buffer, 0, byteCount); //Send to Discord
       }
       ...
    }

    I find a little odd the libavresample   3.  1. 0 / 3.  1. 0 at the image (missing lib maybe ?).

    Any thoughts ?

  • Discord.js Music Bot ffmpeg not installed ?

    16 mars 2020, par cccmdm

    I just started learning javascript with node.js and I am attempting to create a music bot, I’ve set up the command handler and everything, however, I keep getting this error when I try to run the play command

    Error : FFmpeg/avconv not found !
    at Function.getInfo (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:130:11)
    at Function.create (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:143:38)
    at new FFmpeg (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:44:27)
    at AudioPlayer.playUnknown (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\player\BasePlayer.js:47:20)
    at VoiceConnection.play (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\util\PlayInterface.js:71:28)
    at C :\Users\johnd\OneDrive\Desktop\discordBot\commands\play.js:7:39
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

    I’ll post my play function below

    async function playMusic(vc,songId) {
       const stream = await ytdl(songId,{type: 'opus',filter : 'audioonly'});
       vc.join().then(connection => {
           const dispatcher = connection.play(stream,{volume: 1});
           dispatcher.on('end', end => {
               console.log("Song ended!");
               vc.leave();
           }).catch(err => console.log(err));
       }).catch(err => console.log(err));
    }

    My proof of installation : https://imgur.com/a/EFM1G6s