Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (96)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11419)

  • 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.?