
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 (62)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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
Sur d’autres sites (10752)
-
Converting files from a C++ base [closed]
31 mars 2014, par Trevader24135I'm looking for a way to use ffmpeg from a program in C++ to allow super easy and accurate converting by typing only a couple of things in. I have everything all working, except the most important part. The actual converter. Here's my code so far - how do I use ffmpeg in C++ ?
#include <iostream>
#include <mp>
using namespace std;
int main()
{
std::string formatIn;
std::string FormatOut;
std::string confirm;
cout << "select format that file is currently in: mp3, gp3, mp4, flv" << endl;
cin >> formatIn;
cout << "original format = " << formatIn << endl;
cout << "choose your target format: mp3, gp3, mp4, flv" << endl;
cin >> FormatOut;
cout << "selected format = " << FormatOut << endl;
cout << "proceed? ";
cin >> confirm;
if(confirm == "yes") {
cout << "proceeding with operation:" << endl;
func convert();
}
else {
if(confirm == "no") {
cout << "canceling,,," << endl;
}
}
}
int convert()
{
}
</mp></iostream> -
pydub unable to find the selected files
4 février 2021, par big_Z_0909my code is as below


import pydub
from pathlib import Path
import os, sys

pydub.AudioSegment.converter = r"D\\Anaconda3\\Scripts\\ffmpeg-2021-02-02-git-2367affc2c-essentials_build\\bin\\ffmpeg.exe"
pydub.AudioSegment.ffprobe = r"D\\Anaconda3\\Scripts\\ffmpeg-2021-02-02-git-2367affc2c-essentials_build\\bin\\ffprobe.exe"

my_file = "D:\\Anaconda3\\Scripts\\outcall\\luyinwenjian\\20210203.mp3"
song = pydub.AudioSegment.from_mp3(my_file)



i downloaded the essential windows eddition of ffmpeg from the official website. i still cannot load the mp3 file from the document, got the FileNotFoundError : [WinError 2]. In the warning, it said that it could find ffprobe and ffmpeg, but in fact the path is correct in the code. Does anyone point out what exactly i went wrong here ?


-
from_file function of pydub's audiosegment is only reading about 5 seconds of audio every time
17 janvier 2020, par Johan DinglerI’m calling from_file on a .webm audio file in order to convert it to .mp3.
The mp3 is successfully generated, however it’s always a bit short of 5 seconds long (between 4600-4800 ms everytime). I have no idea what is going on. After reading the original .webm into the audiosegment, I print it’s length and it’s 4600-4800. This is my code :pydub.AudioSegment.converter = '/opt/bin/ffmpeg'
audioSegment = pydub.AudioSegment.from_file('/tmp/audioFile.{}'.format(event['audioFormat']), format=event['audioFormat'], codec=event['codec'])
print('length of audio ', len(audioSegment))
audioSegment.export('/tmp/output.mp3')Any ideas what might be going on ?