Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 3952|Reply: 3

Orangepi-PC OPI-PC Camera live stream with Logitech c270 webcam

[Copy link]

13

Threads

77

Posts

442

Credits

Intermediate member

Rank: 3Rank: 3

Credits
442
Post time 2016-1-16 01:08:18 | Show all posts |Read mode
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



  1. sudo apt-get update
Copy the Code

  1. sudo apt-get install motion
Copy the Code
  1. sudo nano /etc/motion/motion.conf
Copy the Code

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
  1. sudo nano /etc/default/motion
Copy the Code
chnage it to yes

  1. start_motion_daemon=yes
Copy the Code
rebootthen run the code to start the service
  1. sudo /etc/init.d/motion start
Copy the Code

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



22

Threads

266

Posts

1744

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
1744
Post time 2016-4-27 14:26:54 | Show all posts
Thanks for your share!

0

Threads

4

Posts

20

Credits

Novice

Rank: 1

Credits
20
Post time 6 day(s) ago | Show all posts
Really useful for my live stream camera. Thanks!

4

Threads

19

Posts

204

Credits

Intermediate member

Rank: 3Rank: 3

Credits
204
Post time 3 day(s) ago | Show all posts
Thank you, I'll give it a try...
3 Opi Zero, 4 OPi One, 1 OPi Plus, 1 OPi PC 2
3 RPi 3, 1 RPi 2
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2017-6-28 22:13 GMT+8 , Processed in 0.026524 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list