Page 1

solid waste pollution essay in urdu 05 08

a level general evolution writers notes 05 03

type dissertation hypothesis on criminal record for money 08 18

non experimental ex post facto research paper 05 17


national junior honor society essay leadership styles 05 13

looking for someone to write my essay on elderly people as soon as possible 08 19

widener law admissions 05 09



starblind review of literature 05 14




fluorigard review of literature 05 17


physics isa evolution writers 2 help 05 04


environment essay ielts 05 02

real time information about product movement report 08 21

how to update date in excel sheet 05 13



simple summary of pride and prejudice by jane austen 05 11



meribel snow report december 7 05 14

bamboo evolution writers app download 05 05

software to help write research papers 05 04


mfa in creative writing programs in california 08 20

movie review of the night before 05 12


nickel and dimed book review essay template 05 13

how to buy creative writing on brothels as soon as possible 05 13

in ancient mesopotamia writing was used primarily to 05 04


compare and contrast essay topics 05 02

purchase literature review on abortions as soon as possible 05 13

argumentative research evolution writers bullying 05 05

need someone to make my dissertation chapter on pornography for me 05 11

nursing home care business plan 05 08


apa research evolution writers template word 2020 05 05

how to make a rose with paper dailymotion 05 03

essay why i want to be a surgeon 05 03


lgbt bullying essays 05 15

why is public order necessary essay about myself 05 12


Manhattan campus ​here's a live video stream from my raspberry pi 3 I'm completely wireless and cordless in my setup and I'm standing on my deck so it's shooting the video in almost 720p at 20 frames per second and it's in great quality I'm using the rasp raspberry pi's no IR V to camera it has 8 megapixel of resolution and this is the camera that has night vision so that's why you're going to notice the trees and the water the mountains they don't appear to be realistic in color simply because I'm using a night vision camera to record in daytime but the advantage is that I can use this camera during night time and seen in darkness as well the camera simply just connects to the Raspberry Pi 3 over the camera connector and I'm using a battery pack to power the Raspberry Pi 3 that's how I am cordless in my power supply as well and of course I'm using the wire the Wi-Fi set up to be Wireless and connected in over the network as well in this video I'll show you where I got the hardware products from and it's very inexpensive way to set up live video streaming for yourself I'll go through the configuration setup and any software used to initiate this live video stream and I'm going to walk you through the entire tutorial so here's just some more inside footage to show you guys what it looks like indoors and with that said let's go ahead and get started with the tutorial now you alright guys welcome back so let's get started with this tutorial in which I'm going to show you how you can use the Raspberry Pi nor no IR cam to stream video from the Raspberry Pi to your computer so first of all you're going to need a few things of course you're going to need the Raspberry Pi 3 that I have right over here I've got a new case for my Raspberry Pi 3 I think it keeps it really nice and well protected so I would highly recommend getting a case for it also I have a battery pack that I'm going to be using to power the Raspberry Pi 3 in this tutorial so we can be not just Wireless but also completely cordless and not even have to connect a power source your Raspberry Pi with a cord and we can simply just use the battery to power it and finally we have the Raspberry Pi nor camera and it's the version v2 so it's 8 megapixel and it can shoot in 1080p quality I'm going to show you guys the website where I got these items from so first of all here's the Raspberry Pi no IR camera module v2 it megapixel I got this from Amazon it's about 25 bucks and the battery pack I also got that from Amazon and it's it's from I flash it's has a 3000 milliamp hour capacity so it's been working out really well for me so far and I would recommend it it's about 12 bucks ok so now let's get back to our hardware and go ahead and connect up all the different pieces that we have so first I'm going to open up the Raspberry Pi 3 case here ok and now what you want to do is plug in the camera module into the Raspberry Pi 3 so since I'm using a case I'm going to make sure that I pass this cable through the case first and make sure that the blue portion of the Raspberry Pi camera is going to face the ethernet port over here so the silver portion is going to face that way and the blue port is going to face the Ethernet port and it's going to go into this connector right over here so first I have to open it up so just stop pull on it slightly on from the sides over here and it should open up okay so it's open now and now you just want to go ahead and tuck in the connector and then we can latch it into position okay so just to double-check you can pull on it a little bit and make sure that it's a tightly placed in position and it shouldn't be moving around at all okay so that's in place and I'm going to go ahead and put the cover back on okay so our camera module is now connected into the Raspberry Pi 3 now what I have to do is just simply plug in the battery pack into the microUSB port and power it on so for this one it comes with the USB port for charging so you just plug it into a computer's USB port to charge the battery and then the other side has the micro USB port that you can just plug into the Raspberry Pi 3 to power it on so I'm going to go ahead and do that now okay so the Raspberry Pi 3 is now being powered on through the battery pack and I have the camera connected all right so now before we move forward make sure you guys I watched my previous tutorial on how to setup your Raspberry Pi 3 with a Wi-Fi IP address that's static so that's exactly what we're going to use now to go ahead and login to the Raspberry Pi 3 so I'll put a link to that video right over here make sure you've checked it out before you go ahead and try to login to the Raspberry Pi 3 now since that I've already configured the IP address on my Raspberry Pi 3 I'm just going to go ahead and SSH into it okay so now we're logged into the Raspberry Pi 3 now the steps that you're going to see come up in the tutorial at this point there's already another video that covers these different steps and I'll simply just kind of built on top of that previous video so I'll go ahead and put a link to that video by Centex and that was very helpful to me so I'll put a link to that in the option below and you guys can check that out check that out as well but basically I've built this video as used by using that previous video by Centex as a base so let's go ahead and get started now one thing you're going to want to do is go ahead and configure the raspberry pi 3 to enable the camera interface so to do that we're going to go ahead and type in sudo rasp I - config and hit enter go ahead and enter the sudo password

okay so you're gonna notice this GUI interface come up just scroll down to number six which is enable camera and hit enter and it's going to ask you would you like to enable the camera interface and just go ahead and say yes and it's going to enable the camera interface for you and then you can scroll back down and head over to finish just go ahead and hit enter so now the camera interface should be enabled on the Raspberry Pi 3 the next thing we're going to do is go ahead and install the VLC player on the Raspberry Pi 3 so it sort of do that you just go ahead and type sudo apt get install VLC and I've already installed VLC on my Raspberry Pi 3 so it's going to tell me that I'm already at the latest version but if you don't already have it installed and go ahead and install it on their own your Raspberry Pi 3 also you want to make sure that you've installed VLC on your host computer that you're going to be using to look at the video as it's being streamed over Wi-Fi so in my case it happens to be my Mac computer and I do have VLC already installed on my computer so if you don't already have that make sure you install VLC on your host machine as well ok now the next thing we're going to do is now there's this one particular command that we have to run on the Raspberry Pi before VLC can actually be commended to start using the images or the video stream from the camera and broadcast it over a Wi-Fi stream so it's really just one big command and I'm going to show you what that command is and again I got this command from the video by Centex so I want to go ahead and give him the credit for it but what I've done is I've actually put that command into into a file and the file over here is the vid stream file so let me go ahead and open that file for for you guys okay so that's it that's the command right there it's going to be a rasp I vid space - oh space - space - t0 - HF - VFW 1088 768 - FPS 20 and we're going to pipe that to see VLC - vvv stream colon colon slash slash slash dev slash STD in - space - - s out space single quote and standard access HTTP mocks TS destination is port number 80 160 and D MUX is set to h.264 so basically what this tells what does the command does is it first of all uses Raspberry Pi bit command to go ahead and start video capture with 0 0 delay and it's going to flip the image vertically and horizontally with the width size of 1080 and height size of 10 768 and the frames per second is set to 20 and we're going to go ahead and pipe the output of Raspberry Pi vid into VLC and we're going to tell VLC to go ahead and start streaming the data that's coming in into the 80 160 port on the raspberry PI's IP address and the output file format is going to be encoded in h.264 so that's what this command does and the advantage of putting this command into a file is that every time I want to run it I just simply have to go ahead and execute the file so one thing you want to make sure is once you've created this file you give it the execution permission so to do that it's you can simply just run chmod 777 and then the name of the file and that's going to go ahead and make sure that the file is read right and executable by everyone so make sure you go ahead and do that and once you've done that you simply just go ahead and run the file so you do dot slash good - strm and you're going to see a whole bunch of messages come out and that's normal that's great so once that's up and running then what you need to do is go into your VLC player that you've installed on your computer and on the Mac you just go to file and open Network and I think on Windows you may have to do just open network stream but once you open it up it's going to ask you to input the URL so the URL is going to be for us HTTP HTTP colon slash slash then the IP address of your Raspberry Pi 3 so in my case it's 90 and then colon port number and the port number for us is 80 160 which is what we specified in the Raspberry Pi 8 command and just go ahead and hit enter and double click on the on the URL over here and it's simply going to go ahead and pull up the video stream for you right over here so as you can see that's exactly what my camera is looking at right now and you're going to see about a three to four second delay between the camera between what the camera is looking at and when you see it on the screen so that's just because it's being streamed over Wi-Fi but the quality is great and I really like this camera and the streaming service that is coming up over here for us so that's about it for this video actually now before I go I'm going to share with you one more thing one more really cool thing you can do with with the setup is you can actually program your Raspberry Pi 3 to start the streaming service automatically when it boots up so basically I would never have to go ahead and log into the terminal to tell the Raspberry Pi to start streaming I've already configured my RC - local file to go ahead and run this one file on boot-up so every time I plug in the battery the camera automatically starts streaming the video over Wi-Fi and all I have to do is just go to my laptop and just click on the URL or plug the URL and URL and vietze in VLC and I can just see the video stream come through so to do that yeah all you need to do is just go ahead and open this one file and you do need to have sudo access to do this so you type in sudo space VI / ET c /r c da local and go in and hit enter okay and then right after this portion red says print the IP address before exit zero just go ahead and add these two commands oh this one command slash bin slash chmod space a + RW / dev slash b CH IQ this is something that you may need to do as well if you get some kind of a slash dev or devices not exist some something like that if you see that kind of an error you're going to need to run this command so for my case that did happen so I went out and put this command in and then the camera works just fine so you may have to add this one in as well but the other command that starts the streaming service automatically and boot up is this one right here so you

want to go ahead and use switch user su space - L and then the user name so whatever user name you want to run this under so I just go ahead and use my user name and then you say then you say that C and then double quotes the location of the vid - STR M file which is holding the Raspberry Pi vid and VLC command and close your double quotes and n % to make sure this runs in background so that's it once you've ensured that in just go ahead and hit escape and hit : WQ to save and quit out of the file and you're ready to now go ahead and power off the Raspberry Pi and the next time you power on it's simply just going to be ready to stream and it's going to be streaming those images you just pull up VLC and you're ready to go so I'm going to go ahead and demonstrate that to you guys actually so let me just go ahead and exit out of my ssh command window here and then I'm going to just power off the Raspberry Pi over here by just plugging the battery out okay so now the Raspberry Pi 3 is powered off I'm going to go ahead and power it back on and I'm not going to do any more configuration on it I'm just going to go ahead and power the Raspberry Pi okay it should be booting up now and I'll give it about you know thirty seconds or so for it to boot up but after 30 seconds I should simply be able to double-click on the URL in VLC and I should see the video coming through over Wi-Fi okay so let's go ahead and give it a try and I've just double clicked on this and there you go you can see the video stream is back up and online so I don't have to do any more configuration I just had to go ahead and power my Raspberry Pi camera so that's it for this video if you guys enjoyed it make sure to give it a thumbs up and subscribe if you want to see more videos like this in the future also check out our website ER embedded comm where we offer a free course on how you can get started with development on an embedded Linux platform and be sure to check us out on Facebook as well where we post all of our tutorials online and it's a great way to keep up with our content as well so thanks again for watching and I'll see you guys next time Monroe Community College.