
Recherche avancée
Autres articles (50)
-
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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (10675)
-
metadata_iterators.c : Limit padding size
1er mai 2016, par Erik de Castro Lopometadata_iterators.c : Limit padding size
Without this fix, its possible for libFLAC to create an oversized
padding metadata block when :a) it merges existing padding blocks
or
b) it expands padding block during metadata changesresulting in a corrupt FLAC file.
Patch-from : lvqcl <lvqcl.mail@gmail.com>
-
mmaldec : limit internal buffering
14 avril 2016, par wm4mmaldec : limit internal buffering
This uses a new MMAL feature, which limits the number of extra frames
that can be buffered within the decoder. VIDEO_MAX_NUM_CALLBACKS can
be defined as positive or negative number. Positive numbers are
absolute, and can lead to deadlocks if the user underestimates the
number of required buffers. Negative numbers specify the number of extra
buffers, e.g. -1 means no extra buffer, (-1-N) means N extra buffers.Set a gratuitous default of -11 (N=10). This is much lower than the
firmware default, which appears to be 96.This is backwards compatible, but needs a symbol only present in newer
firmware headers. (It’s an enum item, so it requires a check in
configure.)Signed-off-by : Anton Khirnov <anton@khirnov.net>
-
How can I limit the file size when doing a write() while writing data from a video stream in Python
8 avril 2016, par Michael BaileyI am pulling in a video stream of an unknown length and writing that file to disc using
.write()
in Python. My basic need is to have a rolling 2-3 minutes of video recorded to that file at all times VS having that file grow to a huge size. On the other end I’m using FFMPEG to grab clips from the .dat file being written.with open("./site/files/tmp/" + hashid + ".dat", 'wb') as f:
while True:
data = stream.read(1024)
f.write(data)Alternately if you know a way I could store that same data in memory probably only 20-50mb (2-3 mins) and send that to FFMPEG that might be an even better option as well. I’m calling FFMPEG via Popen subprocess.