-
Notifications
You must be signed in to change notification settings - Fork 34
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
[noBUG] - Can't get ffmpeg to work propperly #27
Comments
Hi, i have same problem like you before. This solves my problem
It takes some times. Than make sure that your dafang video and audo settings are correct. video settings Audio settings with this settings all works fine for me, maybe it will solve your problem too. best regards rene |
Hey good morning, thank you for the detailed answer :) Since i already compiled my own ffmpeg and also installed it by at-get, is there something i need to uninstall first? Before i tried the apt-get ffmpeg i triggered "sudo make uninstall" for both lib h264 and ffmpeg after that i installed ffmpeg by apt-get and its currently installed. Should i remove ffmpeg with apt-get first? The video settings you are talking about need to be applied to config.json? idk why but rene sounds german? :) Regards X23 |
No problem ;-) That is also a good question for me. I am also not expert with this things. I search and try different things to solve my problem. What i write before works great for me. But i think its no problem if you install it without remove the old install. If you use a Raspberry for it, you can make with PiBaker a backup. If you make this frist you can test, if not working you can flash your sd card back with the backup. Like this i do it many times until all works ;-) Yes i am german, you too? Best regards rene |
Hi, ok i applied all and now i can stream but its not really running smooth, not really moving pictures ;) and then it stucks somehow and breaks or is just insanely bad perfoming but hey thats more then before :) I am a german too. Prost Regards X23 |
Here is my Config. Maybe that help you too. But htere i use a own MQTT Server. If you dont have, you must change this settings. { |
Thanks :) i have my own mosquitto ;) having sonoffs and other stuff like that. |
Ok great to hear that you can start now the stream. Have you add videoconfig like this to the config.json "videoConfig": { My complete settings included this you can above |
Hi, not yet, i adjusted the settings you told me initally to the cameras webif settings, was that wrong or is that videoconfig part also needed? |
Yes i have the dafang with 360 view. |
Ok correct. you need to add this seetings in config.json too. Like this works great for me. |
Ok i will add this and try :) |
Ok great that i can help you. ;-) |
Btw. i am always messing up with the hard formatting needs of the config.json when i try to add stuff. I really hate it...meh :) |
Have you install homebridge-config-ui-x v3.9.6? There you can easy edit the confirm and see also directly if something is wrong. Its help me a lot |
Erm no didnt knew its existing hehe ;) |
Danke für den Tip :) |
Gerne ;-) |
but i can't get it to work smoothly, i can see movement from time to time but then it stucks, i console i have seen another exit code 1, i removed ffmpeg from repository and installed again from source, lets see if this helps. |
Its working for some time but in something like slomo then it stops and homekit is telling me no answer from camera... the camera is then useless with home until i reboot it while the webif is normally responding to the camera, strange. |
Ok sorry to hear. maybe you need for your camera other settings like me with the Dafang 360 view. Play something with the settings. maybe this will help. |
ok i found out that the rtsp server of the cam is crashing, stream to vlc wasn't working until reboot that means the service crashed. |
hmm i dont understand this, vlc is eating everything applied to the video stream settings (webif) of the camera, why is home such a she-goat ;P regarding to video streams or is this still a ffmpeg issue? is there anything i can do to debug this to find the problem? Regards X23 |
Hi, fun fact, streaming works very good with camera-ffmpeg with the same ffmpeg binary causing problems when trying to stream with dafang plugin. fun fact two, streaming works but not stillImage :) hehe now i need to combine both plugins. |
For people with a similar problem: You have to remove
|
FYI - for installations on Raspberry Pi's use:
|
Hi,
i am on a rpi 3 and ffmpeg is always exiting with error code 1 when i try to stream, one frame snapshots are no problem it's only when streaming should start and ffmpeg gets used.
First i tried to install ffmpeg this way: http://jollejolles.com/installing-ffmpeg-with-h264-support-on-raspberry-pi/
Then i decided to try ffmpeg from apt-get but with both no go.
homebridge is running under pi user context, is there something i need to adjust?
Also i really would like to try to install ffmpeg with brew like suggested in this project but i can'T get linuxbrew to run, i followed their instruction but i cannot type brew in command line, command not found.
Can someone help me to get ffmpeg running propper?
Is someone here were it's working with an rpi?
Regards Jens
The text was updated successfully, but these errors were encountered: