
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (95)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (6719)
-
Ffmpeg : mixed audio is played louder and louder, how to set a constant intensity ?
29 août 2020, par JarsOfJam-SchedulerI have these items :


- 

- A video (
my_video_with_music.webm
) - Three sounds (
tmp_music/forest_15s.wav
,tmp_music/forest2_15s.wav
andtmp_music/creak_15s.wav
) - A background music (
tmp_music/original_music.mp3
)








I mix all these files in two steps. First, I mix the video with the background music. Then, I mix this output with the sounds. A video with the music and the sounds, let name it "THE_VIDEO", is output.


My problem is that "THE_VIDEO" increases in loudness along the video. At the beginning, it's not very loud. At the end of the video, it's very loud. I don't know why. I would want to have a constant loudness (not too loud, not too low).


How can I do it ? Note that the original music file and sounds files don't increase in loudness : they have themselves a constant intensity. So it's actually FFMPEG that increases it when mixing them with the video.


Sources


Mixing the background music with the video (this command doesn't trigger the bug !) :


C:/Users/x/Downloads/ffmpeg/bin/ffmpeg.exe -i my_video.webm -stream_loop -1 -i tmp_music/original_music.mp3 -c:v copy -shortest -fflags +shortest -max_interleave_delta 100M my_video_with_music.webm



Adding the sounds (this is the command that triggers the bug !) :


C:/Users/x/Downloads/ffmpeg/bin/ffmpeg.exe -i my_video_with_music.webm -i tmp_music/forest_15s.wav -i tmp_music/creak_15s.wav -i tmp_music/forest2_15s.wav -filter_complex [1]adelay=7000|7000[a1];[1]adelay=37000|37000[a2];[1]adelay=88000|88000[a3];[2]adelay=118000|118000[a4];[0][a1][a2][a3][a4]amix=5 -c:v copy my_video_with_music_with_songs.webm



- A video (
-
TypeError : 'function' object is not subscriptable Python with ffmpeg
25 novembre 2019, par S1mpleclips = []
def clipFinder(CurrentDir, fileType):
clips.clear()
for r,d,f in os.walk(CurrentDir):
for file in f:
if fileType in file:
clips.append(r+file)
random.shuffle(clips)
def removeVods(r):
for f in clips:
if 'vod' in clips:
os.remove(r+f)
def clipString():
string = 'intermediate'
clipList = []
clipNum = 1
for f in clips:
clipList.append(string+str(clipNum)+'.ts'+'|')
clipNum+=1
string1 = ''.join(clipList)
string2 = string1[0:len(string1)-1]
return string2
def concatFiles():
clipFinder('***', '.mp4')
removeVods('***')
i = 0
intermediates = []
for f in clips:
subprocess.call(['***', '-i', clips[i], '-c', 'copy', '-bsf:v', 'h264_mp4toannexb', '-f', 'mpegts', 'intermediate'+ str(i+1) +'.ts'])
i += 1
clipsLength = len(clips)
subprocess.call['***', '-i', '"concat:' + clipString() + '"', '-c', 'copy', '-bsf:a
aac_adtstoasc', 'output.mp4']I am trying to make a clip concatenator, but the last subprocess call won’t run and gives me the error shown in the question.
Problematic code :
subprocess.call(['***', '-i', '"concat:' + clipString() + '"', '-c', 'copy', '-bsf:a aac_adtstoasc', 'output.mp4'])
all places with * were paths such as :
/davidscomputer/bin/ffmpeg/ -
ffmpeg - Live stream to web browser [on hold]
21 octobre 2016, par Sreejith C MI was looking for a solution to stream my desktop live on my Windows system and found out ffmpeg is a good solution using dshow and everything is working fine and well. I’m using a C# wrapper for ffmpeg to record my desktop and I can save it in a local file.
The problem I have is that, I have to watch the stream on my Web browser ( Chrome / Firefox ). I can’t use Media Server’s like wowza, red5 and also can’t use ffserver.
I tried the ffmpeg wiki https://trac.ffmpeg.org/wiki and documentation but couldn’t figure out how to do this.
Please help me to figure out this, how I can do this.