transitive-bullshit / ffmpeg-concat

Concats a list of videos together using ffmpeg with sexy OpenGL transitions.
863 stars 113 forks source link

concat error Error: Audio codec libmp3lame is not available #126

Open wbteve opened 2 years ago

wbteve commented 2 years ago

ffmpeg-concat -t circleopen -d 750 -o m.mp4 jia1.mp4 jia2.mp4 { cmd: 'ffmpeg -i jia1.mp4 -y -loglevel info -pix_fmt rgba -start_number 0 /tmp/b6bbead5b5c84b569ab9edb1c7813c80/scene-0-%012d.raw' } { cmd: 'ffmpeg -i jia2.mp4 -y -loglevel info -pix_fmt rgba -start_number 0 /tmp/b6bbead5b5c84b569ab9edb1c7813c80/scene-1-%012d.raw' } ffmpeg-concat: 1.174s concat error Error: Audio codec libmp3lame is not available at /www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:638:21 at nextTask (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5756:27) at next (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5764:13) at /www/movie/ffmpeg-concat/node_modules/async/dist/async.js:324:20 at FfmpegCommand.proto.availableEncoders.proto.getAvailableEncoders (/www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:457:14) at /www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:618:14 at nextTask (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5756:27) at next (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5764:13) at /www/movie/ffmpeg-concat/node_modules/async/dist/async.js:324:20 at /www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:613:9 (node:21357) UnhandledPromiseRejectionWarning: Error: Audio codec libmp3lame is not available at /www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:638:21 at nextTask (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5756:27) at next (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5764:13) at /www/movie/ffmpeg-concat/node_modules/async/dist/async.js:324:20 at FfmpegCommand.proto.availableEncoders.proto.getAvailableEncoders (/www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:457:14) at /www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:618:14 at nextTask (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5756:27) at next (/www/movie/ffmpeg-concat/node_modules/async/dist/async.js:5764:13) at /www/movie/ffmpeg-concat/node_modules/async/dist/async.js:324:20 at /www/movie/ffmpeg-concat/node_modules/fluent-ffmpeg/lib/capabilities.js:613:9 (Use node --trace-warnings ... to show where the warning was created) (node:21357) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) (node:21357) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

wbteve commented 2 years ago

ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44) configuration: --enable-shared --prefix=/usr/local/ffmpeg libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100