Recherche avancée

Médias (91)

Autres articles (103)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9416)

  • Revision 7546 : content-principal et non contenu-principal L’icone de google plus 1 ne ...

    25 février 2013, par kent1 — Log

    content-principal et non contenu-principal
    L’icone de google plus 1 ne fonctionnait pas bien
    On n’affiche pas l’alerte pour doc2img pour les gif et png

  • How to run one script after another in Apple Script

    19 juillet 2015, par mskx4

    I’m trying with Apple Script to run three different scripts that would alow me to :

    1. Convert a purchased m4a file into an "anonymized" m4a file and extract its artwork (with ffmpeg)
    2. Attach the artwork to the file previously converted, since the converted file won’t maintain its artwork (with AtomicParsley)
    3. Remove the artwork from his path

    I don’t have any kind of programming knowledge, I’ve collected different script from the web and tried to make an app that could do these 3 simple task :

    on open argv
      set paths to ""
      repeat with f in argv
          set paths to paths & quoted form of POSIX path of f & " "
      end repeat
      tell application "Terminal"
           do script "for f in " & paths & "; do ffmpeg -i \"$f\" -acodec copy -y \"$f\" output.jpg; done"
           activate
           do script "for f in " & paths & "; do AtomicParsley \"$f\" --artwork output.jpg; done"
           activate
           do script "rm output. jpg"
           activate
      end tell
    end open

    The problem is that, when I drop a file on the app, it opens three terminal windows at once and it runs the three tasks in the same time, with the obvious result that the conversion fails : the first task overwrites the input file, and the second script should use the output of the first one as its input file. So I need the three scripts to be executed successively, one after another.

  • How to create a video from images with timestamps, sizes and positions with ffmpeg

    23 octobre 2022, par Maxou

    I want to convert a subtitle file (.sup) to a video file with transparency. To do that I convert my .sup file into a multitude of png files listed in a xml file.

    


    XML File

    


    &lt;?xml version="1.0" encoding="UTF-8"?>&#xA;<bdn version="0.93">&#xA;  <description>&#xA;    <format videoformat="1080p" framerate="25" dropframe="False"></format>&#xA;    <events type="Graphic" firsteventintc="00:00:00:01" lasteventouttc="00:23:59:05" numberofevents="708"></events>&#xA;  </description>&#xA;  <events>&#xA;    <event intc="00:00:00:01" outtc="00:00:03:09" forced="False">&#xA;      <graphic width="1146" height="65" x="387" y="985">seq_0001.png</graphic>&#xA;    </event>&#xA;    <event intc="00:00:04:19" outtc="00:00:07:14" forced="False">&#xA;      <graphic width="1112" height="65" x="404" y="985">seq_0002.png</graphic>&#xA;    </event>&#xA;    <event intc="00:00:08:06" outtc="00:00:10:23" forced="False">&#xA;      <graphic width="681" height="65" x="619" y="985">seq_0003.png</graphic>&#xA;    </event>&#xA;  </events>&#xA;</bdn>&#xA;

    &#xA;

    I tried to generate a video using this command

    &#xA;

    ffmpeg -t 20 -s 1920x1080 \&#xA;-f rawvideo -pix_fmt yuva420p -i /dev/zero \&#xA;-i seq-1.png \&#xA;-filter_complex "[0:v][1:v] overlay=25:25:enable=&#x27;between(t,0,20)&#x27;" \&#xA;empty.webm&#xA;

    &#xA;

    It works but it takes a long time and I only manage to do it with one image.

    &#xA;

    It is possible to generate a video with all the images (with size, position and timestamp) include in the xml file ?

    &#xA;