Comments (6)
I got the same issue. Video not showing in the home app from apple.
The commands you wrote doesn't work for me as workaround.
from hkcam.
Do you get errors when you give the command ffmpeg -f v4l2 -i /dev/video0 -vf format=yuv420p -f v4l2 /dev/video1
With a other Webcam I don't need to give the specific command with -vf format=yuv420p, but the standard command works ffmpeg -f v4l2 -i /dev/video0 -codec:v copy -f v4l2 /dev/video1
But at the end, I always have to start the FFmpeg-command to get it working. Don't no why?
from hkcam.
No, didn't get any errors. I don't know if this is issue on my side, i already tried different homekit camera solutions. I always get the issue where the camera can't get a connection.
from hkcam.
I found a better solution: use in front of FFmpeg the following LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so
So resulting in LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so ffmpeg -f v4l2 -i /dev/video0 -codec:v copy -f v4l2 /dev/video1
Now only, how do I tell HKCAM to start with this?
from hkcam.
I’m sure there must be something wrong with the ffmpeg command which HKCam generates:
When I start the command as I mentioned before, ffmpeg -f v4l2 -i /dev/video0 -codec:v copy -f v4l2 /dev/video1
, I don’t get errors.
When HKCam is running and I open in the Homekit-app the camera, I get these logging errors.
But when HKCam is running and I give the command, ffmpeg -f v4l2 -i /dev/video0 -codec:v copy -f v4l2 /dev/video1
, the streaming starts in the Homekit App.
So I’m searching where the command is build. What I see in the logging is: /usr/bin/ffmpeg [ffmpeg -f v4l2 -i /dev/video0 -codec:v copy -f v4l2 /dev/video1]
I think it should be: /usr/bin/ffmpeg [-f v4l2 -i /dev/video0 -codec:v copy -f v4l2 /dev/video1]
, so without the second ffmeg
What do you think?
from hkcam.
Solved, I'll publish a install instruction for Buster
from hkcam.
Related Issues (20)
- No way to contact Repo Owner? HOT 1
- Setup command doesn't work HOT 7
- /dev/video99 not showing up HOT 1
- Running go task for hkcam fails with "esc": executable file not found in $PATH HOT 5
- /dev/video99: No such file or directory HOT 3
- Logitech C920 - Green video HOT 3
- Still image on Raspberry Pi HOT 1
- "404 Page not found" error on visiting Web Interface HOT 5
- No picture
- Support for two-way audio HOT 2
- Error: Invalid argument HOT 2
- Multiple Cameras
- Not an issue, but Question - PTZ Controls? HOT 1
- Error - Invalid Argument HOT 3
- SetupEndpoints issue in a special situation HOT 1
- connecting when not on the local wifi
- "apt-get install ffmpeg" failed
- record camera in homekit
- USB Webcam -> /dev/video99
- these instructions are simply too complicated, then it stops abruptly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hkcam.