motion problems

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
amristyle05
Posts: 8
Joined: 29 Oct 2013, 15:07
Location: Dumai, indonesia
Contact:

motion problems

Postby amristyle05 » 29 Oct 2013, 15:13

gan mohon bantu solusinya saya mengistall motion di ubuntu 12.10 permasalahannya klo saya jalankan sebagai root motionnya bisa berfungsi tapi jika dijalan sebagai user tidak bisa dijalankan kira-kira begini command errornya gan.

Code: Select all

amri@amri:~$ motion [0] Processing thread 0 - config file /home/amri/.motion/motion.conf [0] Motion 3.2.12 Started [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784 [0] Thread 1 is from /home/amri/.motion/motion.conf [1] Thread 1 started [0] motion-httpd/3.2.12 running, accepting connections [0] motion-httpd: waiting for data on port TCP 8080 [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] Test palette YUYV (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 50 [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 [1] bind(): Permission denied [1] Problem enabling stream server in port 81: Permission denied [1] Thread exiting [1] Calling vid_close() from motion_cleanup [1] Closing video device /dev/video0 [0] Motion thread 1 restart [1] Thread 1 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] Test palette YUYV (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 25 [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 [1] bind(): Permission denied [1] Problem enabling stream server in port 81: Permission denied [1] Thread exiting [1] Calling vid_close() from motion_cleanup [1] Closing video device /dev/video0 ^C[0] httpd - Finishing [0] httpd Closing [0] httpd thread exit [0] Motion terminating terima kasih mohon bantuannya
User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Re: motion problems

Postby nif » 29 Oct 2013, 17:12

kayaknya memang butuh permission root.
kalo mau pake user biasa, pake sudo aja om; sudo motion
User avatar
amristyle05
Posts: 8
Joined: 29 Oct 2013, 15:07
Location: Dumai, indonesia
Contact:

Re: motion problems

Postby amristyle05 » 30 Oct 2013, 15:29

terima kasih bisa g menjalankan software motionnya tapi lwat program php?
to ada g script nya . kode script php untuk menjalankan sotwawre lwt terminal di ubuntu.
User avatar
amristyle05
Posts: 8
Joined: 29 Oct 2013, 15:07
Location: Dumai, indonesia
Contact:

Re: motion problems

Postby amristyle05 » 01 Nov 2013, 11:14

gan saya coba ikuti panduan buku apt-id yg dikasi
saya coba install tapi tidak bisa
tampilan command errornya :
root@amri:~# mv apt-id_rev_iv.sh /usr/local/bin/apt-id
mv: cannot stat `apt-id_rev_iv.sh': No such file or directory
root@amri:~#
User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Re: motion problems

Postby nif » 01 Nov 2013, 11:17

gan saya coba ikuti panduan buku apt-id yg dikasi
saya coba install tapi tidak bisa
tampilan command errornya :
root@amri:~# mv apt-id_rev_iv.sh /usr/local/bin/apt-id
mv: cannot stat `apt-id_rev_iv.sh': No such file or directory
root@amri:~#
pindah directory (cd) dulu ke directory tempat Anda meletakkan file apt-id_rev_iv.sh
User avatar
amristyle05
Posts: 8
Joined: 29 Oct 2013, 15:07
Location: Dumai, indonesia
Contact:

Re: motion problems

Postby amristyle05 » 01 Nov 2013, 13:21

sudah masuk ke direktori dimana file apt-id_rev_iv.sh diletakan.
tapi juga g bisa,.
apa ada solusi lain ?
User avatar
amristyle05
Posts: 8
Joined: 29 Oct 2013, 15:07
Location: Dumai, indonesia
Contact:

Re: motion problems

Postby amristyle05 » 01 Nov 2013, 13:27

thanks gan udah ok.

Who is online

Users browsing this forum: No registered users and 5 guests