
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (54)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
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 (...)
Sur d’autres sites (5173)
-
avfilter/formats : Make ff_formats_pixdesc_filter return AVFilterFormats*
26 septembre 2021, par Andreas Rheinhardtavfilter/formats : Make ff_formats_pixdesc_filter return AVFilterFormats*
Up until now, it has returned the AVFilterFormats list via
an AVFilterFormats** parameter ; the actual return value was an int
that was always AVERROR(ENOMEM) on error. The AVFilterFormats**
argument was a pure output parameter which was only documented
by naming the parameter rfmts. Yet nevertheless all callers
initialized the underlying AVFilterFormats* to NULL.This commit changes this to return a pointer to AVFilterFormats
directly. This is more in line with the API in general, as it
allows to avoid checks for intermediate values.Reviewed-by : Nicolas George <george@nsup.org>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>- [DH] libavfilter/formats.c
- [DH] libavfilter/formats.h
- [DH] libavfilter/vf_copy.c
- [DH] libavfilter/vf_crop.c
- [DH] libavfilter/vf_detelecine.c
- [DH] libavfilter/vf_fieldhint.c
- [DH] libavfilter/vf_hwdownload.c
- [DH] libavfilter/vf_il.c
- [DH] libavfilter/vf_mix.c
- [DH] libavfilter/vf_stack.c
- [DH] libavfilter/vf_swaprect.c
- [DH] libavfilter/vf_telecine.c
- [DH] libavfilter/vf_untile.c
- [DH] libavfilter/vf_weave.c
-
Apply simplex noise to image with ffmpeg
26 avril 2022, par aalystamaIs there any way to apply simplex noise on image with ffmpeg ?


Implementation in JavaScript


export function addGrain(out, image, slice, scale, intensity){
 let simplex = new SimplexNoise(new Alea());
 let od = out.data,
 id = image.data,
 w = image.width,
 h = image.height,
 ox = slice.x,
 oy = slice.y,
 d = Math.min(slice.width, slice.height);

 for(var y = 0; y < h; y++) {
 for(var x = 0; x < w; x++) {
 // reduce noise in shadows and highlights, 4 = no noise in pure black and white
 let i = (y*w+x)*4,
 l = (id[i]+id[i+1]+id[i+2])/768-0.5,
 rx = x + ox,
 ry = y + oy,
 noise = (simplex.noise2D(rx/d*scale, ry/d*scale) +
 simplex.noise2D(rx/d*scale/2, ry/d*scale/2)*0.25 +
 simplex.noise2D(rx/d*scale/4, ry/d*scale/4))*0.5;
 // reduce noise in shadows and highlights, 4 = no noise in pure black and white
 noise *= (1-l*l*2);
 noise *= intensity*255;
 od[i] = id[i]+noise; // R
 od[i+1] = id[i+1]+noise; // G
 od[i+2] = id[i+2]+noise; // B
 }
 }
}



I've idea to do it with generic equation on each pixel
geq
but i need to get simplex noise value that is calculated from pixel'sX
andY


Resources


- 

- simplex-noise package in
JS




-
HLS "bufferStalledError" / "bufferNudgeOnStall"
20 avril 2022, par YagoI'm trying to stream videos with HLS.js, and it works perfectly fine, but when I separate the audio from the video to support multiple audio tracks, it returns these two errors at random times in the video ("bufferStalledError" and "bufferNudgeOnStall").


I've tried using pure ffmpeg, I've tried using shaka packager, and I'm currently using bento4, but this error always occurs


(my bento4 code)


mp4hls --hls-version 4 -o "${outputFolder}" -f
[type=audio,+language=Japanese]"${inputFolder}${epFolder}/1080p.mp4"
[type=video]"${inputFolder}${epFolder}/1080p.mp4"
[type=video]"${inputFolder}${epFolder}/720p.mp4"
[type=video]"${inputFolder}${epFolder}/480p.mp4"
[type=video]"${inputFolder}${epFolder}/360p.mp4"
[type=video]"${inputFolder}${epFolder}/240p.mp4"