
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (50)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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
Sur d’autres sites (9947)
-
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.


-
Why is "ffmpeg : command not found" in heroku, even with proper buildpack/config ?
14 novembre 2022, par JimIn a node.js app hosted on heroku, ffmpeg is used by spawning processes, but is throwing errors anytime an ffmpeg command runs


the error
ffmpeg: command not found
is thrown both in cli testheroku run ffmpeg
as well as production logs

Ive considered :


- 

- buildpack order
- buildpack clearing/re-adding/redeploying
- buildpack required env vars
- heroku-stack-20 conflicts with buildpack#1 somehow ?










Buildpack order :


- 

- https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
- https://github.com/heroku/heroku-buildpack-awscli.git
- https://github.com/timanovsky/subdir-heroku-buildpack.git
- heroku/nodejs










Buildpack configs - from watching build logs, even though i havent set ffmpeg path, a default is found.


beginning build logs (completes successfully, runs successfully - minus ffmpeg) :


-----> Building on the Heroku-20 stack
-----> Using buildpacks:
 1. https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
 2. https://github.com/xrisk/heroku-opus.git
 3. https://github.com/heroku/heroku-buildpack-awscli.git
 4. https://github.com/timanovsky/subdir-heroku-buildpack.git
 5. heroku/nodejs
-----> ffmpeg app detected
-----> Installing ffmpeg
 Variable FFMPEG_DOWNLOAD_URL isn't set, using default value
 Downloading https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
 Unpacking the archive
 Installation successful
-----> heroku-opus app detected
 exporting PATH and LIBRARY_PATH
-----> Building in /tmp/build_51b5ac83/opus
-----> Starting opus compilation
 Downloading opus-1.3.1.tar.gz
 Unpacking opus
 Running configure
 Running make install
-----> AWS CLI app detected
-----> Downloading AWS CLI
-----> Installing AWS CLI
 You can now run: /app/.awscli/bin/aws --version
 aws-cli/2.8.12 Python/3.9.11 Linux/4.4.0-1104-aws exe/x86_64.ubuntu.20 prompt/off
-----> Successfully installed AWS CLI
-----> Subdir buildpack app detected
-----> Subdir buildpack in server
 creating cache: /tmp/codon/tmp/cache
 created tmp dir: /tmp/codon/tmp/cache/subdirBuBFb
 moving working dir: server to /tmp/codon/tmp/cache/subdirBuBFb
 cleaning build dir /tmp/build_51b5ac83
 copying preserved work dir from cache /tmp/codon/tmp/cache/subdirBuBFb to build dir /tmp/build_51b5ac83
 cleaning tmp dir /tmp/codon/tmp/cache/subdirBuBFb
-----> Node.js app detected



Any suggestions to further debug this ?


-
OCI runtime exec failed : exec failed : (...) executable file not found in $PATH" : unknown
12 octobre 2024, par Uğur KayaI have dockerized an app which has ffmpeg installed in it via libav-tools. The app launches without problem, yet the problem occured when fluent-ffmpeg npm module tried to execute ffmpeg command, which was not found. When I wanted to check the version of the ffmpeg and the linux distro set up in the image, I used
sudo docker exec -it c44f29d30753 "lsb_release -a"
command, but it gave the following error :OCI runtime exec failed: exec failed: container_linux.go:296: starting container process caused "exec: \"lsb_release -a\": executable file not found in $PATH": unknown



Then I realized that it gives me the same error with all the commands that I try to run inside the image or the container.



OCI runtime exec failed: exec failed: container_linux.go:296: starting container process caused "exec: \"ffmpeg -a\": executable file not found in $PATH": unknown




This is my Dockerfile :



FROM ubuntu:xenial
FROM node
RUN apt-get -y update
RUN apt-get --yes install libav-tools
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app
RUN npm install
COPY . /usr/src/app
RUN npm run build
ENV NODE_ENV production
EXPOSE 8000
CMD ["npm", "run", "start:prod"]




I would kindly ask for your help. Thank you very much !