
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (55)
-
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Personnaliser l’affichage de mon Médiaspip
27 mai 2013Vous pouvez modifier la configuration du squelette afin de personnaliser votre Médiaspip Voir aussi plus d’informations en suivant ce lien
Comment supprimer le nombre de vues d’affichage d’un média ?
Administrer > Gestion du squelette > Pages des articles et médias Cocher dans "Informations non affichées sur les pages de médias" les paramètres que vous ne souhaitez pas afficher.
Comment supprimer le titre de mon Médiaspip dans le bandeau horizontal ?
Administrer > Gestion du squelette > (...)
Sur d’autres sites (10258)
-
FFMPEG How to join the audio of one song into the instrumental of another song
28 mai 2020, par Patrice AndalaThe Problem :



So I am creating an android app where people can upload music and I want people to be able to take the vocals of one song and the instrumental from another song and merge them to create a different song, and I think the android FFMPEG library is the best way to accomplish this.



What I've been able to do :



1.) I have been able to get the instrumental from a song using this command :
-i audio1.mp3 -af pan='stereo|c0=c0|c1=-1*c1' -ac 1 output.mp3
But the job isn't so good, since I can still hear some audio in the background and not all the audio is removed.


2)I've been able to join two audio files using the command
-y -i audio1.mp3 -i audio2.mp3 -filter_complex '[0:0][1:0] amix=inputs=2:duration=longest' -c:a libmp3lame output.mp3



What I need



1) I need to be able to strip just the vocals of a song. Is there an FFMPEG command to do this ?



2)I need a better command to get me the instrumental of the song, since the one I'm using is not goood enough.



3) I need a command that will help me determine the starting point of a song in an instrumental, so that I know where to place the new vocals when I finally merge them.



4) How to get the bpm of an audio file with ffmpeg, since I know songs mix well when their bmp is almost similar



Any help in any of these areas is greatly appreciated.


-
Make a video file with the song cover for each song in a folder [closed]
19 novembre 2024, par Nathan KaufmannI have a folder full of wav audio files, and I would want, using ffmpeg in a batch file, to output as many video files as there is songs, with a still image of the cover, with the highest possible audio quality as permitted by ffmpeg. Additionally I would want the metadata (title, artist, album and year) to be copied to the corresponding video file.


For now I have the command :

ffmpeg -f lavfi -i color=c=black:s=640x480 -i song.wav -c:v libx264 -tune stillimage -pix_fmt yuv420p -shortest -c:a aac -ar 96000 -b:a -metadata title="My title" 1000000000k output.mp4


But it only makes a black video with the song, with the highest quality sound I could set, and it changes the title but I couldn't find how to change it to the song's title. Also for now I don't know how to automate it for a whole folder.


-
How to make a bot to search song automatically on YouTube after input some words of the song ?
30 juin 2021, par SOHAM DAS BISWAS.I had made a discord bot using python which plays YouTube songs. It takes the link to play a song I want to make it short. I want to give some words of the song and it will search automatically the song on YouTube and play it for me.


My Code :-


import discord,requests, sys, webbrowser, bs4
import youtube_dl
import os
from dotenv import load_dotenv
import ffmpeg
from discord.ext import *
from discord.ext import commands
from discord.ext.commands import Bot
from discord.voice_client import VoiceClient
import asyncio
@client.command(pass_context=True) #====================================Join
async def join(ctx):
 channel = ctx.author.voice.channel
 await channel.connect()
@client.command() #===================================Play
async def play(ctx, url:str):
 song_there = os.path.isfile("song.mp3")
 try:
 if song_there:
 os.remove("song.mp3")
 player.clear()
 except PermissionError:
 await ctx.send("Wait for the current playing music end or use the 'stop' command...")
 return
 await ctx.send("Getting everything ready, playing audio soon, depends on your internet speed...")
 print("Someone wants to play music let me get that ready for them...")
 voice = discord.utils.get(client.voice_clients, guild=ctx.guild)
 ydl_opts = {
 'format': 'bestaudio/best',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],
 }
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([url])
 for file in os.listdir("./"):
 if file.endswith(".mp3"):
 os.rename(file, 'song.mp3')
 voice.play(discord.FFmpegPCMAudio("song.mp3"))
 
 voice.volume = 100



Please help me to solve this.