
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (63)
-
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 (9972)
-
Get rotation information from javacv ffmpeg FrameGrabber
9 février 2015, par peptI am using FFMPEG from the JavaCV library to extract all pictures of a movie (solution found here : How can I get a frame sample (jpeg) from a video (mov)). This is my code which works fine :
grabber.start();
int size = grabber.getLengthInFrames();
for (int i = 0; 0 < size; i++) {
File destination = new File(directory, i + ".png");
if (!destination.exists()) {
ImageIO.write(grabber.grab().getBufferedImage(), "png",
destination);
}
setProgress((int) ((float) i / size * 100));
}
grabber.stop();However, the pictures are rotated by 90 degrees when I extract them. The output in command line after grabber.start() ; contains the following lines :
rotate : 90
and
displaymatrix: rotation of -90.00 degrees
which indicates that it detects the rotation.
My question is : How can i programmatically get the rotation to rotate them back myself or a way to get the normalized picture with the library ?
-
Use OpenH264 instead of libx264 in ffmpeg ?
26 août 2020, par MINGI use node-fluent-ffmpeg module to call ffmpeg.exe in my node.js app


How to use OpenH264 when calling ffmpeg.exe ?


Do I need to recompile ffmpeg ?


But compiling ffmpeg looks complicated...


The actual code is probably like this


var FfmpegCommand = require('fluent-ffmpeg');
var FFMPEG_PATH = "C:/ffmpeg/bin/ffmpeg.exe" // binary file
FfmpegCommand.setFfmpegPath(FFMPEG_PATH)

FfmpegCommand("dog.webm", {})
 .videoCodec('libx264')
 // command line 
 // .addOutputOption([
 // '-threads 8'
 // ])
 .on('start', function (commandLine) {
 // Actual ffmpeg command
 // ffmpeg -i C:\Users\ming\Pictures\WEBCAMCAPTURE\dog.webm -y -vcodec libx264 C:\Users\ming\Pictures\WEBCAMCAPTURE\dog_x264.mp4
 console.log('command' + commandLine)
 })
 .on('progress', function (progress) {
 console.log('Processing: ' + progress.percent + '% done')
 })
 .on('end', function () {
 console.log('Finished')
 })
 .save("dog_x264.mp4")




English isn’t my first language, so please excuse any mistakes.


-
Use OpenH264 instead of libx264 in ffmpeg ?
26 août 2020, par MINGI use node-fluent-ffmpeg module to call ffmpeg.exe in my node.js app


How to use OpenH264 when calling ffmpeg.exe ?


Do I need to recompile ffmpeg ?


But compiling ffmpeg looks complicated...


The actual code is probably like this


var FfmpegCommand = require('fluent-ffmpeg');
var FFMPEG_PATH = "C:/ffmpeg/bin/ffmpeg.exe" // binary file
FfmpegCommand.setFfmpegPath(FFMPEG_PATH)

FfmpegCommand("dog.webm", {})
 .videoCodec('libx264')
 // command line 
 // .addOutputOption([
 // '-threads 8'
 // ])
 .on('start', function (commandLine) {
 // Actual ffmpeg command
 // ffmpeg -i C:\Users\ming\Pictures\WEBCAMCAPTURE\dog.webm -y -vcodec libx264 C:\Users\ming\Pictures\WEBCAMCAPTURE\dog_x264.mp4
 console.log('command' + commandLine)
 })
 .on('progress', function (progress) {
 console.log('Processing: ' + progress.percent + '% done')
 })
 .on('end', function () {
 console.log('Finished')
 })
 .save("dog_x264.mp4")




English isn’t my first language, so please excuse any mistakes.