
Recherche avancée
Autres articles (97)
-
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. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9164)
-
fluent-ffmpeg add multiple languages from method dynamically nodejs
18 février 2021, par AmitKumarI am trying to add multiple languages and subtitles to a video dynamically. but I am not able to find any solution, I found many results for the command line.


I want to call this command script from my nodejs method


ffmpeg -i captain-marvel-trailer.mp4 -i tamil.mp3 -i telugu.mp3 -i hindi.mp3 -map 1 -map 2 -map 3 -metadata:s:a:0 language=eng -metadata:s:a:1 language=tam -metadata:s:a:2 language=tel -metadata:s:a:3 language=hin -codec copy multilanguage.mp4



Here is my codes :


lodash.each(payloadData.languages,function(language){
 let start = 0;
 let max = payloadData.languages.length;
 while (start < max) {
 // fname = `${path.resolve(`contents/hindi.mp3`)} -map 1 -metadata:s:a:0 language=hin -codec copy ${finalVideoPath}`
 // ffmpeg().input(fname) 
 start += 1;
 }
})
 
ffmpeg('./sample.mov')
 .withOutputFormat('.mp4')
 .size('1920x1080')
 .on("end", function (stdout, stderr) { 

 })
}).on("error", function (err) {
 console.log("an error happened: " + err.message);
}).save(finalVideoPath)



-
avcodec/flashsv2enc : Fix use of uninitialized value
27 janvier 2021, par Andreas Rheinhardtavcodec/flashsv2enc : Fix use of uninitialized value
Before 257a83b969157eb76c18158a4e503e908d8b1125, certain buffers were
zero-allocated in the init function and only reallocated lateron if they
turned out to be too small ; now they are only allocated during init,
leading to use-of-uninitialized values lateron. The same could happen
before if the dimensions are big enough so that the buffers would be
reallocated, as the new part of the reallocated buffer would not be
zeroed (happened for 960x960). So always zero the buffers in the
function designed to init them.Reviewed-by : Marton Balint <cus@passwd.hu>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
How to execute fluent-ffmpeg commands from express router ?
27 janvier 2021, par Chrisso I'm trying to control and m3u8 playlist using data sent in thru an express route and keep getting the same error "Error : ffmpeg exited with code 1 : Conversion failed !" when attempting.


My code looks like this


ch1Router
 .route("/source")
 .post(jsonBodyParser, (req, res, next) => {
 //video url from request body
 const { url } = req.body;
 
 //test console log
 console.log(req.body);

 //ffmpeg commands
 ffmpeg(url)
 .output('videos/Ch1.m3u8')
 .on('error', (err) => {
 console.log("Something Happened:", err.message)
 res.send("Error changing input!")
 })
 .run()
 

 
 res.send("hi")
 })



When I run this exact command in a separate file using Node, the command executes and I only need to refresh my browser to see the new video file. When trying to chain it to a post request containing the video URL I get the conversion error. Any help would be appreciated.


**Updated my code to prevent the server from crashing and respond with an error message but still don't understand the conversion error.