
Recherche avancée
Autres articles (69)
-
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 ;
-
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 (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (8471)
-
Additional : Add validation rule for mobile number of Russia Federatio…
6 novembre 2018, par jehadjaAdditional : Add validation rule for mobile number of Russia Federation (#2207)
-
Finding duration/number of frames of WebM using FFMPEG/libavformat
12 septembre 2015, par gcgrantI’m trying to retrieve the duration and number of frames from a WebM file using FFMPEG and libavformat. I’m adapting some code that was initially written to work with MP4s, and when passing an MP4 it seems to work fine.
I have FFMPEG 2.1 compiled with the vp8 parser and decoder and the matroska demuxer.
I have an
AVStream
pointer to the video stream,*video_st
. The code looks for the number of frames invideo_st->nb_frames
, and for the duration invideo_st->duration
. These both appear to be 0.The API docs for for
video_st->duration
(https://ffmpeg.org/doxygen/trunk/structAVStream.html#a4e04af7a5a4d8298649850df798dd0b) say that "If a source file does not specify a duration, but does specify a bitrate, this value will be estimated from bitrate and file size." I can confirm that that this file does specify a duration and a bitrate (as I tested it on my desktop withffmpeg -i
). So it seems odd that this is returning 0. Perhaps my FFMPEG build configuration is incorrect ?As for
nb_frames
, the docs say "number of frames in this stream if known or 0". Is there anything I can do if this returns 0 ? Again,ffmpeg -i
does return an estimate for fps ; that would be good enough, as I could estimate the number of frames with that and the duration.Thanks !
-
avutil/timecode : fix starting frame number for 59.94 fps
22 février 2018, par Gyan Doshi