
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (106)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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.
Sur d’autres sites (11512)
-
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>


-
Convert audio to video ffmpeg with a gif as the background but keep the audio length
22 janvier 2018, par akivaI used this to combine a JPG and MP3 into a video :
ffmpeg -loop 1 -i 1.jpg -i song.mp3 -strict -2 -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest out.mp4
I’m trying to change the .jpg to a .gif, but the gif should loop to the MP3 length