Znaleziono 3 wyniki

autor: krys
29 cze 2017, 20:56
Forum: Pozostałe
Temat: Octoprint problem z kamerą PK-335
Odpowiedzi: 10
Odsłony: 7205

Re: Octoprint problem z kamerą PK-335

doradzi ktoś jak zrobic zeby kamerka działała ?
autor: krys
28 cze 2017, 20:35
Forum: Pozostałe
Temat: Octoprint problem z kamerą PK-335
Odpowiedzi: 10
Odsłony: 7205

Re: Octoprint problem z kamerą PK-335

już podsyłam :)

Zawartość octopi.txt :

Kod: Zaznacz cały

### Configure which camera to use
#
# Available options are:
# - auto: tries first usb webcam, if that's not available tries raspi cam
# - usb: only tries usb webcam
# - raspi: only tries raspi cam
#
# Defaults to auto
#
camera="usb"

### Additional options to supply to MJPG Streamer for the USB camera
#
# See https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration
# for available options
#
# Defaults to a resolution of 640x480 px and a framerate of 10 fps
#
camera_usb_options="-r 640x480 -f 10"

### Additional webcam devices known to cause problems with -f
#
# Apparently there a some devices out there that with the current 
# mjpg_streamer release do not support the -f parameter (for specifying 
# the capturing framerate) and will just refuse to output an image if it 
# is supplied.
#
# The webcam daemon will detect those devices by their USB Vendor and Product
# ID and remove the -f parameter from the options provided to mjpg_streamer.
#
# By default, this is done for the following devices:
#   Logitech C170 (046d:082b)
#
# Using the following option it is possible to add additional devices. If
# your webcam happens to show above symptoms, try determining your cam's
# vendor and product id via lsusb, activating the line below by removing # and 
# adding it as shown examplatory.
#
# If this fixes your problem, please report it back so we can include the device
# out of the box.
#
#additional_brokenfps_usb_devices=("046d:082b" "aabb:ccdd")

### Additional options to supply to MJPG Streamer for the RasPi Cam
#
# See https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration
# for available options
#
# Defaults to 10fps
#
#camera_raspi_options="-fps 10"

### Configuration of camera HTTP output
#
# Usually you should NOT need to change this at all! Only touch if you
# know what you are doing and what the parameters mean.
#
# Below settings are used in the mjpg-streamer call like this:
#
#   -o "output_http.so -w $camera_http_webroot $camera_http_options"
#
# Current working directory is the mjpg-streamer base directory.
#
#camera_http_webroot="./www-octopi"
#camera_http_options="-n"


Błąd z cawebcamd.log:
Z parametrem -y
logger: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -y -f 10
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 10
 i: Format............: YUYV
 i: JPEG Quality......: 80
 i: TV-Norm...........: DEFAULT
 i: Could not obtain the requested pixelformat: YUYV , driver gave us: JPEG
    ... will try to handle this by checking against supported formats. 
 Init v4L2 failed !! exit fatal 
 i: init_VideoIn failed
 
 Bez parametru -y
 logger: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: -1
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
 i: Could not obtain the requested pixelformat: MJPG , driver gave us: JPEG
    ... will try to handle this by checking against supported formats. 
 Init v4L2 failed !! exit fatal 
 i: init_VideoIn failed
 
dodatkowo:

pi@octopi:~ $ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
        Index       : 0
        Type        : Video Capture
        Pixel Format: 'JPEG' (compressed)
        Name        : JFIF JPEG
                Size: Discrete 160x120
                Size: Discrete 320x240
                Size: Discrete 640x480
// Takie długie cosie to lepiej między znaczniki "code" wrzucać. ;)
// FR
autor: krys
28 cze 2017, 19:44
Forum: Pozostałe
Temat: Octoprint problem z kamerą PK-335
Odpowiedzi: 10
Odsłony: 7205

Octoprint problem z kamerą PK-335

Witam mam problem z kamera https://www.morele.net/kamera-interneto ... 335-59947/ nie mogę jej wg uruchomić czy ktoś z kolegów moze mi pomóc ponieważ nie mam juz pomysłów

Wróć do „Octoprint problem z kamerą PK-335”