Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (38)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8231)

  • oggenc : Fix the EOS flag

    28 mai 2014, par Michael Niedermayer
    oggenc : Fix the EOS flag
    

    This corrects the bug that caused the checksums to change in
    9767d7c092c890ecc5953452e8a951fd902dd67b.

    It caused the EOS flag to be set incorrectly ; the ogg spec does not
    allow it to be set in the middle of a logical bitstream.

    Signed-off-by : Andrew Kelley <superjoe30@gmail.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/oggenc.c
    • [DBH] tests/ref/lavf/ogg
  • Discord js music player bot suddenly leaves

    29 janvier 2024, par ImK

    So I made a music bot for discord js that uses discord player package. The command runs perfectly but in the middle song suddenly stops I tried searching everywhere nothing works and i think its an issue for ffmpeg but im not so sure

    &#xA;

    bot.player = new Player(bot, {&#xA;    ytdlOptions: {&#xA;        quality: &#x27;lowestaudio&#x27;,&#xA;        highWaterMark: 1 >> 25&#xA;    },&#xA;})&#xA;&#xA;const player = bot.player;&#xA;&#xA;//play command &#xA;&#xA;&#xA;bot.on(&#x27;interactionCreate&#x27;, async interaction =>{&#xA;    if(interaction.commandName === &#x27;play&#x27;) {&#xA;&#xA;        const song = interaction.options.get(&#x27;song&#x27;).value;&#xA;        const res = await player.search(song, {&#xA;            searchEngine: QueryType.SPOTIFY_SONG&#xA;        });&#xA;&#xA;&#xA;        if (!res || !res.tracks.length) return interaction.reply({ content: `No results found ${interaction.member}... try again ? ❌`, ephemeral: true });&#xA;&#xA;        const queue = await player.createQueue(interaction.guild)&#xA;&#xA;        if (!queue.connection) await queue.connect(interaction.member.voice.channel);&#xA;&#xA;&#xA;        await interaction.channel.send({ content:`Loading your ${res.playlist ? &#x27;playlist&#x27; : &#x27;track&#x27;}... &#127911;`});&#xA;&#xA;        const track = await res.tracks[0]&#xA;&#xA;        console.log(track)&#xA;        if(!track)  return interaction.channel.send({content: &#x27;No song found&#x27;});&#xA;&#xA;        queue.addTrack(track)&#xA;&#xA;        queue.play();&#xA;&#xA;    }&#xA;})&#xA;

    &#xA;

    After leaving the channel, other commands and bot work fine

    &#xA;

  • Node package fluent-ffmpeg

    14 octobre 2015, par Jon Stevens

    I am building something that generates a slideshow video of images with the node package ’fluent-ffmpeg’. I have most everything working in the video creation except for cycling through multiple images. Here’s my code :

    var ffmpeg = require('fluent-ffmpeg');

    var loop = 5;
    var duration = (images.length * loop);
    var frames = 25;
    var width = '1280';
    var height = '720';
    var dimensions = width + 'x' + height;
    var aspect = '4:3';

    var watermark = ffmpeg()
     .addInput('images/resized/watermark-0.jpg')
     .fps(frames)
     .loop(loop)
     .size(dimensions)
     .aspect(aspect)
     .autopad()
     .format('mp4')
     .duration(duration)
     .videoFilters(
       {
         filter: 'fade',
         options: ['in', 0, 30]
       }
     )
     .on('error', function(err) {
         console.log('Error ' + err.message);
     })
     .on('end', function() {
         console.log('Finished!');
     })
     .save("middle.mp4");

    The issue is that the last image overwrites the first or any preceding images. How can I create a video with an array of images that treats it like a slideshow and cycles through the images. It works great when I just have one ’addInput’ element for images but as soon as I add a second image the video either breaks or the last image overwrites the others. HELP !