
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (81)
-
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 (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (5856)
-
avcodec/v4l2_buffers : Fix infinite loop
27 octobre 2019, par Andriy Gelmanavcodec/v4l2_buffers : Fix infinite loop
This part of the code counts the number of planes returned by the v4l2
device for each queried capture/output buffer.
When testing the GPU h264 encoder on Nvidia's Jetson Nano, this caused an
infinite loop because avbuf->buf.length included some empty buffers (i.e.
where avbuf->buf.m.planes[i].length = 0), meaning that the counter was
never incremented and break was never reached.
This is fixed in the commit by using a well defined iteration range.Signed-off-by : Aman Gupta <aman@tmm1.net>
-
Link ffmpeg to Pydub in Serverless layer
15 mars 2021, par akaiI'm using the Serverless framework to deploy an app on AWS. I have created a layer, defined as follows in
serverless.yml
:

layers:
 ffmpeg:
 path: layer



I also excluded it from the main file bundle :


package:
 exclude:
 - layer/**



and defined a lambda function :


cut_audio:
 layers:
 - {Ref: FfmpegLambdaLayer}



In this function I use the Pydub library, which needs to access the ffmpeg layer. At the moment I have the following error
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
, meaning I have to link ffmpeg asAudioSegment.converter(path)


How do I get the path of my layer ?


Edit : could I solve this by bundling both Pydub and ffmpeg in the layer ?


Edit 2 : the eziotedeschi/AWS-Lambda-Layer-Pydub github repository doesn't seem to help. I get the following error
No module named 'pydub'
. I am using Python3.8 as runtime, that might be the issue.

-
avcodec/cbs_av1 : fix setting FrameWidth in frame_size_with_refs()
24 août 2020, par James Almeravcodec/cbs_av1 : fix setting FrameWidth in frame_size_with_refs()
Section 5.9.7 of the spec states
UpscaledWidth = RefUpscaledWidth[ ref_frame_idx[ i ] ]
FrameWidth = UpscaledWidth
FrameHeight = RefFrameHeight[ ref_frame_idx[ i ] ]
RenderWidth = RefRenderWidth[ ref_frame_idx[ i ] ]
RenderHeight = RefRenderHeight[ ref_frame_idx[ i ] ]Meaning FrameWidth must not be set to RefFrameWidth[ ref_frame_idx[ i ] ]
like we're currently doing.Reviewed-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by : James Almer <jamrial@gmail.com>