
Recherche avancée
Autres articles (71)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
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 (9632)
-
Could not find ffmpeg executable, tried "/srv/linux-x64/ffmpeg"
20 mai 2024, par AlanI am trying to run my docker image on AWS EC2 Instance. However, I am having a trouble with the image file. When I run a task in AWS ECS, it says :


Could not find ffmpeg executable, tried "/srv/linux-x64/ffmpeg", "/srv/app/node_modules/@ffmpeg-installer/linux-x64/ffmpeg" and "/srv/app/node_modules/@ffmpeg-installer/linux-x64/ffmpeg"



This is my Dockerfile :


FROM node:latest as server
WORKDIR /srv/app
COPY ./server/package*.json ./
RUN apt-get update && apt-get install -y 'ffmpeg'
RUN npm install
COPY ./server .
RUN npm run build

FROM node:latest as client
WORKDIR /srv/app
COPY ./client/package*.json ./
RUN npm install
COPY ./client .
RUN npm run build

FROM node:latest as production
WORKDIR /srv/app
RUN mkdir /public
COPY --from=server /srv/app/dist ./
COPY --from=client /srv/app/dist ./public
ENV NODE_ENV=production
EXPOSE 5000
CMD ["node", "app.js"]



This is my package.json :


},
 "keywords": [],
 "author": "",
 "license": "ISC",
 "dependencies": {
 "@ffmpeg-installer/ffmpeg": "^1.1.0",
 "@types/ffmpeg": "^1.0.7",
 "@types/fluent-ffmpeg": "^2.1.24"
 }



This is how I used ffmpeg in my code :


import ffmpegPath from '@ffmpeg-installer/ffmpeg';
import ffmpeg from 'fluent-ffmpeg';
ffmpeg.setFfmpegPath(ffmpegPath.path);



Please help me fix this error.


-
How do I get Docker to recognize ffmpeg ?
27 juillet 2019, par user592419My container is intended to be a celery worker whose tasks have dependencies on ImageMagick and FFMPEG. This builds without an issue. Further, if I run the (commented out)
CMD celery
, then celery starts without an issue. It then fails in finding ffmpeg.The
CMD ffmpeg
command tests that and currently returns just/bin/sh: 1: ffmpeg: not found
. How do I fix this ?FROM alpine:latest
RUN apk add --update ffmpeg
FROM python:3.7
WORKDIR /
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN rm requirements.txt
RUN apt-get install imagemagick
COPY . /
WORKDIR /
# Run celery.py when the container launches. Commented out to test ffmpeg.
# CMD ["celery", "worker", "-A", "a.celery", "--loglevel=info"]
CMD ffmpegIf I instead do the following, it works :
FROM alpine:latest
RUN apk add --update ffmpeg
CMD ffmpeg -
Chain encoding MP4 to FLAC on GAE using FFmpeg
24 octobre 2019, par IgniterI’m trying to encode MP4 to FLAC on GAE instance.
I have the functions chain where ffmpeg is synchronously invoked several times.
All those functions work great except this final snippet which dies without errors on GAE.const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(ffmpegPath);
ffmpeg(`/tmp/${iid}/${file}`) // file.mp4
.outputOptions(['-c:a flac','-sample_fmt s16','-ar 16000','-ac 1'])
.on('end', () => console.log('All went OK!'))
.on('error', console.log)
.save(`/tmp/${iid}/${file.split('.')[0]}.flac`);Looks like I missed something basic in ffmpeg command construction, how can I debug it ?
Or maybe this exact command could be constructed using other fluent-ffmpeg methods ?