
Recherche avancée
Autres articles (15)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Les formats acceptés
28 janvier 2010, parLes 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 (4696)
-
FFmpeg - ducking music for voiceover (sidechain)
7 décembre 2023, par kaushalI am trying to duck the background music from a voiceover input file using FFmpeg (I tried doing this using pydub with no success).


The below command is predominantly working, except that it is truncating my background music file (main.mp3, over 3 min long) to the length of the voiceover file (taekwondo.mp3, about a min long). Any idea or suggestion on what can I change in below command so that the output file is full 3 min long, with background music ducked when the voiceover is playing. Once the voiceover completes, background music continues to play as normal.


In below complex filter, this is what I'm doing :
adelay filter : to start voiceover playing after 5 seconds into background music
volume filter : Since my background music is too loud and voiceover is too low, I'm increasing voiceover volume by 1.5 times, and lowering background music volume to 0.7 times
sidechaincompress filter : Then I'm applying sidechain filter to duck background music whenever voiceover is playing, with usual threshold, ratio & release filters


I've tried both amix & amerge, but results in same behaviour.


ffmpeg -i main.mp3 -i taekwondo.mp3 -filter_complex "[1:a]adelay=5000|5000,volume=1.5[a];[0:a]volume=0.7[b];[a]asplit=2[sc][mix];[b][sc]sidechaincompress=threshold=0.05:ratio=20:level_sc=1:release=500:attack=1[compr];[compr][mix]amix" output.mp3



-
Add random music for video with ffmpeg [closed]
24 juillet 2023, par alexdoI'm a new user of FFmpeg, I want to add random music (defined folder) for multiple video with ffmpeg ?


Specifically : I have a FFmpeg command, i used to process multiple videos in the folder at the same time


`@ECHO OFF


Setlocal EnableDelayedExpansion
set INPUT=D :\Shorts\code\INPUT
set OUTPUT=D :\Shorts\code\OUTPUT


: : encode video :


for %%a in ("%INPUT%*.*") DO ffmpeg -i "%%a" -i "MUSIC*.mp3" -c copy -preset slow -pix_fmt yuv420p -shortest -y "%output%%% na.mp4"


pause`


error can't find music file
enter image description here


Please help me ?


-
Discord Music Bot interrupts music playback on Heroku
29 mars 2023, par denisnumbI have a music discord bot written in
Python
. Bot plays music from YouTube using theyt-dlp
library andffmpeg
.

Everything worked fine, but a couple of days ago the bot began to interrupt the playback of any tracks for
~80%
duration, crashing with an error :

[tls @ 0x6e3b440] Error in the pull function.
[tls @ 0x6e3b440] IO error: Connection reset by peer
[https @ 0x6e37900] Will reconnect at 720896 in 0 second(s), error=Connection reset by peer.



I have the latest version of
py-cord=2.4.1
andyt-dlp==2023.3.4
installed. When the bot is launched on my computer, the bot plays all the tracks to the end, so the problem is clearly not in the code and not in the libraries.

I suspect something is wrong with
ffmpeg
, so I tried installing different buildpacks, but that didn't solve the problem.

At the moment I have the following installed :


https://github.com/xrisk/heroku-opus.git
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git



What could be the problem and how to solve it ? Why did this problem appear only on hosting ? Why didn't this happen before ?