Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (53)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (4296)

  • subprocess.check_output fails with CalledProcessError but error is empty string. Command works in terminal

    11 août 2022, par Leonardo the Vinchi

    I want to run the command ffprobe -i test.m4a -show_entries format=duration -v quiet -of csv="p=0". It works in the terminal and returns output code 0, but running it with subprocess, i.e.

    


    subprocess.check_output(['ffprobe', '-i', 'test.m4a', '-show_entries', 'format=duration', '-v', 'quiet', '-of', 'csv="p=0"'])


    


    raises a CalledProcessError - {Command} returned non-zero exit status 1.. I tried running this command in a try-except loop and printing the error details, but it just outputs as an empty byte string b''.

    


  • How to make terminal refer to more recent ffmpeg installation path (currently refers to Anaconda's installation) ? [on hold]

    29 janvier 2019, par John Doe

    I would like to use ffmpeg to convert a WAV audio file to MP3, but ffmpeg doesn’t have a native MP3 encoder. Their documentation says you can use the external libmp3lame encoding library to achieve this, which "requires the presence of the libmp3lame headers and library during configuration" by "explicitly configur[ing] the build with —enable-libmp3lame."

    I tried installing the latest version of ffmpeg to my desktop and followed the configuration instructions to include libmp3lame. However, when I tried it out in my terminal, I got an error saying that ffmpeg could not find the libmp3lame encoder.

    When I enter "which ffmpeg" into my terminal, the path I am given refers to another, older installation of ffmpeg that was included automatically when I installed Anaconda years ago.

    How can I change the path of the installation my terminal refers to so that when I execute ffmpeg commands, it will use the version I more recently configured to include libmp3lame on my desktop and not the older installation included in Anaconda’s directories ?

  • Ffmpeg throws File Not Found Error in Python but works fine in terminal

    6 avril 2022, par Abhishek Bhadola

    I am trying to concatenate audio and video in my pc through ffmpeg, wrote a code for that

    


    input_video=str("E:\\Downloaded\\temp\\2 Types of knapsack.mp4")
input_audio=str("E:\\Downloaded\\temp\\2 Types of knapsack.mp3")

print(input_video)

subprocess.run([
            "./ffmpeg",
            "-i",
            f"{input_video}",
            "-i",
            f"{input_audio}",
            "-c",
            "copy",
            "E:\\Downloaded\\2 Types of knapsack.mp4"
        ])


    


    now when i try to run the code in python it crashes and throws me an error that the file,path is wrong,but the same ffmpeg command written in terminal works fine

    


    ffmpeg -i "E:\Downloaded\2 Types of knapsack.mp4\2 Types of knapsack.mp4" -i "E:\Downloaded\2 Types of knapsack.mp4\2 Types of knapsack.mp3" -c "E:\Downloaded\2 Types of knapsack.mp4"


    


    any fixes.?