-
-
Notifications
You must be signed in to change notification settings - Fork 337
Description
when I try to dockerize my app it builds successfully but in run it shows like this
ffmpeg version 4.1.8
ffprobe version 4.1.8
Extracting audio/silence from all clips
Mixing clip audio with arbitrary audio
Error: Command failed with exit code 1: ffmpeg -hide_banner -loglevel error -stream_loop 0 -i editly-tmp-apYwwWg60h1mgCyMJPphT/audio-concat.flac -stream_loop 0 -i ./music/sample.mp3 -filter_complex [0]atrim=start=0,adelay=delays=0:all=1[a0];[1]atrim=start=0,adelay=delays=0:all=1,apad[a1];[a0][a1]amix=inputs=2:duration=first:dropout_transition=0:weights=1 1 -c:a flac -y editly-tmp-apYwwWg60h1mgCyMJPphT/audio-mixed.flac
[Parsed_adelay_1 @ 0x5576d66a7bc0] Option 'all' not found
[AVFilterGraph @ 0x5576d667e140] Error initializing filter 'adelay' with args 'delays=0:all=1'
Error initializing complex filters.
Option not found
at makeError (/home/node/app/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/node/app/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async mixArbitraryAudio (/home/node/app/node_modules/editly/audio.js:196:5)
at async editAudio (/home/node/app/node_modules/editly/audio.js:232:23)
at async Editly (/home/node/app/node_modules/editly/index.js:73:34)
at async todo (/home/node/app/server.js:38:4) {
shortMessage: 'Command failed with exit code 1: ffmpeg -hide_banner -loglevel error -stream_loop 0 -i editly-tmp-apYwwWg60h1mgCyMJPphT/audio-concat.flac -stream_loop 0 -i ./music/sample.mp3 -filter_complex [0]atrim=start=0,adelay=delays=0:all=1[a0];[1]atrim=start=0,adelay=delays=0:all=1,apad[a1];[a0][a1]amix=inputs=2:duration=first:dropout_transition=0:weights=1 1 -c:a flac -y editly-tmp-apYwwWg60h1mgCyMJPphT/audio-mixed.flac',
command: 'ffmpeg -hide_banner -loglevel error -stream_loop 0 -i editly-tmp-apYwwWg60h1mgCyMJPphT/audio-concat.flac -stream_loop 0 -i ./music/sample.mp3 -filter_complex [0]atrim=start=0,adelay=delays=0:all=1[a0];[1]atrim=start=0,adelay=delays=0:all=1,apad[a1];[a0][a1]amix=inputs=2:duration=first:dropout_transition=0:weights=1 1 -c:a flac -y editly-tmp-apYwwWg60h1mgCyMJPphT/audio-mixed.flac',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: "[Parsed_adelay_1 @ 0x5576d66a7bc0] Option 'all' not found\n" +
"[AVFilterGraph @ 0x5576d667e140] Error initializing filter 'adelay' with args 'delays=0:all=1'\n" +
'Error initializing complex filters.\n' +
'Option not found',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
this is my Dockerfile
RUN apt-get -y update
RUN apt-get install -y ffmpeg
RUN apt-get -y full-upgrade
COPY . ./
RUN npm install
EXPOSE 3000
USER 1000
CMD ["node","server.js"]
During docker build it pulls only 4.1 version only
in my local it works fine (local ffmpeg version- ffmpeg version 4.4.1-essentials_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers ..On windows 10)
Is there any way can I upgrade to ffmpeg 4.4 in docker image to run editly?
Help
[Pardon my mistakes, English isn't my first language]
- I have tried with the newest version of editly:
npm i -g editly
ornpm i editly@latest
- I have tried ffmpeg newest stable version
- I have searched for existing issues