Recherche avancée

Médias (91)

Autres articles (82)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (9698)

  • I want to get subtitles of images with CLI

    30 avril 2018, par user3387068

    I have movie data that BD has riped, with subtitles inside.
    Just that subtitle is saved as an image.
    So I’d like to get that subtitle image with CLI.
    Is there a good tool ?

    I will also post movie information from ffmpeg.

    Stream #0:0: Audio: flac, 48000 Hz, stereo, s32 (24 bit) (default)
    Stream #0:1: Subtitle: hdmv_pgs_subtitle (default)
    Stream #0:2: Subtitle: hdmv_pgs_subtitle
  • lavf/segment : guess list type from list filename suffix

    16 août 2012, par Stefano Sabatini

    lavf/segment : guess list type from list filename suffix

  • issue with ffmpeg (not loading song ?) - ffmpeg stream : write EPIPE

    15 novembre 2020, par super

    issue : with some songs that i play through the StreamDispatcher from the discord.js module (seems to be ones that have silences at the beginning), the dispatcher will almost immediately finish and throw an error. i use the ffmpeg-static module.

    


    from what i've seen, these are the two errors that i'm receiving from calling the "debug" and "error" events of the dispatcher

    


    Error: ffmpeg stream: write EPIPE

    


    Error [ERR_STREAM_DESTROYED]: ffmpeg stream: Cannot call write after a stream was destroyed

    


    reproducible code sample (requires ytdl-core) :

    


    /**
* @param {Discord.VoiceConnection} connection 
* @param {String} url 
*/
async function run(connection, url) // assuming these two variables aren't null
{
    const video = ytdl(url, { highWaterMark: 5242880 });
    video.on("error", (err) => console.log(err));
    let dispatcher = connection.play(video);
    dispatcher.on("finish", () => console.log("finished"));
    break;
}
// recommended url: https://www.youtube.com/watch?v=Auk1oVI2Icw
// (this is one i've been using to test this issue)


    


    original code from my project plus some comments from guiding :

    


    async play() // this is my function for playing music on the bot
{
    if (this.queue.length === 0) return;
    if (!this.guild.me.voice || !this.guild.me.voice.channel) return;
    let connection = this.guild.me.voice.connection;
    if (!connection) return;
    if (connection.dispatcher) return;
    let track = this.queue[0];
    let channel = this.guild.channels.cache.get(track.channelID);
    switch (track.type)
    {
        //case "soundcloud" omitted
        case "youtube":
        {
            const video = ytdl(track.url, { highWaterMark: 5242880 });
            video.on("error", (err) => console.log(err));
            channel.send(`playing: **${track.name}** // requester: **${track.requester.tag}**`);
            let dispatcher = connection.play(video); // dispatcher will begin
            dispatcher.setVolume(this.volume);
            dispatcher.on("finish", () => this.finish()); // almost immediately the following will be called
            // fyi: there isn't anything special in the function called, just some code to shift the queue
            break;
        }
    }
}


    


    details :

    


      

    • discord.js version : 12.4.1
    • 


    • node.js version : v12.18.3
    • 


    • operating system : windows 10
    •