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

Potentially unhandled rejection | FFMPEG throws a unsupported format Error message #51

Closed
AsP3X opened this issue Jul 20, 2018 · 5 comments

Comments

@AsP3X
Copy link

AsP3X commented Jul 20, 2018

I've created a script to convert a mp4 in a webm file but i got an error message that is not related to the script it self because the script works fine on my ubuntu desktop pc with node js installed.

But the script throws an error message in my project and testing docker container.
The docker container is running on the latest version of ubuntu for docker.

DESKTOP
Nodejs version: 9.11.1
npm version: 6.2.0

DOCKER CONTAINER
Nodejs version 10.7.0 (Also tried on the same version gave me the same result)
npm version 6.2.0

Install command for all programs:
apt-get update && apt-get upgrade && apt-get install -y curl git nano htop && apt-get install -y gnupg2 && curl -sL https://deb.nodesource.com/setup_10.x | bash - && apt-get install -y nodejs && npm install npm -g

Script: Bitbucket / converter script

ERROR Message:
Potentially unhandled rejection [1] {"code":104,"msg":"The format \"$s\" is not supported by the version of ffmpeg webm"} (WARNING: non-Error used)

@AsP3X
Copy link
Author

AsP3X commented Jul 20, 2018

Project Tree:

Mainfolder /
- converter.js
- /src/
- - movie.mp4

@olaferlandsen
Copy link

same here, when using h264 + aac

@olaferlandsen
Copy link

Well, I change node-ffmpeg for node-fluent-ffmpeg

@ChrisCates
Copy link

Got the same issue.
Not sure how this repository is even usable.

@zahra-ove
Copy link

zahra-ove commented Dec 27, 2021

I'd have same problem, the reason for me was because FFMPEG was not installed on the server. for example for ubuntu server, the ffmpeg can install by sudo apt-get install ffmpeg.

@AsP3X AsP3X closed this as completed Jul 5, 2022
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

4 participants