
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (99)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (7474)
-
How to improve random access of a video frame with Python ?
11 octobre 2024, par Paul JurczakI'm using
pims
library (https://github.com/soft-matter/pims) to access frames from .MOV file with over 25K frames, 3840 × 2160, H.264 (High Profile), 60fps.

import pims
from time import perf_counter

video = pims.Video('video/v1.MOV')
t0 = perf_counter()
img = video[1000]
t1 = perf_counter()
print(f'{(t1-t0):.3f}s {img.shape}')



Here are the timings on a fairly fast PC, after file open :


- 

- frame #100 : 2.97s
- frame #1,000 : 28.39s
- frame #10,000 : 280.19s








AFAIK, this library uses
ffmpeg
, which can access frame #10,000 withffmpeg -ss 00:02:46.66 -i v1.MOV -frames:v 1 f10k.png
practically instantaneously. Is there a way to improve frame access withpims
or some other method ?

-
Revision cd4bac3004 : Prevent access to invalid pointer The commit added check to make sure no invali
15 octobre 2013, par Yaowu XuChanged Paths :
Modify /vp9/vp9_dx_iface.c
Prevent access to invalid pointerThe commit added check to make sure no invalid memory access even when
the decoder instance is never initialized.Change-Id : I4da343d0b3c78c27777ac7f5ce7688562c69f0c5
-
Revision ff1083c113 : Prevent access to invalid pointer The commit added check to make sure no invali
15 octobre 2013, par Yaowu XuChanged Paths :
Modify /vp9/vp9_dx_iface.c
Prevent access to invalid pointerThe commit added check to make sure no invalid memory access even when
the decoder instance is never initialized.Change-Id : I4da343d0b3c78c27777ac7f5ce7688562c69f0c5