
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (108)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (11748)
-
Use specific channels from specific streams for the final stream using FFMPEG [closed]
9 juin 2024, par Kazu-kunI want to create a 5.1ch audio stream from a 2ch audio stream. However I want to put a negative delay to LFE, SL and SR channels since they will be played from my bluetooth speaker, so I want to make up for the delay by giving it a negative delay.




ffmpeg -itsoffset 0.1 -i input.mkv -i input.mkv


-filter_complex “


[1:a]pan=5.1(side)|FL=FL|FR=FR|LFEp>

[0:a]pan=5.1(side)|FL=FL|FR=FR|LFEp>

[orig5_1][delayed5_1]amerge=inputs=2,pan=5.1(side)|FL=c6|FR=c7|LFE=c2|SL=c3|SR=c4[a]”


-map "[a]" -map 0:v -map 0:s -c:v copy -c:a flac -c:s copy output.mkv




I tried taking the same input twice with the first one being delayed by 0.1 secs. With the delayed input a 5.1 audio is created and with the original another 5.1 audio is created as well. Then the two audio streams are merged with amerge and combined into a single 5.1 audio by taking delayed channels for FL and FR(These will be played from my MacBook) and by taking original channels for LFE, SL and SR(These will be played from my bluetooth JBL). Finally the video and subs streams are taken from the delayed.


The above command gave a "pipe pipe pipe dqoute" error and when I entered the command again it said :




zsh : unknown file attribute : i


zsh : no such file or directory : FL+FR


zsh : unknown file attribute : i


zsh : no such file or directory : FL+FR


zsh : unknown file attribute : i


zsh : command not found : -map




Please give me a command for my requirement !


-
Downloading m3u8 as mp3
21 avril 2022, par chocojunkieTrying to download an m3u8 stream into a playable .mp3 file. I've used the following code :


url = 'https://cs2-1v4.vkuseraudio.net/s/v1/ac/q9UcCVoA_zxE4698emgthLVq0j9JpliZ_sOrmtsLkZ4O6PivNxQC3Cunptncm4Uj9-_tI6dg3tr0At7qlsG2UzIXskjpVzPeSSBIl-ZOf_vxfh3GTWSHlObToDaeCi1ApD-dgDpi1SAZwlnzKbcWNFxkrvgqD1WTnII6K8FUNSzN7HA/index.m3u8'

subprocess.run(['ffmpeg', '-i', url, 'song.mp3'])



But this only downloads parts of the stream stuck together. The stream is 4 minutes long, the file is 2. And you can hear breaks, e.g. at 0:25 of the mp3.


-
Error due to calling audio_loop in moviepy
9 juin 2020, par Nosterto have music play in the background of a video that has its own audio, and loop until the end of the video i am using the following code. however audio_loop is causing and error after the video is done writing. the song is 67 seconds long, and if i set
duration = 66
or below I get no error but any time over causes an error.


final_clip = concatenate_videoclips([*vidclip], method='compose')

count=0
for file in os.listdir(TO):
 if file.endswith('.mp4'):
 count+=1

finalClipName = "{}Final.mp4".format(count)
music = AudioFileClip('song.mp3')
audio_background = afx.audio_loop(music, duration = final_clip.duration)#ERROR
final_audio = CompositeAudioClip([final_clip.audio, audio_background])
final_clip = final_clip.set_audio(final_audio)
final_clip.write_videofile(finalClipName, fps=10)




The error at question



Exception ignored in: <function at="at" 0x0000026346d3baf8="0x0000026346d3baf8">
Traceback (most recent call last):
 File "C:\Users\Eric\Projects\Videdit\venv\lib\site-packages\moviepy\audio\io\readers.py", line 254, in __del__
 self.close_proc()
 File "C:\Users\Eric\Projects\Videdit\venv\lib\site-packages\moviepy\audio\io\readers.py", line 150, in close_proc
 self.proc.terminate()
 File "C:\Users\Eric\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1314, in terminate
 _winapi.TerminateProcess(self._handle, 1)
OSError: [WinError 6] The handle is invalid
</function>