
Recherche avancée
Médias (2)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (68)
-
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Changer le statut par défaut des nouveaux inscrits
26 décembre 2015, parPar défaut, lors de leur inscription, les nouveaux utilisateurs ont le statut de visiteur. Ils disposent de certains droits mais ne peuvent pas forcément publier leurs contenus eux-même etc...
Il est possible de changer ce statut par défaut. en "rédacteur".
Pour ce faire, un administrateur webmestre du site doit aller dans l’espace privé de SPIP en ajoutant ecrire/ à l’url de son site.
Une fois dans l’espace privé, il lui faut suivre les menus configuration > Interactivité et activer (...) -
Amélioration de la version de base
13 septembre 2013Jolie 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 (6933)
-
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.