
Recherche avancée
Autres articles (81)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5285)
-
Revision 73edeb03ea : Removing alg_priv from vpx_codec_priv struct. In order to understand memory lay
21 août 2014, par Dmitry KovalevChanged Paths :
Modify /vp8/vp8_cx_iface.c
Modify /vp8/vp8_dx_iface.c
Modify /vp9/vp9_cx_iface.c
Modify /vp9/vp9_dx_iface.c
Modify /vpx/internal/vpx_codec_internal.h
Modify /vpx/src/vpx_codec.c
Modify /vpx/src/vpx_decoder.c
Modify /vpx/src/vpx_encoder.c
Removing alg_priv from vpx_codec_priv struct.In order to understand memory layout consider the declaration of the
following structs. The first one is a part of our API :struct vpx_codec_ctx
// ...
struct vpx_codec_priv *priv ;
;The second one is defined in vpx_codec_internal.h :
struct vpx_codec_priv
// ...
;The following struct is defined 4 times for encoder/decoder VP8/VP9 :
struct vpx_codec_alg_priv
struct vpx_codec_priv base ;
// ...
;Private data allocation for the given ctx :
struct vpx_codec_ctx *ctx =
struct vpx_codec_alg_priv *alg_priv =
ctx->priv = (struct vpx_codec_priv *)alg_priv ;The cast works because vpx_codec_alg_priv has a
vpx_codec_priv instance as a first member ’base’.Change-Id : I10d1afc8c9a7dfda50baade8c7b0296678bdb0d0
-
Can ffmpeg extract multiple parts of a video file in a single command ?
18 décembre 2020, par rcliaoI have some huge MPEG files that is 24 hours long, and I need to extract a few parts (about 30 minutes each) of it into frame sequences (still images). I tried using commands like following :


ffmpeg -i input.mpeg -ss 4:00:00 -to 4:30:00 outpath1\%05d.png
ffmpeg -i input.mpeg -ss 6:00:00 -to 6:30:00 outpath2\%05d.png
...



But it seems that each time it is executed, ffmpeg scans the file from the beginning, causing the process to be very slow.


For example, when I execute the above commands to extract the part of 4:00:00-4:30:00, ffmpeg will scan from 0:00:00 to 4:00:00, start extracting the image sequence, and stop at 4:30:00 ; and then I execute another command to extract the part of 6:00:00-6:30:00, and ffmpeg scans from 0:00:00 again to 6:00:00, and then start extracting.


So I wanted to simplify this process to save time. Is there a way to extract multiple parts in a single command ? Like scans from 0:00:00 to 4:00:00, start extracting to 4:30:00, stop extracting and continue scanning to 6:00:00, and start extracting again...until the last part. Can ffmpeg do this ?


-
mpeg12dec : do not add stereo3D side data to a non-existing frame
13 février 2014, par Janne Grunaumpeg12dec : do not add stereo3D side data to a non-existing frame
User data is usually coded before slice data. That means the frame
the user data belongs to is not available while parsing the user data.
The stereo3D side data has to use the same indirection over the private
context as pan scan information and A53 captions.Bug-Id:632