KhaosT / homebridge-camera-isight

iSight camera plugin for homebridge
52 stars 14 forks source link

I can't find the device when it's working #9

Open Guoer-xz opened 7 years ago

Guoer-xz commented 7 years ago

ffmpeg installation is complete, all the display is normal but I can not find it when adding accessories, I use the 2003 release of the 1394 interface of the iSIGHT, there is no need to troubleshoot it?

[2017-2-4 19:21:02] Homebridge is running on port 53306. [2017-2-4 19:21:02] iSight Camera is running on port 49432.

KhaosT commented 7 years ago

Based on the log its advertising. You should see it in add accessory screen from Home app. On Sat, Feb 4, 2017 at 3:35 AM Guoer-xz notifications@github.com wrote:

ffmpeg installation is complete, all the display is normal but I can not find it when adding accessories, I use the 2003 release of the 1394 interface of the iSIGHT, there is no need to troubleshoot it?

[2017-2-4 19:21:02] Homebridge is running on port 53306. [2017-2-4 19:21:02] iSight Camera is running on port 49432.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KhaosT/homebridge-camera-isight/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpU4Dygxl86UBU43k9OIbiHo5h1TPeWks5rZGKVgaJpZM4L3IJw .

Guoer-xz commented 7 years ago

Thank you for your reply, my home macbookpro integrated iSIGHT use plug-ins work very well, but the company's MacPro using a FireWire iSIGHT in the above situation, I discovered that although it has showed normal work, but not the tmp folder temporary image generation, the family will continue to have a temporary picture refresh

Guoer-xz commented 7 years ago

I also try to use a plugin like your ffmpeg, but I don't know how to define my iSIGHT I have run the command below, but I am not sure what I should put into the config file.:(

localhost:~ guoer$ ffmpeg -f avfoundation -list_devices true -i "" ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 [AVFoundation input device @ 0x7fc45b700360] AVFoundation video devices: [AVFoundation input device @ 0x7fc45b700360] [0] iSight [AVFoundation input device @ 0x7fc45b700360] [1] Capture screen 0 [AVFoundation input device @ 0x7fc45b700360] AVFoundation audio devices: [AVFoundation input device @ 0x7fc45b700360] [0] Built-in Microphone [AVFoundation input device @ 0x7fc45b700360] [1] iSight [AVFoundation input device @ 0x7fc45b700360] [2] System Audio Recorder : Input/output error

Guoer-xz commented 7 years ago

Ffmpeg will continue to work, but please please call, how do I change them to the config file.

…………………………………………………………………………………………………………………………………

localhost:~ guoer$ ffmpeg -f avfoundation -i "default" out.mpg ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 [avfoundation @ 0x7f8104800600] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7f8104800600] Supported pixel formats: [avfoundation @ 0x7f8104800600] uyvy422 [avfoundation @ 0x7f8104800600] yuyv422 [avfoundation @ 0x7f8104800600] nv12 [avfoundation @ 0x7f8104800600] 0rgb [avfoundation @ 0x7f8104800600] bgr0 [avfoundation @ 0x7f8104800600] Overriding selected pixel format to use uyvy422 instead. Input #0, avfoundation, from 'default': Duration: N/A, start: 150023.715033, bitrate: N/A Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 640x480, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc File 'out.mpg' already exists. Overwrite ? [y/N] y [mpeg @ 0x7f8108014a00] VBV buffer size not set, using default size of 130KB If you want the mpeg file to be compliant to some specification Like DVD, VCD or others, make sure you set the correct buffer size Output #0, mpeg, to 'out.mpg': Metadata: encoder : Lavf57.56.100 Stream #0:0: Video: mpeg1video, yuv420p, 640x480, q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc Metadata: encoder : Lavc57.64.101 mpeg1video Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg1video (native)) Press [q] to stop, [?] for help frame= 438 fps=0.0 q=31.0 size= 780kB time=00:00:14.51 bitrate= 440.2kbits/frame= 454 fps=431 q=31.0 size= 794kB time=00:00:15.04 bitrate= 432.2kbits/frame= 470 fps=295 q=24.8 size= 816kB time=00:00:15.58 bitrate= 429.0kbits/frame= 486 fps=229 q=31.0 size= 828kB time=00:00:16.11 bitrate= 420.9kbi

…………………………………………………………………………

hazdzz commented 6 years ago

I had a same issue with yours. Could you please tell me how did you fix this problem?