

TS
amristyle05
Motion
Selamat siang gan. saya masih newbie di forum ini maaf sebelumnya jka ada kekurangan atau kesalahan dari kata2 saya.
gan saya lagi buat monitoring menggunakan software motion os ubuntu,
di motion untuk port webcam nya dibaca port 8081.
yg menjadi permasalahan yg saya hadapi port 8081 nya g bisa dibuka klo lewat computer klien, tapi klo lewat localhost port 8081 nya bisa dibuka dan bisa melakukan live streaming hasil tangkapan gambar bergerak dari webcam.
dan satu lagi permasalahannya. saya menggunakan 2 webcam untuk webcam bawaan laptopnya bisa dibaca portnya tapi kalo webcam tambahannya g bisa dibaca .
command dari motion nya, seperti dibawah ini.
root@amri:/etc/motion# motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Processing config file /etc/motion/thread1.conf
[0] Unknown config option "on_picture_save:none"
[0] Unknown config option "on_movie_end:none"
[0] Processing config file /etc/motion/thread2.conf
[0] Unknown config option "on_picture_save:none"
[0] Unknown config option "on_movie_end:none"
[0] Unknown config option "
"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784
[0] Thread 1 is from /etc/motion/thread1.conf
[0] Thread 2 is from /etc/motion/thread2.conf
[1] Thread 1 started
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[2] Thread 2 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "1.3M WebCam"
[1] cap.bus_info: "usb-0000:00:1d.0-1.5"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] Selected palette YUYV
[1] Test palette YUYV (352x288)
[1] Adjusting resolution from 352x288 to 320x240.
[1] Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000000
[1] found control 0x00980900, "Brightness", range 0,255
[1] "Brightness", default 118, current 142
[1] found control 0x00980901, "Contrast", range 0,255
[1] "Contrast", default 36, current 36
[1] found control 0x00980902, "Saturation", range 0,255
[1] "Saturation", default 78, current 78
[1] found control 0x00980903, "Hue", range -30,30
[1] "Hue", default 0, current 0
[1] found control 0x00980910, "Gamma", range 1,10
[1] "Gamma", default 8, current 8
[1] mmap information:
[1] frames=4
[1] 0 length=153600
[1] 1 length=153600
[1] 2 length=153600
[1] 3 length=153600
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[2] cap.driver: "uvcvideo"
[2] cap.card: "A4 tech USB2.0 Camera"
[2] cap.bus_info: "usb-0000:00:1d.0-1.2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[2] Unable to query input 1 VIDIOC_ENUMINPUT: Invalid argument
[2] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[2] Could not fetch initial image from camera
[2] Motion continues using width and height from config file(s)
[2] Resizing pre_capture buffer to 1 items
[2] Started stream webcam server in port 8082
[2] Retrying until successful connection with camera
[2] cap.driver: "uvcvideo"
[2] cap.card: "A4 tech USB2.0 Camera"
[2] cap.bus_info: "usb-0000:00:1d.0-1.2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[2] Unable to query input 1 VIDIOC_ENUMINPUT: Invalid argument
[2] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[1] Started stream webcam server in port 8081
[1] File of type 8 saved to: /var/www/amri_monitoring/video/video1/movie/ 2013:10:09---13-35-22.avi
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-22.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-22.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-22.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[2] Retrying until successful connection with camera
[2] cap.driver: "uvcvideo"
[2] cap.card: "A4 tech USB2.0 Camera"
[2] cap.bus_info: "usb-0000:00:1d.0-1.2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[2] Unable to query input 1 VIDIOC_ENUMINPUT: Invalid argument
[2] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
^C[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] Closing video device /dev/video0
[2] Thread exiting
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Motion terminating
mohon bantuannya terima kasih
gan saya lagi buat monitoring menggunakan software motion os ubuntu,
di motion untuk port webcam nya dibaca port 8081.
yg menjadi permasalahan yg saya hadapi port 8081 nya g bisa dibuka klo lewat computer klien, tapi klo lewat localhost port 8081 nya bisa dibuka dan bisa melakukan live streaming hasil tangkapan gambar bergerak dari webcam.
dan satu lagi permasalahannya. saya menggunakan 2 webcam untuk webcam bawaan laptopnya bisa dibaca portnya tapi kalo webcam tambahannya g bisa dibaca .
command dari motion nya, seperti dibawah ini.
root@amri:/etc/motion# motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Processing config file /etc/motion/thread1.conf
[0] Unknown config option "on_picture_save:none"
[0] Unknown config option "on_movie_end:none"
[0] Processing config file /etc/motion/thread2.conf
[0] Unknown config option "on_picture_save:none"
[0] Unknown config option "on_movie_end:none"
[0] Unknown config option "
"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784
[0] Thread 1 is from /etc/motion/thread1.conf
[0] Thread 2 is from /etc/motion/thread2.conf
[1] Thread 1 started
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[2] Thread 2 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "1.3M WebCam"
[1] cap.bus_info: "usb-0000:00:1d.0-1.5"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] Selected palette YUYV
[1] Test palette YUYV (352x288)
[1] Adjusting resolution from 352x288 to 320x240.
[1] Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000000
[1] found control 0x00980900, "Brightness", range 0,255
[1] "Brightness", default 118, current 142
[1] found control 0x00980901, "Contrast", range 0,255
[1] "Contrast", default 36, current 36
[1] found control 0x00980902, "Saturation", range 0,255
[1] "Saturation", default 78, current 78
[1] found control 0x00980903, "Hue", range -30,30
[1] "Hue", default 0, current 0
[1] found control 0x00980910, "Gamma", range 1,10
[1] "Gamma", default 8, current 8
[1] mmap information:
[1] frames=4
[1] 0 length=153600
[1] 1 length=153600
[1] 2 length=153600
[1] 3 length=153600
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[2] cap.driver: "uvcvideo"
[2] cap.card: "A4 tech USB2.0 Camera"
[2] cap.bus_info: "usb-0000:00:1d.0-1.2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[2] Unable to query input 1 VIDIOC_ENUMINPUT: Invalid argument
[2] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[2] Could not fetch initial image from camera
[2] Motion continues using width and height from config file(s)
[2] Resizing pre_capture buffer to 1 items
[2] Started stream webcam server in port 8082
[2] Retrying until successful connection with camera
[2] cap.driver: "uvcvideo"
[2] cap.card: "A4 tech USB2.0 Camera"
[2] cap.bus_info: "usb-0000:00:1d.0-1.2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[2] Unable to query input 1 VIDIOC_ENUMINPUT: Invalid argument
[2] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[1] Started stream webcam server in port 8081
[1] File of type 8 saved to: /var/www/amri_monitoring/video/video1/movie/ 2013:10:09---13-35-22.avi
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-22.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-22.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-22.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-23.jpg
[2] Retrying until successful connection with camera
[2] cap.driver: "uvcvideo"
[2] cap.card: "A4 tech USB2.0 Camera"
[2] cap.bus_info: "usb-0000:00:1d.0-1.2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[2] Unable to query input 1 VIDIOC_ENUMINPUT: Invalid argument
[2] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-34.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-35.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-36.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
^C[1] File of type 1 saved to: /var/www/amri_monitoring/video/video1/jpeg/ 2013:10:09---13-35-37.jpg
[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] Closing video device /dev/video0
[2] Thread exiting
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Motion terminating
mohon bantuannya terima kasih
Polling
0 suara
ubuntu motion


tata604 memberi reputasi
1
1.3K
1


Komentar yang asik ya
Urutan
Terbaru
Terlama


Komentar yang asik ya
Komunitas Pilihan