
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 (78)
-
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 (7995)
-
How to add background image for text with text size on a video in FFmpeg ?
24 octobre 2019, par manwteinIs there way to add a background image under the text on the video in FFmpeg ?
I can add black background using ’box’, but i need to add some certain image. I tried to use ’drawtext’ on a image and then overlayed it on the video, but i don’t know text’s width and height for scaling the image.
"-i",
"D:/AndroidProjects/Movies/VideoSamples/VideoShort1.mp4",
"-i",
"D:/AndroidProjects/Movies/ImageSamples/SampleImage.jpeg",
"-filter_complex",
"[0:v]drawtext=text='Example':fontcolor=#DB7093:fontsize=120:box=1:boxcolor=black@0.8:boxborderw=5:x='(w/2) - (tw/2)':y='h - ((h/2) - (th/2))",
"-s",
"1280x720",
"-y",
"D:/AndroidProjects/Movies/FFmpegSampleShort0.mp4"I expect to get video with some image background under my text instead black color.
-
Record specific window using ffmpeg
5 décembre 2022, par Ahmed A. MansourI have been trying the below code (which I found on other similiar problem on this site here : How to record a specific window using ffmpeg But it gives me black video and the same video is not playable by windows media player (it works on vlc but with black video..)


ffmpeg -f gdigrab -framerate 30 -i title="german.avi - VLC media player" -b:v 3M germ.flv



Video example :
Weird thumbnail by WMP which shows it can't play it
Black screen as described, but it opens with black video in VLC


I tried the other suggestions, but this one sometimes (less than 40% of the time) works.
I also noticed it doesn't show the window main title, which is a bit confusing, as it causes the mouse cursor to appear a little down where it should be.


-
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 :) !