
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 (36)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...)
Sur d’autres sites (3961)
-
Loop through images, detect if contains color, put in subfolder
16 avril 2022, par SamoI have two kinds of images in my folder : One is all black, the other one is black with yellow (#f8fa27). I am trying to put all the images with yellow colour in a subfolder. But I don't know how this is applicable.


I would like to implement this with ImageMagick or FFMPEG. If possible, shell is redundant and I would like the loop via CMD. If you happen to know of another option that also works, that's no problem either.


I've read about https://imagemagick.org/script/fx.php but I don't know how to apply it with my poor skills.


Edit for now I managed to fix it with python (shitty code but it works)


import cv2
import os
import glob

#check if extension is png
for filename in glob.glob("*.png"):
 #return to folder where all images are saved
 os.chdir('C:/Users/.../.../images')
 #make image black and white
 image = cv2.imread(filename, 0)
 #if image is fully black
 if cv2.countNonZero(image) == 0:
 print ("Black image, skipped")
 else:
 #colored image
 print ("Colored image")
 #restore true colors (rgb in my case, check wiki)
 image = cv2.imread(filename, cv2.COLOR_BGR2RGB)
 #folder to save colored images
 os.chdir(os.getcwd()+"/yellow")
 #save image to subfolder
 cv2.imwrite(filename,image)



Thank you :) !


-
vf_paletteuse : fix color cache lookup for Bayer dithering mode.
10 janvier 2022, par Rudolf Polzervf_paletteuse : fix color cache lookup for Bayer dithering mode.
To trigger this bug, use `paletteuse=dither=bayer:bayer_scale=0` ; you will see
that adjacent pixel lines will use the same dither pattern, instead of being
shifted from each other by 32 units (0x20).One way to demostrate the bug is :
$ convert -size 64x256 gradient:black-white -rotate 270 grad.png
$ echo 'P2 2 1 255 0 255' > bw.pnm
$ ffmpeg -i grad.png -filter_complex 'movie=bw.pnm,scale=256x1[bw] ; [0:v][bw]paletteuse=dither=bayer:bayer_scale=0' gradbw.pngPreviously : https://www.rm.cloudns.org/img/uploaded/0bd152c11b9cd99e5945115534b1bdde.png
Now : https://www.rm.cloudns.org/img/uploaded/89caaa5e36c38bc2c01755b30811f969.pngThis was caused by passing inconsistent color vs (a,r,g,b) parameters to
color_get(), and NBITS being 5 meaning actually hitting the same cache node
does happen in this case, but ONLY if bayer_scale is zero.The fix is passing the correct color value to color_get().
Also added a previous-failing FATE test ; image comparison of the first frame :
Previously : https://www.rm.cloudns.org/img/uploaded/d0ff9db8d8a7d8a3b8b88bbe92bf5fed.png
Now : https://www.rm.cloudns.org/img/uploaded/a72389707e719b5cd1c58916a9e79ca8.png(on this less synthetic test image, the bug basically causes noise from cache
hits vs misses)Tested : FATE passes, which exercises this filter but at the default bayer_scale.
Reviewed-by : Paul B Mahol <onemda@gmail.com>
-
avdevice/dshow : discover source color range/space/etc
21 décembre 2021, par Diederick Niehorsteravdevice/dshow : discover source color range/space/etc
Enabled discovering a DirectShow device's color range, space, primaries,
transfer characteristics and chroma location, if the device exposes that
information. Sets them in the stream's codecpars.Co-authored-by : Valerii Zapodovnikov <val.zapod.vz@gmail.com>
Signed-off-by : Diederick Niehorster <dcnieho@gmail.com>
Reviewed-by : Roger Pack <rogerdpack2@gmail.com>