
Recherche avancée
Autres articles (59)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7611)
-
4 ways to create more effective funnels
24 février 2020, par Jake Thornton — Uncategorized -
avcodec/lpc : Avoid floating point division by 0
28 mai 2021, par Michael Niedermayer -
Pydub The system can not find the file specified
11 janvier 2021, par MadarSo here is my code :


from pydub import AudioSegment
sound1 = AudioSegment.from_mp3("sound_0.mp3")
sound2 = AudioSegment.from_mp3("sound_1.mp3")

sound = sound1 + sound2
sound.export("test.mp3",format="mp3")



Problem :
I got the error message : WindowsError : [Error 2] The system can not find the file specified


System configuration
Python version : 3.8
Pydub version : I just installed it
ffmpeg or avlib ? : ffmpeg
ffmpeg/avlib version : 2020-12-15-git-32586a42da-full_build-www.gyan.dev


What did I try ?
So, I found some things to do on a Stackoverflow subject,
I tried to add this


pydub.AudioSegment.ffmpeg = "way//to//ffmpeg.exe"



But it doesn't worked, then this


AudioSegment.converter = "way//to//ffmpeg.exe"



Still doesn't work, so, because I'm on spyder with anaconda, I tried this on the anaconda prompt


conda install -c conda-forge ffmpeg



I even tried to put ffmpeg.exe,ffplay.exe in the current working directory but still doesn't worked..


So I'm desperately here for some help, thanks in advance