Recherche avancée

Médias (91)

Autres articles (60)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (12357)

  • Can't Install FFMPEG with homebrew

    6 mai 2021, par dcnaber

    I tried installing FFmpeg with homebrew today. When I enter "brew install FFmpeg" I get this :

    


    (my terminal)

    


    I tried running commands like brew doctor and git -C $(--repo homebrew/core)

    


    I'm using macOS Big Sur btw.

    


    EDIT : I installed FFmpeg as a final solution it seems to be working now. Thanks for helping, guys. I don't know what's wrong with my homebrew though.

    


  • Random sounds in discord.js

    1er septembre 2020, par Audiophile

    I'm programming a discord bot using discord.js. I want to make a random sound player !
What am I doing wrong ? Can you help me ?

    



    case 'ps':
            var voiceChannel = message.member.voiceChannel
                voiceChannel.join().then(connection => {
                number = 5;
            var random = Math.floor (Math.random() * (number - 1 + 1 )) + 1;
            var rs = ( {files: [__dirname + '/Library/folder/' + "sound" + " (" + random + ")" + ".jpg"]} );
            const dispatcher = connection.playFile(rs);
                dispatcher.on('end', end => voiceChannel.leave());
            })
        break;


    



    There aren't any errors in terminal.

    


  • Using videoshow (npm module) with ffmpeg to conver audio+image into video

    31 mai 2017, par delesslin

    I’m trying to use the videoshow utility to combine a short audio clip with an image on my ubuntu system. I installed ffmpeg globally while in the root directory using :

    sudo apt-get install ffmpeg

    I then installed videoshow inside the project folder using :

    sudo npm install videoshow

    The project folder contains 3 files plus the node_modules folder : an image (wolf.jpg), an audio clip (wolf.mp3), and a js file (audio.js). I derived audio.js from an example script on the videoshow github page. Here is my script :

       var videoshow = require('videoshow')

    var images = [
     "wolf.jpg"
    ]

    var videoOptions = {
     fps: 25,
     loop: 5, // seconds
     transition: true,
     transitionDuration: 1, // seconds
     videoBitrate: 1024,
     videoCodec: 'libx264',
     size: '640x?',
     audioBitrate: '128k',
     audioChannels: 2,
     format: 'mp4',
     pixelFormat: 'yuv420p'
    }

    videoshow(images, videoOptions)
     .audio('wolf.mp3')
     .save('wolf.mp4')
     .on('start', function (command) {
       console.log('ffmpeg process started:', command)
     })
     .on('error', function (err, stdout, stderr) {
       console.error('Error:', err)
       console.error('ffmpeg stderr:', stderr)
     })
     .on('end', function (output) {
       console.error('Video created in:', output)
     })

    In the terminal, inside the project folder I then call :

    node audio.js

    The terminal is silent for a moment followed by :

       ffmpeg process started: ffmpeg -i /tmp/videoshow-db63732f-7376-4663-a7bc-c061091e579a -y -filter_complex concat=n=1:v=1:a=0 wolf.mp4
    ffmpeg process started: ffmpeg -i /tmp/videoshow-1f8851b4-c297-4070-a249-3624970dbb85 -i wolf.mp3 -y -b:a 128k -ac 2 -r 25 -b:v 1024k -vcodec libx264 -filter:v scale=w=640:h=trunc(ow/a/2)*2 -f mp4 -map 0:0 -map 1:0 -t 5 -af afade=t=in:ss=0:st=0:d=3 -af afade=t=out:st=2:d=3 -pix_fmt yuv420p wolf.mp4
    Error: [Error: ffmpeg exited with code 1: ]
    ffmpeg stderr: undefined

    I’m not sure why this isn’t working, but any/all assistance would be deeply appreciated...

    Hawu’h (thanks),
    Roo