Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (67)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9446)

  • Add metadata while converting MKV to MP3 with FFMPEG

    17 août 2020, par Elderhoard

    I am trying to convert MKV files to MP3, while adding metadata and album artwork through a batch file. I am generating a PNG through FFMPEG, then converting to MP3 while adding metadata, and finally adding the album artwork i got initially.

    


    I have tried adding the metadata while converting to MP3 and while adding the artwork to no avail. I read something about it flushing the buffer too quickly but thought I might be able to get around it by adding it while converting it.

    


    Individually, all parts work, but I can't get it to add the title and artist to the metadata, or at least in a place where VLC can read it. any suggestions ?

    


    @echo off
::Extracts a PNG thumbnail 
for %%A in ("*.mkv") do (ffmpeg -ss 30 -i "%%A" -qscale:v 4 -frames:v 1 "%%~nA.png")

::Convert from MKV to MP3 and adds title and artist based on file name delimited by "-" eg Metallica - Enter Sandman.mkv
SETLOCAL ENABLEDELAYEDEXPANSION
for %%A in ("*.mkv") do (
    set filename=%%~nA
    set artist=
    set song=
    echo "!filename!"

    for /F "tokens=1,2 delims=-" %%G in ("!filename!") do (
        set artist="%%G"
        set song="%%H"
        echo !artist!
        echo !song!
    )

    echo !song! by !artist!

    ffmpeg -i "%%A" -b:a 192K -id3v2_version 4 -write_id3v2 1 -metadata title="%song%" -metadata artist="%artist%" -flush_packets 0 -vn "%%~nA.mp3"
)

::Add Artwork to MP3
for %%A in ("*.mp3") do (ffmpeg -i "%%A" -i "%%~nA.png" -map 0:0 -map 1:0 -c copy -id3v2_version 3 "UPDATED%%~nA.mp3")


    


  • music bot stops after playing music for 30-50 secs

    19 mars 2023, par ra1nb0w
    const { QueryType } = require("discord-player")&#xA;const player = require("../../client/player")&#xA;const Discord = require(&#x27;discord.js&#x27;)&#xA;&#xA;module.exports = {&#xA;    name: &#x27;play&#x27;,&#xA;    cooldown: 5,&#xA;    aliases: [&#x27;p&#x27;],&#xA;    description: "Plays a song",&#xA;    usage: "?p <song></song>vid-URL>",&#xA;    category: "Music",&#xA;&#xA;    async execute(client, message, args) {&#xA;        const songTitle = args.join(" ")&#xA;        const queue = await player.createQueue(message.guild);&#xA;        const nosongEmbed = new Discord.MessageEmbed()&#xA;            .setColor(&#x27;#3d35cc&#x27;)&#xA;            .setDescription(`‼️ - Please provide a song URL or song name!`)&#xA;&#xA;        if (!songTitle) return message.reply({ embeds: [nosongEmbed] })&#xA;        &#xA;&#xA;        const novcEmbed = new Discord.MessageEmbed()&#xA;            .setColor(&#x27;#3d35cc&#x27;)&#xA;            .setDescription(`‼️ - You have to be in a Voice Channel to use this command!`)&#xA;&#xA;        if (!message.member.voice.channel) return message.reply({ embeds: [novcEmbed] })&#xA;        if (!queue.connection) await queue.connect(message.member.voice.channel)&#xA;&#xA;        let url = songTitle&#xA;            &#xA;            // Search for the song using the discord-player&#xA;            const result = await player.search(url, {&#xA;                requestedBy: message.author,&#xA;                searchEngine: QueryType.AUTO&#xA;            })&#xA;&#xA;            // finish if no tracks were found&#xA;            if (result.tracks.length === 0)&#xA;                return message.reply("No results")&#xA;&#xA;            // Add the track to the queue&#xA;            const song = result.tracks[0]&#xA;            await queue.addTrack(song)&#xA;            const embed = new Discord.MessageEmbed()&#xA;                .setColor("AQUA")&#xA;                .setDescription(`**[${song.title}](${song.url})** has been added to the Queue`)&#xA;                .setThumbnail(song.thumbnail)&#xA;                .setFooter({ text: `Duration: ${song.duration}`})&#xA;            message.reply({ embeds: [embed] })&#xA;            if (!queue.playing) await queue.play()&#xA;            &#xA;&#xA;            &#xA;&#xA;        }&#xA;        &#xA;    }&#xA;&#xA;

    &#xA;

    i used the command then the song just stops playing after 30-50 seconds, it is supposed to play till the music finishes and then keep staying in the voice channel until a few mins of no music

    &#xA;

    i have reinstalled ffmpeg

    &#xA;

    using :&#xA;discord.js : 13.14.0&#xA;discord-player : 5.2.2

    &#xA;

  • ffmpeg merge_outputs not outputting the final file

    30 mai 2020, par Ethanopp

    I am trying to combine multiple independent instrument audio tracks (.ogg files) from a song into 1 final 'song' file that has them all playing simultaneously.

    &#xA;&#xA;

    The following properly outputs each independent .mp4 file, but once it's done running, I don't see a final file with everything combined...

    &#xA;&#xA;

    import ffmpeg&#xA;import os&#xA;&#xA;os.environ[&#x27;path&#x27;] = &#x27;C:\\Program Files (x86)\\ffmpeg\\bin&#x27;&#xA;&#xA;song = ffmpeg.input(&#x27;song.ogg&#x27;).output(&#x27;song.mp4&#x27;).audio&#xA;drums = ffmpeg.input(&#x27;drums_1.ogg&#x27;).output(&#x27;drums1.mp4&#x27;).audio&#xA;drums2 = ffmpeg.input(&#x27;drums_2.ogg&#x27;).output(&#x27;drums2.mp4&#x27;).audio&#xA;drums3 = ffmpeg.input(&#x27;drums_3.ogg&#x27;).output(&#x27;drums3.mp4&#x27;).audio&#xA;guitar = ffmpeg.input(&#x27;guitar.ogg&#x27;).output(&#x27;guitar.mp4&#x27;).audio&#xA;vocals = ffmpeg.input(&#x27;vocals.ogg&#x27;).output(&#x27;vocals.mp4&#x27;).audio&#xA;rhythm = ffmpeg.input(&#x27;rhythm.ogg&#x27;).output(&#x27;rhythm.mp4&#x27;).audio&#xA;&#xA;out = ffmpeg.merge_outputs(song, drums, drums2, drums3, guitar, vocals, rhythm)&#xA;&#xA;ffmpeg.run(out)&#xA;

    &#xA;