Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg error when uploading tracks #934

Open
superaarhus opened this issue Dec 10, 2024 · 2 comments
Open

ffmpeg error when uploading tracks #934

superaarhus opened this issue Dec 10, 2024 · 2 comments

Comments

@superaarhus
Copy link

When uploading audio track. After browse for file.
This is seems to be the route that is triggering the error

/v1/manage/tracks/{}/audio

blackbird-background  | error: Error converting to hls: ffmpeg exited with code 127 {"service":"background-queue"}
blackbird-background  | error: Error creating audio folder ffmpeg exited with code 127 {"service":"background-queue","stack":"Error: ffmpeg exited with code 127\n    at ChildProcess.<anonymous> (/var/www/api/node_modules/fluent-ffmpeg/lib/processor.js:182:22)\n    at ChildProcess.emit (node:events:517:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)"}
blackbird-background  | info: completed:upload-audio {"service":"background-queue"}
blackbird-api         | info: Job with id "2" has been completed, {"error":{"stack":"Error: ffmpeg exited with code 127\n    at ChildProcess.<anonymous> (/var/www/api/node_modules/fluent-ffmpeg/lib/processor.js:182:22)\n    at ChildProcess.emit (node:events:517:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)","message":"ffmpeg exited with code 127"}} {"service":"api"}
blackbird-api         | There was an error processing the job
@superaarhus
Copy link
Author

Did some more digging. The issue is caused by the ffmpeg in the my path doesn't have libfdkaac compile.

Would think that

jrottenberg/ffmpeg:5.1-ubuntu2204

has that handled. I would imagine that is the version of ffmpeg that the fluent-ffmpeg would be using.

I have recompiled my ffmepg with lib_fdk_aac, and that seems to fix the ffmpeg issue.

@simonv3
Copy link
Member

simonv3 commented Dec 10, 2024

Yeah this is strange, this is just with the normal docker compose watch setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants