Recherche avancée

Médias (91)

Autres articles (35)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (10352)

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