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

Command failed #61

Open
gauri08 opened this issue Oct 15, 2019 · 7 comments
Open

Command failed #61

gauri08 opened this issue Oct 15, 2019 · 7 comments

Comments

@gauri08
Copy link

gauri08 commented Oct 15, 2019

I am trying to add watermark to video but it failed.
Error is:

error: { Error: Command failed: ffmpeg -i assets/encoded/upload-157113597459120191009_171749.mp4 -i assets/logo/logo.png -filter_complex "overlay=0-0+0:main_h-overlay_h-0+0" assets/encoded/water-157113597459120191009_171749.mp4
'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.

at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:188:13)
at ChildProcess.EventEmitter.emit (domain.js:441:20)
at maybeClose (internal/child_process.js:978:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)

killed: false,
code: 1,
signal: null,
cmd:
'ffmpeg -i assets/encoded/upload-157113597459120191009_171749.mp4 -i assets/logo/logo.png -filter_complex "overlay=0-0+0:main_h-overlay_h-0+0" assets/encoded/water-157113597459120191009_171749.mp4' }

Please help me !

@web-linda
Copy link

To use this library requires that ffmpeg is already installed

@gauri08
Copy link
Author

gauri08 commented Nov 8, 2019

ffmpeg is already installed.
It gives error for some videos.

@web-linda
Copy link

It may be your ffmpeg has a fail position.

@web-linda
Copy link

You must be sure your ffmpeg has a best position to your code file

@web-linda
Copy link

You must be sure your ffmpeg has a best relative path to your code file

@gauri08
Copy link
Author

gauri08 commented Nov 8, 2019

Sorry, I didn't get

@gauri08
Copy link
Author

gauri08 commented Nov 8, 2019

It gives Invalid data found when processing input

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