Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (76)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

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

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (12870)

  • Python ffmpeg : [WinError 2] The system cannot find the file specified [duplicate]

    21 novembre 2024, par PeppersONLY
    #what i did to install

pip install ffmpeg-python


    


    #code

import ffmpeg

crop_dimensions = "640:480:0:0"

input_file = "input.mp4"
output_file = "output.mp4"

(
    ffmpeg
    .input(input_file)
    .filter("crop", *crop_dimensions.split(":"))
    .output(output_file, vcodec="libx264", crf=22)
    .overwrite_output()
    .run()
)


    


    Whenever I run this code, I get this error :

    


        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified


    


    I tried reinstalling the library but that didn't seem to work.

    


  • Call system package with Go on App Engine Standard

    8 novembre 2019, par reidreid46

    I’m trying to use FFmpeg in a Go application thats running on Google App Engine Standard. I can get this to run locally, when I point to a local instance of the FFmpeg binary using exec.Command()

    cmd := exec.Command(
       "/Users/justin/Desktop/conversion/ffmpeg", // this won't work on a remote server
       "-i", "pipe:0",
       "-ac", "1",
       "-codec:a", "libmp3lame",
       "-b:a", "48k",
       "-ar", "24000",
       "-f", "mp3",
       "pipe:1",
     )

     cmd.Stdin = bytes.NewReader(synthResp.AudioContent)

     var output bytes.Buffer
     cmd.Stdout = &output
     err = cmd.Run()

    Obviously, this won’t work when I deploy the application, so I need a way to point to a hosted version of the FFmpeg binary. It seems ffmpeg is a system package for the go1.11 App Engine Standard environment.

    What are "System packages" and how do I use them ?
    When I look for documentation, I find a lot of documentation on apt-get, and no documentation on how to use them, App Engine or otherwise. Do I need to install it, or should it already be part of the container(?) that App Engine is running ?

    Do I call it, like I’d call other executables ? If so, that I’d expect this to work, but it doesn’t

    cmd := exec.Command(
       "ffmpeg", // <------ what should this be?
       "-i", "pipe:0",
       "-ac", "1",
       "-codec:a", "libmp3lame",
       "-b:a", "48k",
       "-ar", "24000",
       "-f", "mp3",
       "pipe:1",
     )

     cmd.Stdin = bytes.NewReader(synthResp.AudioContent)

     var output bytes.Buffer
     cmd.Stdout = &output
     err = cmd.Run()

    Logging err, I see exec: "ffmpeg": executable file not found in $PATH

  • lavfi : change the filter registering system to match the other libraries

    3 avril 2013, par Anton Khirnov

    lavfi : change the filter registering system to match the other libraries