
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (95)
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4833)
-
c # and FFmpeg video converter program [on hold]
11 janvier 2014, par user3185145Hello friends good work to all of you, I would be a very important question for you if you let me I would be very glad if you can help. Now with ffmpeg written in c # and I need video converter program, I need very urgent please help, thank you very much.
-
See difference between 2 tracks audio
14 juin 2022, par xav-stargateIs't possible to have a percentage difference between 2 audio tracks ? (or a score)


I can compare 2 hashes to know if the 2 tracks are identical, But I want to know if the differences are important or not


-
How to send loading data before sending a file in Express Get Request
2 octobre 2023, par TheHangelI have an express Node.js server.


The objective of this server is make a process with ffmpeg and to send the file as result.


I manage to know the percentage of the process. But I don't know how to make the client aware of the percentage before it sends the file.


So here is my server-side code :
(I omitted some part of the ffmpeg process because, this is not very important, the important thing is to send the variable 'percent').


const ffmpeg = require('fluent-ffmpeg');

app.get('/download', (req,res) => {
 const video = new ffmpeg('myaudio.mp3');
 let total;
 video
 .format('mp3')
 .on('codecData', (data) => {
 total = parseInt(data.duration.replace(/:/g, ''));
 })
 .on('progress', (progress) => {
 const time = parseInt(progress.timemark.replace(/:/g, ''));
 const percent = (time / total) * 100;
 console.log(percent); // I want to send 'percent' to the client instead of console.log
 })
 .on('end', () => {
 res.status(200).sendFile(output); // then it sends the file to client
 })
 .save(output);
});



if you have a solution, can you show the client-side example, (axios or fetch) please ?