-
-
Notifications
You must be signed in to change notification settings - Fork 225
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 killed with signal ILL #679
Comments
That’s odd... “SIGILL” means an illegal instruction was encountered. Which would be an issue with the included version of FFmpeg (the ffmpeg-for-homebridge package). I’d recommend opening an issue over there, since they’d likely be best equipped to help. In the meantime, what version of Raspberry Pi are you running on? What version of Raspbian are you on? Perhaps there is some incompatibility between that package and one of those? |
I know, I'm running raspberry pi 1B+ (armv6)
might be something wrong with ffmpeg for homebridge |
Yea, I’d open an issue with them, it’s possible they haven’t tested it on a Pi that old. |
Hmm, will do then, should be the same as pi zero w shouldn't it? |
I’m not super up on the CPUs used in all their models, but I believe you are correct there. |
I'll close this one since it's a problem with ffmpeg not the plugin, thanks sunoo! |
Sure thing, if for some reason they think it might be something to do with this plugin, I’ll be happy to step in again and try to help. |
Although I saw the ffmpeg used by the plugin and the one installed on cli are different ffmpeg cli : ffmpeg version 4.1.6-1~deb10u1+rpt1 Copyright (c) 2000-2020 the FFmpeg developers Can I choose which one used by the plugin for the sake of trying? thanks |
Yes, set the |
seems to be working, got further I guess
latest error, from ffmpeg though |
If I remember correctly, stream 1:0 is the audio stream. The audio encoder is not compiled into most versions of ffmpeg, that’s why there is a project to supply a specific version for Homebridge. |
Also, just noticed a potential issue with the config you posted earlier. You are defining |
Interesting, because the stream does have audio, might be on 1:0 then? let me retry |
Typically a stream from a camera would have video on 0:0 and audio on 0:1, but that can change. |
Yup removing the audio stream and using the ffmpeg cli works, might need to raise the SIGILL issue to homebridge ffmpeg then, Thanks a lot ! |
Sure thing, hope they can figure that bit out. |
FYI, for all people reading this, if your camera already streams h264, just use codec "copy", should forward your stream without encoding it (no strain from CPU). |
Describe The Bug:
Cannot start stream on home app, snapshot are available, ffmpeg output to .mp4 in raspberry works but when streaming got error in ffmpeg.
To Reproduce:
Expected behavior:
Supposed to stream to ios device
Logs:
Homebridge Config:
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: