Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (85)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6836)

  • Play audio files on a channel (Ubuntu Server)

    16 octobre 2018, par danielperales555

    I want to make a "soundboard" on my Discord Bot.

    The bot is currently running on Ubuntu Server 18.04 in a VPS Hosting.

    I installed ffmpeg via aptitude apt-get install ffmpeg, and the respective node modules on my project via npm : npm install ffmpeg-binaries --save and npm install node-opus --save

    I have this provisional code :

    //!play (sound)
    if (!args[0]) return message.channel.send('noCorrectSyntax'); //args is provided by module.run

    let sound = args[0];
    let isReady = true;

    if (isReady) {
       isReady = false;
       let voiceChannel = message.member.voiceChannel;
       if (!voiceChannel) return message.channel.send('noChannel');

       voiceChannel.join().then(connection =>{
           const dispatcher = connection.playFile(`../resources/audios/${sound}.mp3`);
           if (!dispatcher) return message.channel.send('notFound');

           console.log(`${new Date().toUTCString()} 》Playing ${sound} on ${message.member.voiceChannel.name}`);

           dispatcher.on("end", end => {
               voiceChannel.leave();
               console.log(`${new Date().toUTCString()} 》Finished`);
           });
       }).catch(err => console.log(err));
       isReady = true;
    } else {
       return message.channel.send('notAvailable');
    }

    When my bot joins the voice room, it leaves instantly without playing the sound.

    Am I doing something wrong by installing the ffmpeg codec this way ? Is a problem with the VPS ?

    (I tried with a new bot, installing ffmpeg on windows and setting the path and it worked fine)

  • FFMPEG - 4K HDR - MPEG - BIG FILE convert

    8 mars 2018, par Ian Lodanko

    I would like to ask how through ffmpeg to achieve the smallest file size and yet keep the best quality [LIKE Youtube convert].

    Currently used :

    ffmpeg -i "/home/sampe_4K_HDR.mkv" -map 0:00 -c:v libx264 -preset ultrafast -b:v 66718k -pix_fmt yuv420p10le -x264-params "colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc" -crf 18 -c:a libfdk_aac -profile:v baseline -level 3.0 "/home/sampe_4K_HDR.mp4"

    But the size of the video after conversion is very large, I would like to preserve as much as possible the quality of the original video and get the smallest possible video size.

    Could you please advise ? Write some examples of how to get better with smaller sizes ? Thank you in advance and I apologize for my English in advance.

  • How to convert YUV420SP to YUV420P using ffmpeg sws_scale or other efficient method ?

    3 septembre 2011, par limitfan

    Thanks in advance. Any suggestion will be appreciated.