
Recherche avancée
Autres articles (95)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
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 (...)
Sur d’autres sites (7696)
-
AWS Lambda Error : Cant find ffmpeg
31 août 2016, par rpmI am building a lambda function that requires ffmpeg. The error that I am getting is :
ERROR :: Error: Cannot find ffmpeg
Relevant code to the problem is below...
process.env['PATH'] = process.env['PATH'] + "/" + process.env['LAMBDA_TASK_ROOT']
process.env['PATH'] = process.env['PATH'] + ':/tmp/'
var ffmpeg = require('fluent-ffmpeg')
exports.handler = (event, context, callback) => {
var proc = new ffmpeg();
proc.addInput('testfile.mp4)
.on('start', function(ffmpegCommand) {
})
.on('progress', function(data) {
})
.on('end', function() {
})
.on('error', function(error) {
/// ERROR IS HERE
})
.outputOptions(['-hls_time 10'])
.output(fileName + '.m3u8')
.run();
}Here’s my ZIP structure :
./ffmpeg
./ffprobe
./index.js
./node_modules
./node_modules/aws-sdk
./node_modules/ffmpeg
./node_modules/fluent-ffmpeg
./package.jsonI’ve read around and have seen people mention
chmod
-ing ffmpeg and ffprobe, and I tried that usingchmod 755
on both executables, and that didn’t work.Also read about having to change the path. I tried what I could, and was unsuccessful again. I am not sure where to turn from here, or how to further diagnose what I am doing wrong. Any help would be greatly appreciated. Thanks !
-
AWS Lambda Error : Cant find ffmpeg
21 octobre 2022, par raisedandglazedI am building a lambda function that requires ffmpeg. The error that I am getting is :



ERROR :: Error: Cannot find ffmpeg




Relevant code to the problem is below...



process.env['PATH'] = process.env['PATH'] + "/" + process.env['LAMBDA_TASK_ROOT']
process.env['PATH'] = process.env['PATH'] + ':/tmp/'

var ffmpeg = require('fluent-ffmpeg')

exports.handler = (event, context, callback) => {

 var proc = new ffmpeg();

 proc.addInput('testfile.mp4)
 .on('start', function(ffmpegCommand) {
 })
 .on('progress', function(data) {
 })
 .on('end', function() {
 })
 .on('error', function(error) {
 /// ERROR IS HERE
 })
 .outputOptions(['-hls_time 10'])
 .output(fileName + '.m3u8')
 .run();

}




Here's my ZIP structure :



./ffmpeg
./ffprobe
./index.js
./node_modules
./node_modules/aws-sdk
./node_modules/ffmpeg
./node_modules/fluent-ffmpeg
./package.json




I've read around and have seen people mention
chmod
-ing ffmpeg and ffprobe, and I tried that usingchmod 755
on both executables, and that didn't work.


Also read about having to change the path. I tried what I could, and was unsuccessful again. I am not sure where to turn from here, or how to further diagnose what I am doing wrong. Any help would be greatly appreciated. Thanks !


-
Unhandled Rejection (Error) : ffmpeg.wasm can only run one command at a time
4 mai 2021, par N'ayam Amarsh'eI am using FFMPEG WASM in my react project. I have multiple videos that I'm looping over and using the await ffmpeg.run() function to apply modifications to.
But in the loop, when one iteration ends, it starts the next iteration even before ffmpeg.run() has stopped working and it throws this error Unhandled

Rejection (Error): ffmpeg.wasm can only run one command at a time


How can I fix this error ? I am using async await but they don't seem to fix