Recherche avancée

Médias (91)

Autres articles (11)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (515)

  • Can't call FFMPEG from CMD after installing chocolatey+ffmpeg on windows docker container

    19 novembre 2022, par Adil Abdul Rahman

    I have a C# code that is dependent on FFMPEG via CMD/powershell. I am trying to run CLI ffmpeg via a C# code in a windows container with sdk:6.0-windowsservercore-ltsc2022. I found this guide(use 12ft.io to bypass paywall) that says to install chocolatey and then install ffmpeg through that like so :

    


    USER ContainerAdministrator
EXPOSE 3389/tcp


RUN powershell.exe \
  Set-ExecutionPolicy Bypass -Scope Process -Force; \
  iwr -Uri 'https://community.chocolatey.org/install.ps1' -UseBasicParsing -OutFile $home/choco_install.ps1; \
  powershell $home/choco_install.ps1; \
  del $home/choco_install.ps1; \
  choco; \
  exit 0;
  
RUN powershell.exe \
  powershell choco install chocolatey-compatibility.extension -y --force; \
  powershell choco install chocolatey-core.extension -y --force; \
  powershell choco install ffmpeg-full -y --force; \
  ffmpeg; \
  exit 0;


    


    ( I am using this guide for C# dockerfile )

    


    And my C# Code :

    


    string command = $"/C ffmpeg -i \"{VideoUri}\" -vn -ac 1 {outputName}.mp3";
Process.Start("cmd.exe", command).WaitForExit();


    


    But I am running into some trouble. My C# code throws this error :

    


    'ffmpeg' is not recognized as an internal or external command, operable program or batch file.

    


    I have tried calling FFMPEG from the dockerfile to test if it has installed but it just returns this :

    


    Step 5/17 : RUN powershell.exe   powershell choco install chocolatey-compatibility.extension -y --force;   powershell choco install chocolatey-core.extension -y --force;   powershell choco install ffmpeg-full -y --force;   ffmpeg;   exit 0;
 ---> Using cache
 ---> 83b2941d03e6


    


  • ffmpeg commands work locally but not on server using ffmpeg heroku buildpack

    26 août 2020, par Sarmad S.

    I am running the latest ffmpeg version. Commands work well locally and I am able to generate a video from images and to write text on the video and save in the desired format. However, not all commands work on server.

    


    I am using heroku as a hosting provider, and I have installed ffmpeg buidpack to be able to run ffmpeg commands.

    


    The problem is that not all commands work on server. For example when I wirte text on video, it does not allow space between -filter_complex drawtext commands and even the text. I get an error that complains about those spaces.
Even when I fix it (by removing spaces), it only generates an empty video (0 kb).

    


    Command :

    


    -filter_complex [1]drawtext=fontfile=exljbris-MuseoSansRounded-300.otf: text='here is some text': fontcolor=white: fontsize=38: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2[v1]; [0][v1]vstack


    


    Generating a video from one image works fine on server for some reason. Not really sure what the problem is.

    


    locally i am running windows and using ffmpeg.exe to execute commands.

    


  • PHP ffmpeg how give information about video file if binary path /usr/bin/ffmpeg ? [closed]

    19 septembre 2012, par John Smith

    Tell me please how give information about video file if binary path /usr/bin/ffmpeg ? me need code on php. Found not give results for this question...