
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (73)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (7543)
-
Revision c6c0657c60 : Modify idct code to use macro Small modification of idct code. Change-Id : I5c4
27 mars 2013, par Yunqing WangChanged Paths : Modify /vp9/common/x86/vp9_idct_x86.c Modify idct code to use macro Small modification of idct code. Change-Id : I5c4e3223944c68e4ccf762f6cf07c990250e4290
-
Revision 01148d4548 : Further speed trade off adjustments. Small speed gain for speed 1. Quality is
24 mars 2014, par Paul WilkinsChanged Paths :
Modify /vp9/encoder/vp9_onyx_if.c
Further speed trade off adjustments.Small speed gain for speed 1.
Quality is generally a little up for speed 2.
Speed 3 was similar to speed 4 but now positioned more
evenly between 2 and 4 speed and quality wise.
(opsnr +5.6% ssim +8.25% across all sets)Speed 4 is a little slower than before but sizable quality gains.
(opsnr +3.7% ssim +6.8% across all sets)The code has been cleaned up a bit so that for each incremental
speed step changes over the previous speed step are applied.
This makes it easier to see what is changing from one setting to
the next.Change-Id : I2d98d0d6230af23486adaec01908f58942a7cdeb
-
Render a small video with low delay
6 septembre 2024, par Makis ChristouSo I have a problem where I need to be able to render a (3s, 180 frame) video on demand and delay is important. I know that video rendering scales linearly but for some reason when using a threadpool in python (moviepy) it doesn't scale linearly at all and the CPU is underutilized. This is how I do it atm :


start_time = time.time() # Start timing the frame processing
 
 # Process frames in parallel using a persistent thread pool
 processed_frames = []
 with ThreadPoolExecutor(max_workers=num_threads) as executor:
 future_to_chunk = {executor.submit(process_frame_chunk, chunk, config): i for i, chunk in enumerate(frame_chunks)}
 for future in as_completed(future_to_chunk):
 processed_frames.extend(future.result())


 end_time = time.time() # End timing the frame processing
 print(f"Frame processing took {end_time - start_time:.2f} seconds.")



With 32 and 16 threads I get about the same time which is 2.7s and with 4 I get 3s. With 1 thread I get about 8.5s. How should I go about debugging this ? Is there overhead when starting the threads ?


I tried the above and was expecting a linear speedup or close to it.