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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 4479|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



26

Threads

293

Posts

1878

Credits

Administrator

Rank: 9Rank: 9Rank: 9

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

0

Threads

5

Posts

24

Credits

Novice

Rank: 1

Credits
24
Post time 2017-6-22 09:10:15 | Show all posts
Really useful for my live stream camera. Thanks!

6

Threads

26

Posts

318

Credits

Intermediate member

Rank: 3Rank: 3

Credits
318
Post time 2017-6-25 09:38:46 | Show all posts
Thank you, I'll give it a try...
OPi's: 3 Zero, 4 One, 1 Plus, 1 PC2, 1 cam
OPi on transit: 1 One, 1 2G-IOT, 1 2G IOT Touch LCD
3 RPi 3, 1 RPi 2, 3 RPi cam
You have to log in before you can reply Login | Register

Points Rules

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

2017-8-23 04:39 GMT+8 , Processed in 0.029568 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list