Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (68)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (8012)

  • Shazaam-esque music comparison [closed]

    17 janvier 2021, par Matthew Trip

    I have two files, a Full.mp4 and a Cut.mp4 I do not care about the video. I want to check if Cut appears in Full at any point. I have tried comparing the streams and their byte arrays but Rider keeps showing memory issues without an explanation. What is the general approach I should take ?

    


  • 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

    


    bot.player = new Player(bot, {
    ytdlOptions: {
        quality: 'lowestaudio',
        highWaterMark: 1 >> 25
    },
})

const player = bot.player;

//play command 


bot.on('interactionCreate', async interaction =>{
    if(interaction.commandName === 'play') {

        const song = interaction.options.get('song').value;
        const res = await player.search(song, {
            searchEngine: QueryType.SPOTIFY_SONG
        });


        if (!res || !res.tracks.length) return interaction.reply({ content: `No results found ${interaction.member}... try again ? ❌`, ephemeral: true });

        const queue = await player.createQueue(interaction.guild)

        if (!queue.connection) await queue.connect(interaction.member.voice.channel);


        await interaction.channel.send({ content:`Loading your ${res.playlist ? 'playlist' : 'track'}... 🎧`});

        const track = await res.tracks[0]

        console.log(track)
        if(!track)  return interaction.channel.send({content: 'No song found'});

        queue.addTrack(track)

        queue.play();

    }
})


    


    After leaving the channel, other commands and bot work fine

    


  • Problem when adding background music to video without sound

    27 avril 2020, par Nguyễn Trọng

    I am trying to cut a piece of background music and loop them into a video and change the speed of the video with the command below.

    



     String[] cmd = {"-y", "-i", input, "-i", shortsound,
            "-filter_complex",
            "[0:v]trim=0:120,setpts=1/2*(PTS-STARTPTS)[v1]," +
                    "[0:v]trim=120:240,setpts=1/2*(PTS-STARTPTS)[v2];" +
                    "[1:a]atrim=0:6,asetpts=PTS-STARTPTS," +
                    "asetrate=44100,aloop=-1:2e+09," +
                    "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1.0[bg];" +
                    "[0:a]atrim=0:120,asetpts=PTS-STARTPTS,atempo=2.0" +
                    ",aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a1]," +
                    "[0:a]atrim=120:240,asetpts=PTS-STARTPTS,atempo=2.0," +
                    "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a2];" +
                    "[v1][a1][v2][a2]concat=n=2:v=1:a=1[video][audio];[audio]volume=0.5[avolume];" +
                    "[avolume][bg]amerge=2,pan=stereo|c0code>

    



    Everything was fine until I tried with a video without sound, it didn't work.
How when input is a video without sound ?