
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (99)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (14751)
-
Running xdotool movewindow from a python script
19 août 2014, par mr mojo risinI am writing a python script to run a movie using ffplay, and then move the ffplay window to a specific location on the screen.
The script I am basing this one is located here - http://code.activestate.com/recipes/577376-simple-way-to-execute-multiple-process-in-parallel/
The only difference is I am changing the commands array at the bottom to
commands = [
['xdotool', 'search', '--name', 'Goodfellas', 'windowmove', '480', '200'],
['ffplay', '-x', '320', '-y', '180', '-autoexit', '/data/media/Vidoes/Movies/Goodfellas.mp4']
]The video plays fine, but the window will not move position
To test if the script is actually cycling through all the commands I added the command
['xdotool', 'mousemove', '180', '180'],
And the mouse will indeed move to location 180, 180 on my screen
Perhaps maybe ffplay takes a split second to load and there is still no screen called Goodfellas when the movewindow command is executed
-
cygwin : Enable MSVS support
8 août 2015, par Henrik Gramnercygwin : Enable MSVS support
`cl -showIncludes` creates absolute Windows paths for some files, attempt
to convert those to Unix paths.Use relative paths for dependencies located in or below the working directory
in order to mimic the behavior of gcc and to make the paths more readable.Make the dependency generation script a bit more robust in general.
-
JavaCV pass video frame to imread()
6 décembre 2017, par Tina JI’m trying to use JavaCV for template matching. The demo example is located here. I add all their
.jar
files to the project. I need to pass a video frame (sayvideo.mp4
’s last frame) toimread()
instead of it reading the source image from file. How can I do that ?String [] arg={"laff.png","template.png"};
FrameGrabber grabber = new FFmpegFrameGrabber("video.mp4");
System.out.println(grabber.getFrameRate()); //returns 0???
// read in image default colors
Mat sourceColor = imread(args[0]); // pass last frame of video.mp4 instead of args[0]UPDATE : I now can pass [the first] video frame to
imread()
using the following way (key point is to callstart()
). So I got the conversion done. Now I need to know how to grab a particular frame number, say the last frame.FFmpegFrameGrabber grabber = new FFmpegFrameGrabber("video.mp4");
grabber.start();
System.out.println(grabber.getLengthInTime());
OpenCVFrameConverter.ToMat converter = new OpenCVFrameConverter.ToMat();