login|Register
Forum > Camera board
Post|
看23506|回4|Favorite
Manjup 看全部
2016-1-16 01:08:18
Edited by Manjup at 2016-1-16 01:14

I have sucessefully setup a live stream with webcam using motion.
The webcam i have used is Logitech C270


code:


  1. sudo apt-get update

code:

  1. sudo apt-get install motion

code:

  1. sudo nano /etc/motion/motion.conf

change the following only
width 1280
height 720
framerate 30

threshold to 1500000 to stop motion detection other wise leave as it is

target_dir /home/orangepi/motion

stream_localhost off
port 8081 or your choice
after that

code:

  1. sudo nano /etc/default/motion
chnage it to yes

code:

  1. start_motion_daemon=yes
rebootthen run the code to start the service

code:

  1. sudo /etc/init.d/motion start

the view the stream type the following the browser.

http://orange_pi_ip address:8081
the actual will look like
http://192.168.3.198:8081 in my case



admin 看全部
2016-4-27 14:26:54
Thanks for your share!
seanmiller 看全部
2017-6-22 09:10:15
Really useful for my live stream camera. Thanks!
bozden 看全部
2017-6-25 09:38:46
Thank you, I'll give it a try...
ASDqwelk 看全部
2020-1-7 16:10:09
想要让胸部变大的一个重要的物理方法就是进行乳房按摩丰胸产品,经常用双手揉摸自己胸前的乳房,妈妈们可以发现这样可以显著地改善乳房的血液循环来增大乳房丰胸效果,并且把多余的脂肪排出。其次,女性成功瘦身而且丰胸的原理则在于木瓜酶的作用,一般来说,多吃木瓜丰胸方法,也有利于乳房的变大,因为木瓜酶能够促进乳腺发育,刺激女性的荷尔蒙,从而达到丰胸的目的产后丰胸

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC