Recherche avancée

Médias (91)

Autres articles (55)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (5333)

  • Calling ffmpeg kills script in background only

    14 mai 2014, par TimD

    I’ve got a python script that calls ffmpeg via subprocess to do some mp3 manipulations. It works fine in the foreground, but if I run it in the background, it gets as far as the ffmpeg command, which itself gets as far as dumping its config into stderr. At this point, everything stops and the parent task is reported as stopped, without raising an exception anywhere. I’ve tried a few other simple commands in the place of ffmpeg, they execute normally in foreground or background.

    This is the minimal example of the problem :

    import subprocess

    inf = "3HTOSD.mp3"
    outf = "out.mp3"

    args = [    "ffmpeg",
               "-y",
               "-i",   inf,
               "-ss",  "0",
               "-t",   "20",
               outf
           ]

    print "About to do"

    result = subprocess.call(args)

    print "Done"

    I really can’t work out why or how a wrapped process can cause the parent to terminate without at least raising an error, and how it only happens in so niche a circumstance. What is going on ?

    Also, I’m aware that ffmpeg isn’t the nicest of packages, but I’m interfacing with something that has using ffmpeg compiled into it, so using it again seems sensible.

  • tools : add a script to find missing codec descriptors.

    13 août 2012, par Nicolas George

    tools : add a script to find missing codec descriptors.

  • FFmpeg - Writing a script to define fontcolor of each word in a text file ?

    1er mars 2019, par distro.obs

    I have a text file with a lot of word separated by newline character like this

    apple
    banana
    strawberry

    And I have a list of colors I want those word to appear in

    0xFF0000
    0xFFFF33
    0xFF0045

    Also I’m using command like this

    x=:'lte(t,10.99)*0+between(t,11,42.99)*10+between(t,43,643.99)*20+gte(t,644)*30':y='lte(t,10.99)*0+between(t,11,42.99)*10+between(t,43,643.99)*20+gte(t,644)*30'

    to move those words around.

    Is it possible to somehow script ffmpeg to color those words and also move them all in one command ?