Recherche avancée

Médias (91)

Autres articles (60)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (9798)

  • Demo : Add sample code for Bootstrap 4 usage (#2173)

    20 juin 2018, par gwhenne
    Demo : Add sample code for Bootstrap 4 usage (#2173)
  • movenc : Heuristically set the duration of the last sample in a fragment if not set

    6 mars 2015, par Martin Storsjö
    movenc : Heuristically set the duration of the last sample in a fragment if not set
    

    Even if this is a guess, it is way better than writing a zero duration
    of the last sample in a fragment (because if the duration is zero,
    the first sample of the next fragment will have the same timestamp
    as the last sample in the previous one).

    Since we normally don’t require libavformat muxer users to set
    the duration field in AVPacket, we probably can’t strictly require
    it here either, so don’t log this as a strict warning, only as info.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/movenc.c
    • [DBH] libavformat/movenc.h
  • 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 &amp; quoted form of POSIX path of f &amp; " "
      end repeat
      tell application "Terminal"
           do script "for f in " &amp; paths &amp; "; do ffmpeg -i \"$f\" -acodec copy -y \"$f\" output.jpg; done"
           activate
           do script "for f in " &amp; paths &amp; "; 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.