Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (35)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5746)

  • Automatically appending ffmpeg directory to path whenever exe is opened ?

    29 juin 2021, par jeb2

    I wrote a program compiled as an exe, which live on a network drive for other users to use. An issue I'm running into is that for other users (whose machines dont have python installed, not sure if this matters), it states that it can't find ffmpeg :

    


    enter image description here

    


    I've placed the bin folder of ffmpeg to the same location as the exe, but its not really viable for me to manually go to each users computers to add \drive\VoiceGen\bin to their user Path. Is there a way to have the program automatically add the bin location to the userpath ?

    


  • fate : Use the correct, local path to samples for opus reference files

    12 juillet 2014, par Martin Storsjö
    fate : Use the correct, local path to samples for opus reference files
    

    This fixes running fate in configs where the samples are located
    in a different path on the target.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] tests/fate/opus.mak
  • Issue with adding FFMPEG to macOS path to convert mp3 to WAV in Python [closed]

    30 mai 2024, par AndrewLittle1

    I am trying to use a simple program to convert a .MP3 file to a .WAV file in python :

    &#xA;

    from os import path&#xA;from pydub import AudioSegment&#xA;&#xA;src = "test1.mp3"&#xA;dst = "test1.wav"&#xA;&#xA;# convert wav to mp3                                                            &#xA;sound = AudioSegment.from_mp3(src)&#xA;sound.export(dst, format="wav")&#xA;

    &#xA;

    When I try to run the program in an IDE, I am getting a FileNotFoundError this is what the StackTrace looks like :

    &#xA;

    RuntimeWarning: Couldn&#x27;t find ffprobe or avprobe - defaulting to ffprobe, but may not work&#xA;  warn("Couldn&#x27;t find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)&#xA;&#xA;...&#xA;&#xA;[Errno 2] No such file or directory: &#x27;ffprobe&#x27;: &#x27;ffprobe&#x27;&#xA;

    &#xA;

    I know this error means that the IDE is not able to locate my FFMPEG (because it is not in the correct path). I downloaded FFMPEG, FFPROBE is located in the FFMPEG library using :

    &#xA;

    pip install FFMPEG&#xA;

    &#xA;

    However, even when I try to run the program from the command line using

    &#xA;

    python soundtest.py&#xA;

    &#xA;

    I am getting another FileNotFoundError :

    &#xA;

    File "soundtest.py", line 13, in <module>&#xA;    with open(&#x27;simple.html&#x27;) as html_file:&#xA;FileNotFoundError: [Errno 2] No such file or directory: &#x27;simple.html&#x27;&#xA;&#xA;</module>

    &#xA;

    I am not sure why this is happening because despite FFMPEG not being in the correct path to be accessed by the IDE I cannot run it from the command line either.

    &#xA;

    Ideally, I would like to add the FFMPEG library to the system path so that it can be accessed, but I can't even get it to run from the command line. Any ideas what's going on here ?

    &#xA;

    The answer provided here also helps give more insight, but I am still running into my same error, Ffmpeg on idle python Mac

    &#xA;