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

Improve ffmpeg exit logging #595

Closed
isramos opened this issue Jul 3, 2020 · 3 comments
Closed

Improve ffmpeg exit logging #595

isramos opened this issue Jul 3, 2020 · 3 comments

Comments

@isramos
Copy link
Contributor

isramos commented Jul 3, 2020

I'm setting up a new camera on a new system, and I got this error message:

[7/2/2020, 9:34:48 PM] [Camera-ffmpeg] [FFMPEG] ffmpeg exited with code: 1 and signal: null (error)

That is despite having debug enabled (cameras[].videoConfig.debug: true) . Clearly, there are not enough details to help me troubleshoot the issue.

I wish I could more easily see FFmpeg error output. Maybe include a path to a log file?

@donavanbecker
Copy link
Contributor

Install beta to see if this resolves it?

sudo npm install -g —unsafe-perm homebridge-camera-ffmpeg@beta

@isramos
Copy link
Contributor Author

isramos commented Jul 4, 2020

Beta still has poor FFmpeg exit logs. That can be seen by comments in #575

@isramos
Copy link
Contributor Author

isramos commented Jul 4, 2020

I was doing some research and found that back in the day (2018) this library used to have complete ffmpeg logs, check out issue #229 . Having such complete log output would help users to troubleshoot issues listed in #575

@isramos isramos mentioned this issue Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants