Recherche avancée

Médias (91)

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (10003)

  • 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

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

    


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