Comments (5)
Does it work when you explicitly set the frame rate to 25 in stream.go like this?
fmt.Sprintf(" -framerate 25") +
from hkcam.
No still getting the same message:
[avfoundation @ 0x7fadd8000000] Selected framerate (30.000000) is not supported by the device
[avfoundation @ 0x7fadd8000000] Supported modes:
[avfoundation @ 0x7fadd8000000] 160x120@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 160x120@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 160x120@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 160x120@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 176x144@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 176x144@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 176x144@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 176x144@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 320x240@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 320x240@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 320x240@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 320x240@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 352x288@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 352x288@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 352x288@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 352x288@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 640x480@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 640x480@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 640x480@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 640x480@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 960x540@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 960x540@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 960x540@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 960x540@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 1024x576@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 1024x576@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 1024x576@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 1024x576@[14.999993 14.999993]fps
[avfoundation @ 0x7fadd8000000] 1280x720@[29.970000 29.970000]fps
[avfoundation @ 0x7fadd8000000] 1280x720@[25.000000 25.000000]fps
[avfoundation @ 0x7fadd8000000] 1280x720@[23.999981 23.999981]fps
[avfoundation @ 0x7fadd8000000] 1280x720@[14.999993 14.999993]fps
default: Input/output error
I receive this message when opening the Home app and looking at the camera component.
from hkcam.
Had a second look at it and got it working (still get the above messages though). I changed the following to stream.go:
Added the line you mentioned:
fmt.Sprintf(" -framerate 25") +
Slashed out:
//fmt.Sprintf(" -framerate %d", s.framerate(video.Attributes)) +
//fmt.Sprintf(" -framerate %d", video.Attributes.Framerate) +
from hkcam.
FYI https://github.com/brutella/hkcam/blob/master/ffmpeg/stream.go#L153-L154
from hkcam.
Yes I also saw this, I tried changing it to 25 but did nothing so left it at 30.
Can confirm that it is working on a MacBook Pro 13" early 2011, however I do not have sound.
But if I read it correctly it is not yet implemented?
from hkcam.
Related Issues (20)
- Are "Persistent Snapshots" still supported in the latest Home+ 5 app? HOT 1
- Rescue mode issue HOT 1
- HKCam only works with FFmpeg command via ssh HOT 6
- Was working with HomeKit directly after setup, now it doesn't HOT 3
- Rotate feed HOT 1
- [Fixed] Build fails with recent version of Golang: "go build: -i flag is deprecated" HOT 1
- New Version for the RPi Zero 2 ? HOT 5
- How do I access the video stream remote, when I'm not on my local network? HOT 3
- Not working in Bullseye HOT 5
- Does the enclosure fit with the Raspberry Pi Zero WH? HOT 1
- 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
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.