
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (29)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (8154)
-
Understanding ffmpeg -benchmark results
6 septembre 2022, par Ivy GrowingAdding
-benchmark
flag toffmpeg
command resutls with addition of following 2 lines in the shell output :

bench: utime=10.125s stime=4.234s rtime=5.606s
bench: maxrss=110080kB



The
maxrss
serves to indicate the maximum RAM used during theffmpeg
execution. Theutime
,stime
,rtime
indicate accordingly :

- 

- user time ;
- system time ;
- real time.








I tried to understand the meaning of these times from the source code and failed. Please, help.


- 

- Which of these times indicate how much time was human waiting while the ffpmeg was processing the video ?
- Can this time be seen directly or it's a combination/calculation of these 3 parameters ?
- How it can be for certain videos
utime > rtime
and for othersutime < rtime
?








-
Issues grabbing frames from an mp4 video using ffmpeg on java
31 mars 2015, par TamirWI am trying to grab a few frames from an mp4 video files using the ffmpeg library (java). Code snippet below.
The issues I’m facing are :- In some (but not all) the videos I’m testing, I am getting the following warning when grabbing the frames :
[swscaler @ 0x7fa642a53600] bad src image pointers
- Sometimes, the frames I get are just blanks (black), sometimes they contain the last frame in the video (meaning that ALL the frames show the same image). Interestingly, when I’m not getting the above warning, the frames are just fine.
Any clue or direction about how to debug/solve this issue would be greatly appreciated.
FFmpegFrameGrabber g = new FFmpegFrameGrabber(video);
List<bufferedimage> frames = new ArrayList<bufferedimage>();
try {
g.start();
int i = 1, noOfFrames = g.getLengthInFrames();
long FR = Math.round(g.getFrameRate());
while (i < noOfFrames) {
g.setFrameNumber(i);
IplImage img = g.grab();
BufferedImage bimg = img.getBufferedImage();
frames.add(bimg);
i += FR;
}
</bufferedimage></bufferedimage> - In some (but not all) the videos I’m testing, I am getting the following warning when grabbing the frames :
-
Next drawtext clears the previous one ffmpeg
27 août 2021, par Макс Шульдинерffmpeg.exe -i ffmpeg_inputs/zheltiy_chelik.mp4 -vf "[in]drawtext=fonts/Temporarium.otf:text='r':fontcolor=orange:fontsize=100:x=(w-text_w)/2+0:y=0:enable='between(t,0, 11)', drawtext =fonts/Temporarium.otf:text = 'r':fontcolor=orange:fontsize=100:x=(w-text_w)/2+20:y=0:enable='between(t,11, 22)', drawtext =fonts/Temporarium.otf:text = 'r':fontcolor=orange:fontsize=100:x=(w-text_w)/2+40:y=0:enable='between(t,22, 33)'[out]" ffmpeg_outputs/test2.mp4 -y 



There is such a ffmpeg line. Its meaning is to draw a letter 20 pixels to the right of the current position of the word every 11 seconds, and in this way "write the word". But here's the problem - when the second letter starts to render, it overwrites the first, and the third, respectively, overwrites the second. The string seems to have prescribed [in] and [out] but does not help, maybe someone has ideas