Recherche avancée

Médias (91)

Autres articles (62)

  • Participer à sa traduction

    10 avril 2011

    Vous 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, par

    Mediaspip 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 2013

    Puis-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 Trevader24135

    I'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 &lt;&lt; "select format that file is currently in: mp3, gp3, mp4, flv" &lt;&lt; endl;
       cin >> formatIn;
       cout &lt;&lt; "original format = " &lt;&lt; formatIn &lt;&lt; endl;
       cout &lt;&lt; "choose your target format: mp3, gp3, mp4, flv" &lt;&lt; endl;
       cin >> FormatOut;
       cout &lt;&lt; "selected format = " &lt;&lt; FormatOut &lt;&lt; endl;
       cout &lt;&lt; "proceed? ";
       cin >> confirm;
       if(confirm == "yes") {
           cout &lt;&lt; "proceeding with operation:" &lt;&lt; endl;
           func convert();
       }
       else {
           if(confirm == "no") {
               cout &lt;&lt; "canceling,,," &lt;&lt; endl;
           }
       }
    }

    int convert()
    {

    }
    </mp></iostream>
  • pydub unable to find the selected files

    4 février 2021, par big_Z_0909

    my code is as below

    &#xA;

    import pydub&#xA;from pathlib import Path&#xA;import os, sys&#xA;&#xA;pydub.AudioSegment.converter = r"D\\Anaconda3\\Scripts\\ffmpeg-2021-02-02-git-2367affc2c-essentials_build\\bin\\ffmpeg.exe"&#xA;pydub.AudioSegment.ffprobe = r"D\\Anaconda3\\Scripts\\ffmpeg-2021-02-02-git-2367affc2c-essentials_build\\bin\\ffprobe.exe"&#xA;&#xA;my_file = "D:\\Anaconda3\\Scripts\\outcall\\luyinwenjian\\20210203.mp3"&#xA;song = pydub.AudioSegment.from_mp3(my_file)&#xA;

    &#xA;

    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 ?

    &#xA;

  • from_file function of pydub's audiosegment is only reading about 5 seconds of audio every time

    17 janvier 2020, par Johan Dingler

    I’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 ?