Wahrscheinlich hast du das in meinem aller ersten Post gelesen, wo ich durch die gesamte Einrichtung durch gehe
Ich hab sie auf 720p eingestellt, reicht mir aus.
Wahrscheinlich hast du das in meinem aller ersten Post gelesen, wo ich durch die gesamte Einrichtung durch gehe
Ich hab sie auf 720p eingestellt, reicht mir aus.
Hast du mal die arlo vmc3030 versucht Ei zubinden ? Geht das ?
Die habe ich mir gerade zum Test gekauft
Nope! Bisher nur die Dafang!
Nach weiterem rumexperimentieren hab ich nun gute settings gefunden die bei mir funktionieren:
https://github.com/sahilchaddha/homebridge-dafang/issues/27
ZitatAlles anzeigen
- install build tools
sudo apt-get install pkg-config autoconf automake libtool libx264-dev- download and build fdk-aac
git clone https://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
./autogen.sh
./configure --prefix=/usr/local --enable-shared --enable-static
make -j4
sudo make install
sudo ldconfig
cd ..- download and build ffmpeg
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
./configure --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp
make -j4
sudo make installIt takes some times.
Than make sure that your dafang video and audo settings are correct.
video settings
video format: FixedQp
Size: 1280x720
FrameRate: 21
BitRate 299
Audio settings
audio format: mp3
filter: filter 2
in rate 16000
out rate 16000
ich bekomme beim installieren von dafang ein paar error emdlungen
root@Server ~ > sudo npm install -g homebridge-dafang
npm WARN deprecated [email protected]: Please upgrade to 2.2.19 or higher
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: no longer maintained
> [email protected] install /usr/lib/node_modules/homebridge-dafang/node_modules/fs-ext
> node-gyp configure build
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-dafang/node_modules/fs-ext/build'
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/lib/node_modules/homebridge-dafang/node_modules/fs-ext
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
> [email protected] install /usr/lib/node_modules/homebridge-dafang/node_modules/leveldown
> prebuild --install
prebuild info begin Prebuild version 4.5.0
prebuild info looking for local prebuild @ prebuilds/leveldown-v1.4.6-node-v64-linux-x64.tar.gz
prebuild WARN install EACCES: permission denied, access '/root/.npm'
prebuild info install We will now try to compile from source.
prebuild verb starting node-gyp process
prebuild verb execute node-gyp with `node index.js rebuild --target=v10.15.3 --target_arch=x64`
gyp verb command rebuild []
prebuild verb ok
gyp verb command clean []
gyp verb clean removing "build" directory
prebuild verb ok
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.13\n"
gyp verb get node dir no --target version specified, falling back to host node version: 10.15.3
gyp verb command install [ '10.15.3' ]
gyp verb install input version string "10.15.3"
gyp verb install installing version: 10.15.3
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 10.15.3
gyp verb build dir attempting to create "build" dir: /usr/lib/node_modules/homebridge-dafang/node_modules/leveldown/build
prebuild ERR! configure error
prebuild ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-dafang/node_modules/leveldown/build'
prebuild ERR! not ok
prebuild ERR! build Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-dafang/node_modules/leveldown/build'
> [email protected] install /usr/lib/node_modules/homebridge-dafang/node_modules/snappy
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-dafang/node_modules/snappy/build'
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-dafang/node_modules/snappy
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
> [email protected] install /usr/lib/node_modules/homebridge-dafang/node_modules/zmq
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-dafang/node_modules/zmq/build'
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-dafang/node_modules/zmq
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-dafang/node_modules/fs-ext):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-dafang/node_modules/leveldown):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild --install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-dafang/node_modules/snappy):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-dafang/node_modules/zmq):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ [email protected]
updated 1 package in 47.795s
root@Server ~ >
Alles anzeigen
Hmmmm versuch mal am Ende vom install Befehl noch ein --unsafe-perm anzuhaengen!
Oder (sofern du config-ui-x installiert hast) installiere es mal darueber und guck ob es in der Plugins Liste auftaucht!
Zumindest die ersten Fehler sind nur Hinweise!
wie es scheint, hat es sich aber trotzdem installiert, da du am Ende die Ausgabe hast, dass homebridge-dafang 1.4.3 geladen wurde!
so sieht jetzt meine config aus
{
"platform": "Dafang",
"mqtt": {
"hostBroker": true,
"debug": true,
"mongoUrl": "mongodb://localhost:27017/mqtt"
},
"cameras": [
{
"cameraName": "Camera",
"cameraRTSPStreamUrl": "rtsp://192.168.178.205:8554/unicast",
"mqttTopic": "Wohnzimmer/Camera/#",
"disableStream": false,
"folder": "PFAD_ZUM_SPEICHERORT",
"segmentLength": 60,
"maxDirSize": 2048,
"checkStorageSizeInterval": 300,
"recordingDirectoryPathFormat": "MMM-D-YY",
"recordingFilenameFormat": "M_D_YYYY_ h_mm_ss_a",
"accessories": [
{
"name": "Wohnzimmer Bewegungssensor",
"type": "richMotionSensor",
"threshold": 300000
},
{
"name": "Wohnzimmer Auto Bewegung Switch",
"type": "autoMotionTrackingSwitch"
},
{
"name": "Wohnzimmer Nachtsicht Sensor",
"type": "nightVisionSensor",
"threshold": 0
},
{
"name": "Wohnzimmer Nachtsicht Switch",
"type": "nightVisionSwitch"
},
{
"name": "Wohnzimmer Auto Nachtsicht Switch",
"type": "autoNightVisionSwitch"
},
{
"name": "Horizontal Links",
"type": "moveCamera",
"axis": "horizontal",
"direction": "left"
},
{
"name": "Horizontal Rechts",
"type": "moveCamera",
"axis": "horizontal",
"direction": "right"
},
{
"name": "Vertical Hoch",
"type": "moveCamera",
"axis": "vertical",
"direction": "up"
},
{
"name": "Vertical Runter",
"type": "moveCamera",
"axis": "vertical",
"direction": "down"
},
{
"name": "Video Aufnehmen",
"type": "recordVideo"
},
{
"name": "Audo Aufnehmen",
"type": "recordAudio"
},
{
"name": "Foto Machen",
"type": "captureImage"
},
{
"name": "RPi Speicher Sensor",
"type": "storageSensor"
},
{
"name": "Clear Storage Switch",
"type": "clearStorage"
},
{
"name": "Reset Streaming",
"type": "resetFFMPEG"
},
{
"name": "Bewegungssensor Switch",
"type": "motionDetection"
},
{
"name": "RTSPSwitch",
"type": "rtspSwitch"
},
{
"name": "MJPEG Switch",
"type": "mjpegSwitch"
},
{
"name": "Rekalibrierung Switch",
"type": "recalibrateSwitch"
},
{
"name": "Neustart Switch",
"type": "restartSwitch"
},
{
"name": "ReMount Switch",
"type": "remountSwitch"
},
{
"name": "Camera Helligkeit",
"type": "brightness"
}
],
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast",
"stillImageSource": "-rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1",
"maxStreams": 5,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 25,
"vcodec": "h264",
"debug": true
}
}
]
},
die schalter tauchen alle auf, aber mehr auch nicht.... kein bild :-((((
irgendwas habe ich noch falsch gemacht
Hi,
Meine aktuelle config sieht so aus:
{
"platform": "Dafang",
"mqtt": {
"hostBroker": true,
"debug": true,
"mongoUrl": "mongodb://USERNAME:[email protected]:55164/mqtt"
},
"cameras": [
{
"cameraName": "Camera",
"cameraRTSPStreamUrl": "rtsp://192.168.1.XX:8554/unicast",
"mqttTopic": "Wohnzimmer/Camera/#",
"disableStream": false,
"folder": "~/Videos/dafang",
"segmentLength": 60,
"maxDirSize": 2048,
"checkStorageSizeInterval": 300,
"recordingDirectoryPathFormat": "MMM-D-YY",
"recordingFilenameFormat": "M_D_YYYY_ h_mm_ss_a",
"accessories": [
{
"name": "Wohnzimmer Bewegungssensor",
"type": "richMotionSensor",
"threshold": 300000
},
{
"name": "Wohnzimmer Auto Bewegung Switch",
"type": "autoMotionTrackingSwitch"
},
{
"name": "Wohnzimmer Auto Nachtsicht Switch",
"type": "autoNightVisionSwitch"
},
{
"name": "Video Aufnehmen",
"type": "recordVideo"
},
{
"name": "Audio Aufnehmen",
"type": "recordAudio"
},
{
"name": "Foto Machen",
"type": "captureImage"
}
],
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://192.168.1.XX:8554/unicast",
"stillImageSource": "-rtsp_transport http -i rtsp://192.168.1.XX:8554/unicast -vframes 1 -r 1",
"maxStreams": 5,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 25,
"vcodec": "h264",
"debug": true
}
}
]
},
Alles anzeigen
Wo ist da denn wohl der Fehler ?
Wenn ich die rtsp mit vlc Starte habe ich direkt den livestream...
Versuche mal die Aufloesung nach unten anzupassen, so wie ich es habe.
Habe auch lange rumexperimentieren muessen mit idealen Einstellungen bezueglich des Livebildes, jedoch Standbild ging eig immer!
Was bei mir auch noch wichtig war, war ueber das webinterface zu gucken, dass alle firmware updates drauf sind und wie weiter oben beschrieben, habe ich die Einstellungen der Kamera ueber die Weboberflaeche auch angepasst!
Ps: wenn du das livelog im Terminal laufen laesst waehrend du versucht ein Bild zu kriegen, siehst du, dass es Daten uebertraegt? Oder kriegst du da womoeglich einen Fehler?
wie komme ich denn auf das webinterface ?
ich bekomme auch diese meldung, allerdings klappt das hinzufügen nicht, da keine cam angezeigt wird
Apr 30 22:38:46 Server homebridge[17606]: [2019-4-30 22:38:46] Camera is running on port 46263.
Apr 30 22:38:46 Server homebridge[17606]: [2019-4-30 22:38:46] Please add [Camera] manually in Home app. Setup Code: 031-45-154
Apr 30 22:38:46 Server homebridge[17606]: [2019-4-30 22:38:46] Error: connect ECONNREFUSED 192.168.178.199:27017
Apr 30 22:38:46 Server homebridge[17606]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)
Apr 30 22:38:46 Server homebridge[17606]: [2019-4-30 22:38:46] Got SIGTERM, shutting down Homebridge...
Apr 30 22:38:46 Server homebridge[17606]: [2019-4-30 22:38:46] [HarmonyHub TV] INFO - shutdown
Oeffne die Home App von Apple, tippe auf das Plus, Geraet hinzufuegen, Code fehlt Bzw. Kann nicht gescannt werden. Und da sollte nun deine Kamera mit Kamera Symbol angezeigt werden und dem Namen den du in der config hinterlegt hast!
Diese dann mit dem Pin hinzufuegen!
Die Kamera wird nicht automatisch hinzugefuegt auch wenn es die selbe Instanz ist!
das hat nun geklappt und die cam wurde gefunden.
in den favoriten kommt allerdings nur eine durchgestrichene kamera un der log zeigt folgendes:
Apr 30 22:48:05 Server homebridge[24473]: [2019-4-30 22:48:05] [Dafang] Snapshot from Camera at 480x270
Apr 30 22:48:05 Server homebridge[24473]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Apr 30 22:48:05 Server homebridge[24473]: [2019-4-30 22:48:05] [Dafang] An error occurs while making snapshot request
Apr 30 22:48:05 Server homebridge[24473]: [2019-4-30 22:48:05] [Dafang] { Error: spawn ffmpeg ENOENT
Apr 30 22:48:05 Server homebridge[24473]: at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
Apr 30 22:48:05 Server homebridge[24473]: at onErrorNT (internal/child_process.js:415:16)
Apr 30 22:48:05 Server homebridge[24473]: at process._tickCallback (internal/process/next_tick.js:63:19)
Apr 30 22:48:05 Server homebridge[24473]: errno: 'ENOENT',
Apr 30 22:48:05 Server homebridge[24473]: code: 'ENOENT',
Apr 30 22:48:05 Server homebridge[24473]: syscall: 'spawn ffmpeg',
Apr 30 22:48:05 Server homebridge[24473]: path: 'ffmpeg',
Apr 30 22:48:05 Server homebridge[24473]: spawnargs:
Apr 30 22:48:05 Server homebridge[24473]: [ '-rtsp_transport',
Apr 30 22:48:05 Server homebridge[24473]: 'http',
Apr 30 22:48:05 Server homebridge[24473]: '-i',
Apr 30 22:48:05 Server homebridge[24473]: 'rtsp://192.168.178.205:8554/unicast',
Apr 30 22:48:05 Server homebridge[24473]: '-vframes',
Apr 30 22:48:05 Server homebridge[24473]: '1',
Apr 30 22:48:05 Server homebridge[24473]: '-r',
Apr 30 22:48:05 Server homebridge[24473]: '1',
Apr 30 22:48:05 Server homebridge[24473]: '-t',
Apr 30 22:48:05 Server homebridge[24473]: '1',
Apr 30 22:48:05 Server homebridge[24473]: '-s',
Apr 30 22:48:05 Server homebridge[24473]: '480x270',
Apr 30 22:48:05 Server homebridge[24473]: '-f',
Apr 30 22:48:05 Server homebridge[24473]: 'image2',
Apr 30 22:48:05 Server homebridge[24473]: '-' ] }
Apr 30 22:48:15 Server homebridge[24473]: [2019-4-30 22:48:15] [Dafang] Snapshot from Camera at 480x270
Apr 30 22:48:15 Server homebridge[24473]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Apr 30 22:48:15 Server homebridge[24473]: [2019-4-30 22:48:15] [Dafang] An error occurs while making snapshot request
Apr 30 22:48:15 Server homebridge[24473]: [2019-4-30 22:48:15] [Dafang] { Error: spawn ffmpeg ENOENT
Apr 30 22:48:15 Server homebridge[24473]: at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
Apr 30 22:48:15 Server homebridge[24473]: at onErrorNT (internal/child_process.js:415:16)
Apr 30 22:48:15 Server homebridge[24473]: at process._tickCallback (internal/process/next_tick.js:63:19)
Apr 30 22:48:15 Server homebridge[24473]: errno: 'ENOENT',
Apr 30 22:48:15 Server homebridge[24473]: code: 'ENOENT',
Apr 30 22:48:15 Server homebridge[24473]: syscall: 'spawn ffmpeg',
Apr 30 22:48:15 Server homebridge[24473]: path: 'ffmpeg',
Apr 30 22:48:15 Server homebridge[24473]: spawnargs:
Apr 30 22:48:15 Server homebridge[24473]: [ '-rtsp_transport',
Apr 30 22:48:15 Server homebridge[24473]: 'http',
Apr 30 22:48:15 Server homebridge[24473]: '-i',
Apr 30 22:48:15 Server homebridge[24473]: 'rtsp://192.168.178.205:8554/unicast',
Apr 30 22:48:15 Server homebridge[24473]: '-vframes',
Apr 30 22:48:15 Server homebridge[24473]: '1',
Apr 30 22:48:15 Server homebridge[24473]: '-r',
Apr 30 22:48:15 Server homebridge[24473]: '1',
Apr 30 22:48:15 Server homebridge[24473]: '-t',
Apr 30 22:48:15 Server homebridge[24473]: '1',
Apr 30 22:48:15 Server homebridge[24473]: '-s',
Apr 30 22:48:15 Server homebridge[24473]: '480x270',
Apr 30 22:48:15 Server homebridge[24473]: '-f',
Apr 30 22:48:15 Server homebridge[24473]: 'image2',
Apr 30 22:48:15 Server homebridge[24473]: '-' ] }
beim live stream kommt das
Apr 30 22:52:56 Server homebridge[27273]: [2019-4-30 22:52:56] [Dafang] Start streaming video from Camera with 1280x720@299kBit
Apr 30 22:52:56 Server homebridge[27273]: ffmpeg -rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast -map 0:0 -vcodec h264 -pix_fmt yuv420p -r 25 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 10271130 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params e0Zlg8A5CArjXSyHnngkBQJSu1Kkz6CQuc1swdtz srtp://192.168.178.166:62336?rtcpport=62336&localrtcpport=62336&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 12309642 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params tA+A1nhWMxPedttnzYW3D8mM+koVIznnuFKRbCw+ srtp://192.168.178.166:50539?rtcpport=50539&localrtcpport=50539&pkt_size=1316
Apr 30 22:52:56 Server homebridge[27273]: [2019-4-30 22:52:56] [Dafang] An error occurs while making stream request
Apr 30 22:52:56 Server homebridge[27273]: [2019-4-30 22:52:56] [Dafang] { Error: spawn ffmpeg ENOENT
Apr 30 22:52:56 Server homebridge[27273]: at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
Apr 30 22:52:56 Server homebridge[27273]: at onErrorNT (internal/child_process.js:415:16)
Apr 30 22:52:56 Server homebridge[27273]: at process._tickCallback (internal/process/next_tick.js:63:19)
Apr 30 22:52:56 Server homebridge[27273]: errno: 'ENOENT',
Apr 30 22:52:56 Server homebridge[27273]: code: 'ENOENT',
Apr 30 22:52:56 Server homebridge[27273]: syscall: 'spawn ffmpeg',
Apr 30 22:52:56 Server homebridge[27273]: path: 'ffmpeg',
Apr 30 22:52:56 Server homebridge[27273]: spawnargs:
Apr 30 22:52:56 Server homebridge[27273]: [ '-rtsp_transport',
Apr 30 22:52:56 Server homebridge[27273]: 'tcp',
Apr 30 22:52:56 Server homebridge[27273]: '-i',
Apr 30 22:52:56 Server homebridge[27273]: 'rtsp://192.168.178.205:8554/unicast',
Apr 30 22:52:56 Server homebridge[27273]: '-map',
Apr 30 22:52:56 Server homebridge[27273]: '0:0',
Apr 30 22:52:56 Server homebridge[27273]: '-vcodec',
Apr 30 22:52:56 Server homebridge[27273]: 'h264',
Apr 30 22:52:56 Server homebridge[27273]: '-pix_fmt',
Apr 30 22:52:56 Server homebridge[27273]: 'yuv420p',
Apr 30 22:52:56 Server homebridge[27273]: '-r',
Apr 30 22:52:56 Server homebridge[27273]: '25',
Apr 30 22:52:56 Server homebridge[27273]: '-f',
Apr 30 22:52:56 Server homebridge[27273]: 'rawvideo',
Apr 30 22:52:56 Server homebridge[27273]: '-tune',
Apr 30 22:52:56 Server homebridge[27273]: 'zerolatency',
Apr 30 22:52:56 Server homebridge[27273]: '-vf',
Apr 30 22:52:56 Server homebridge[27273]: 'scale=1280:720',
Apr 30 22:52:56 Server homebridge[27273]: '-b:v',
Apr 30 22:52:56 Server homebridge[27273]: '299k',
Apr 30 22:52:56 Server homebridge[27273]: '-bufsize',
Apr 30 22:52:56 Server homebridge[27273]: '299k',
Apr 30 22:52:56 Server homebridge[27273]: '-maxrate',
Apr 30 22:52:56 Server homebridge[27273]: '299k',
Apr 30 22:52:56 Server homebridge[27273]: '-payload_type',
Apr 30 22:52:56 Server homebridge[27273]: '99',
Apr 30 22:52:56 Server homebridge[27273]: '-ssrc',
Apr 30 22:52:56 Server homebridge[27273]: '10271130',
Apr 30 22:52:56 Server homebridge[27273]: '-f',
Apr 30 22:52:56 Server homebridge[27273]: 'rtp',
Apr 30 22:52:56 Server homebridge[27273]: '-srtp_out_suite',
Apr 30 22:52:56 Server homebridge[27273]: 'AES_CM_128_HMAC_SHA1_80',
Apr 30 22:52:56 Server homebridge[27273]: '-srtp_out_params',
Apr 30 22:52:56 Server homebridge[27273]: 'e0Zlg8A5CArjXSyHnngkBQJSu1Kkz6CQuc1swdtz',
Apr 30 22:52:56 Server homebridge[27273]: 'srtp://192.168.178.166:62336?rtcpport=62336&localrtcpport=62336&pkt_size=1316',
Apr 30 22:52:56 Server homebridge[27273]: '-map',
Apr 30 22:52:56 Server homebridge[27273]: '0:1',
Apr 30 22:52:56 Server homebridge[27273]: '-acodec',
Apr 30 22:52:56 Server homebridge[27273]: 'libfdk_aac',
Apr 30 22:52:56 Server homebridge[27273]: '-profile:a',
Apr 30 22:52:56 Server homebridge[27273]: 'aac_eld',
Apr 30 22:52:56 Server homebridge[27273]: '-flags',
Apr 30 22:52:56 Server homebridge[27273]: '+global_header',
Apr 30 22:52:56 Server homebridge[27273]: '-f',
Apr 30 22:52:56 Server homebridge[27273]: 'null',
Apr 30 22:52:56 Server homebridge[27273]: '-ar',
Apr 30 22:52:56 Server homebridge[27273]: '16k',
Apr 30 22:52:56 Server homebridge[27273]: '-b:a',
Apr 30 22:52:56 Server homebridge[27273]: '24k',
Apr 30 22:52:56 Server homebridge[27273]: '-bufsize',
Apr 30 22:52:56 Server homebridge[27273]: '24k',
Apr 30 22:52:56 Server homebridge[27273]: '-ac',
Apr 30 22:52:56 Server homebridge[27273]: '1',
Apr 30 22:52:56 Server homebridge[27273]: '-payload_type',
Apr 30 22:52:56 Server homebridge[27273]: '110',
Apr 30 22:52:56 Server homebridge[27273]: '-ssrc',
Apr 30 22:52:56 Server homebridge[27273]: '12309642',
Apr 30 22:52:56 Server homebridge[27273]: '-f',
Apr 30 22:52:56 Server homebridge[27273]: 'rtp',
Apr 30 22:52:56 Server homebridge[27273]: '-srtp_out_suite',
Apr 30 22:52:56 Server homebridge[27273]: 'AES_CM_128_HMAC_SHA1_80',
Apr 30 22:52:56 Server homebridge[27273]: '-srtp_out_params',
Apr 30 22:52:56 Server homebridge[27273]: 'tA+A1nhWMxPedttnzYW3D8mM+koVIznnuFKRbCw+',
Apr 30 22:52:56 Server homebridge[27273]: 'srtp://192.168.178.166:50539?rtcpport=50539&localrtcpport=50539&pkt_size=1316' ] }
Apr 30 22:52:56 Server homebridge[27273]: [2019-4-30 22:52:56] [Dafang] ERROR: FFmpeg exited with code -2
welchen pfad muss ich hier eintragen ?
"folder": "PFAD_ZUM_SPEICHERORT",
Pfad zum Speicherort ist der lokale Pfad auf dem Pi, wo du Videos speichern wuerdest, wenn du dazu den jeweiligen Schalter in HomeKit aktivierst!
Hast du ffmpeg erfolgreich installiert? Sonst fuehre das nochmal Schritt fuer Schritt aus:
Nach weiterem rumexperimentieren hab ich nun gute settings gefunden die bei mir funktionieren:
fast geschafft, allerdings kommt hier eine fehlermeldung:
root@Server ~/FFmpeg > ./configure --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
root@Server ~/FFmpeg >
git ist aktuell
Also nochmal von Anfang an ? Oder nur ab FFMpeg?
root@Server ~ > sudo apt-get install build-essential
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
build-essential ist schon die neueste Version (12.3).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 26 nicht aktualisiert.
Genau zuerst den Befehl den ich gerade geschrieben hab und dann wieder weiter mit dem ffmpeg Befehl bei dem du den Fehler erhalten hast!
das selbe wie vorher
root@Server ~/FFmpeg > ./configure --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
root@Server ~/FFmpeg >
was hat es damit auf sich ?
--enable-cross-compile option.