
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (60)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa 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 (7741)
-
Using an IF-Statement inside a drawtext (FFMPEG)
22 janvier 2020, par MonsterDruide1I’m currently trying to implement a timer on a video with FFMPEG, so it should start at 00.00 and start timing after a number of frames and stop timing again after a set amount of frames. So the timer should work like this :
00:00
00:00
00.00
(start timing)00.01
00.02
[...]
05.88
05.89
(stop timing)05.89
05.89
05.89
So far I’ve got the following as (minimal) command :
ffmpeg -i input.mp4
-filter_complex "[0:v]drawtext=fontfile='C\\:font.ttf':
text='%{eif\\:n/30\\:d\\:2}\\:%{eif\\:((mod(n,30))/30)*100\\:d\\:2}':
fontcolor=black:fontsize=55:x=(1705.5-(text_w/2)):y=(1000.5-(text_h/2)),format=yuv420p"
-pix_fmt yuv420p -c:a copy out.mp4There is some more stuff inside of the filter_complex, so I can’t replace that with
-vf
or similar.Thanks for all of your help !
-
Revision de6ecc5ac3 : Selective masking of split modes. Allow selective masking of individual split m
4 octobre 2013, par Paul WilkinsChanged Paths :
Modify /vp9/encoder/vp9_onyx_if.c
Modify /vp9/encoder/vp9_onyx_int.h
Selective masking of split modes.Allow selective masking of individual split modes rather than
just a single on / off flag.For speed 2 recovers the large speed loss seen for some derf
clips in change Ie6bdfa0a370148dd60bd800961077f7e97e67dd4
and a small quality gain.For speed 1 10 % speed increase observed locally on some derf clips
for minimal quality change.Change-Id : If86191087b93cbc05351c26c60c7933e2149e485
-
Calling ffmpeg kills script in background only
14 mai 2014, par TimDI’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.