SlideShare a Scribd company logo
1 of 19
RASPBERRY PI JAM
Setup Raspberry Pi as CCTV client
Who am I?
• Name : Jon Ho
• Occupation : Simcard OneXOX seller
– Buy my prepaid card and top up RM 50, and you
get 2 years validity, FOR FREEEEEEE!
• Part Time : Freelancer/Maker
• Some Time : Busker/Farmer/Fisherman
CCTV
RM1,020 vs RM1,980
RECIPE
• Hardware
– 1 Command & Control Windows PC
– Nth number of client Pi Camera
• Software
– Raspbian Jessie on Raspberry Pi
– Raspivid
www.raspberrypi.org/documentation/raspbian/applications/camera.md
– Zenmap, Mplayer on Windows PC
Linux Streaming
• VLC
– Slowest
– Easiest to set up
• Gstreamer
– So-so speed
– Complex to set up
• Netcat
– Fastest!
– No setup needed! Runs out of the box!
gator
What you need
• 1: Raspberry Pi 3
What you need (cont)
• 2: Pi Camera Module (Noir)
What you need (cont)
• 3: PC/Laptop Windows with zenmap/ncat (for
network streaming stuff) and mplayer (for
video stuff) installed
– Both are opensource and freeeeee
Step 1: setup the C&C
• First, find out your C&C PC’s ip
– Open a terminal in windows and run ipconfig
– Remember the ip, this is what your raspi will
connect to
Step 1: setup the C&C (Cont)
• Second, in the same terminal, run ncat to pipe
the stream to mplayer
– C:Usersjon>ncat -l -p 2222 | "C:Program Files (x86)MPlayer for
Windowsmplayer.exe" -fps 200 -demuxer h264es –
– The -demuxer h264es arguments decode the stream into mpeg 4
Step 2: setup the pi camera
• Setup Camera
– There are tons of tutorials of how to setup pi camera, so I will not
cover that. Just make sure it looks something like below.
– Also if possible, try to get an enclosure for the raspi camera. You don’t
want it to die every time somebody sneezes at it
Step 2: setup the pi camera (cont)
• Test Camera by running this command in the
terminal
– raspivid -o heuheuheu.h264 -t 10000
– omxplayer heuheuheu.h264
Step 3: profit!
• Now put it all together by running this command
on the raspi camera
– raspivid -t 0 -w 1280 -h 720 -hf -ih -fps 20 -o - | nc 192.168.1.4 -k -l -p
2222
The –t 0 argument means raspivid will basically run forever
streamed on port 2222
It’s alive!
• It’s working!
Bonus Points
• SOUND
– The demo had no sound, due to lack of usb mic. It
can stream sound. Try it out as homework.
• NETWORK SPEED
– For best live action speed, use a wireless router
that can transmit on the 5GHz band. 2000++
Mbps means no lag whatsoever!
Bonus Points (cont)
• MULTIPLEXING CAMERA
– It is possible to multiplex the camera, although
stability issue may arise.
To learn more
• Raspivid
– www.raspberrypi.org/documentation/raspbian/ap
plications/camera.md
• Netcat
– www.binarytides.com/netcat-tutorial-for-
beginners/
DONATE
• If you think this is cool beans and would like to send free money
so I don’t starve to death and keep making stuff like this, send it
here:
BITCOIN
1GhVoWnYq21mDEC6nSn2WZkuoPMAAarJrk
LITECOIN
LS1N3L34feg7GwwLWmcTqsmzfoUtzSMME6

More Related Content

What's hot

Digital Watchdog DWC-MPTZ20XFM Data Sheet
Digital Watchdog DWC-MPTZ20XFM Data SheetDigital Watchdog DWC-MPTZ20XFM Data Sheet
Digital Watchdog DWC-MPTZ20XFM Data SheetJMAC Supply
 
EX-SDI DVR English Version
EX-SDI DVR English VersionEX-SDI DVR English Version
EX-SDI DVR English VersionMicheal S.
 
Hybrid DVR software working with all Hikvision
Hybrid DVR software working with all Hikvision Hybrid DVR software working with all Hikvision
Hybrid DVR software working with all Hikvision linovision
 
Mp3 watch camera watch mp3 dvr 4 gb
Mp3 watch camera watch mp3 dvr 4 gbMp3 watch camera watch mp3 dvr 4 gb
Mp3 watch camera watch mp3 dvr 4 gbgeorge david
 
oasis_one_specs
oasis_one_specsoasis_one_specs
oasis_one_specsIurii Favi
 
Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"
Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"
Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"Defcon Moscow
 
Introduction of Plasma Chamber at EDCON 2019
Introduction of Plasma Chamber at EDCON 2019 Introduction of Plasma Chamber at EDCON 2019
Introduction of Plasma Chamber at EDCON 2019 YurikoNishijima
 
Workshop Raspberry Pi NAS with Windows Share
Workshop Raspberry Pi NAS with Windows ShareWorkshop Raspberry Pi NAS with Windows Share
Workshop Raspberry Pi NAS with Windows ShareMichael Plate
 

What's hot (12)

Recent OBS Updates
Recent OBS UpdatesRecent OBS Updates
Recent OBS Updates
 
Polstra 44con2012
Polstra 44con2012Polstra 44con2012
Polstra 44con2012
 
Digital Watchdog DWC-MPTZ20XFM Data Sheet
Digital Watchdog DWC-MPTZ20XFM Data SheetDigital Watchdog DWC-MPTZ20XFM Data Sheet
Digital Watchdog DWC-MPTZ20XFM Data Sheet
 
Plus tv box
Plus tv boxPlus tv box
Plus tv box
 
EX-SDI DVR English Version
EX-SDI DVR English VersionEX-SDI DVR English Version
EX-SDI DVR English Version
 
Hybrid DVR software working with all Hikvision
Hybrid DVR software working with all Hikvision Hybrid DVR software working with all Hikvision
Hybrid DVR software working with all Hikvision
 
OBS Video filters
OBS Video filtersOBS Video filters
OBS Video filters
 
Mp3 watch camera watch mp3 dvr 4 gb
Mp3 watch camera watch mp3 dvr 4 gbMp3 watch camera watch mp3 dvr 4 gb
Mp3 watch camera watch mp3 dvr 4 gb
 
oasis_one_specs
oasis_one_specsoasis_one_specs
oasis_one_specs
 
Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"
Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"
Defcon Moscow #0x0A - Oleg Kupreev "Uncommon MiTM in uncommon conditions"
 
Introduction of Plasma Chamber at EDCON 2019
Introduction of Plasma Chamber at EDCON 2019 Introduction of Plasma Chamber at EDCON 2019
Introduction of Plasma Chamber at EDCON 2019
 
Workshop Raspberry Pi NAS with Windows Share
Workshop Raspberry Pi NAS with Windows ShareWorkshop Raspberry Pi NAS with Windows Share
Workshop Raspberry Pi NAS with Windows Share
 

Viewers also liked

Raspberry pi jam
Raspberry pi jamRaspberry pi jam
Raspberry pi jamJon Ho
 
Embedded Systems: Lecture 9: The Pi Control ARM
Embedded Systems: Lecture 9: The Pi Control ARMEmbedded Systems: Lecture 9: The Pi Control ARM
Embedded Systems: Lecture 9: The Pi Control ARMAhmed El-Arabawy
 
Embedded Systems: Lecture 8: The Raspberry Pi as a Linux Box
Embedded Systems: Lecture 8: The Raspberry Pi as a Linux BoxEmbedded Systems: Lecture 8: The Raspberry Pi as a Linux Box
Embedded Systems: Lecture 8: The Raspberry Pi as a Linux BoxAhmed El-Arabawy
 
EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])
EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])
EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])EdTech Europe
 
EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]
EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]
EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]EdTech Europe
 
Single Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi BasicsSingle Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi BasicsEueung Mulyana
 
Raspberry Pi Using Python
Raspberry Pi Using PythonRaspberry Pi Using Python
Raspberry Pi Using PythonSeggy Segaran
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry PiLentin Joseph
 
Raspberry pi : an introduction
Raspberry pi : an introductionRaspberry pi : an introduction
Raspberry pi : an introductionLTG Oxford
 
Where do smater students study
Where do smater students studyWhere do smater students study
Where do smater students studystatisense
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017LinkedIn
 

Viewers also liked (14)

Raspberry pi jam
Raspberry pi jamRaspberry pi jam
Raspberry pi jam
 
Embedded Systems: Lecture 9: The Pi Control ARM
Embedded Systems: Lecture 9: The Pi Control ARMEmbedded Systems: Lecture 9: The Pi Control ARM
Embedded Systems: Lecture 9: The Pi Control ARM
 
Embedded Systems: Lecture 8: The Raspberry Pi as a Linux Box
Embedded Systems: Lecture 8: The Raspberry Pi as a Linux BoxEmbedded Systems: Lecture 8: The Raspberry Pi as a Linux Box
Embedded Systems: Lecture 8: The Raspberry Pi as a Linux Box
 
EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])
EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])
EdTech Europe 2015 [Track 3]: [Pi-Top], ([Jesse Lozano], [CEO])
 
EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]
EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]
EdTech Europe 2015 [Track 3]: [Mobile Taleem], [Ahmereen Reza]
 
Single Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi BasicsSingle Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi Basics
 
Raspberry Pi Using Python
Raspberry Pi Using PythonRaspberry Pi Using Python
Raspberry Pi Using Python
 
Rasberry pi
 Rasberry pi Rasberry pi
Rasberry pi
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Raspberry pi : an introduction
Raspberry pi : an introductionRaspberry pi : an introduction
Raspberry pi : an introduction
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Where do smater students study
Where do smater students studyWhere do smater students study
Where do smater students study
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017
 
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 

Similar to Raspberry pi jam july

Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PIKrishna Kumar
 
Raspberry Pi Introduction
Raspberry Pi IntroductionRaspberry Pi Introduction
Raspberry Pi IntroductionMichal Sedlak
 
Configuring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev EnvironmentConfiguring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev EnvironmentCarole Bennett
 
Raspberry pi : how to get started
Raspberry pi : how to get startedRaspberry pi : how to get started
Raspberry pi : how to get started동호 손
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshTE4P
 
Build the internet of things with Raspberry Pi!
Build the internet of things with Raspberry Pi!Build the internet of things with Raspberry Pi!
Build the internet of things with Raspberry Pi!Donald Derek Haddad
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi TechnologyRavi Basil
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry piHusainBhaldar21
 
Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016Sebin Benjamin
 
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdfJayanthi Kannan MK
 
raspberry pi (generalised)
 raspberry pi (generalised) raspberry pi (generalised)
raspberry pi (generalised)Amit Dwivedi
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt SOMRAJ GAUTAM
 
Raspberry Pi and Amateur Radio
Raspberry Pi and Amateur RadioRaspberry Pi and Amateur Radio
Raspberry Pi and Amateur RadioKevin Hooke
 

Similar to Raspberry pi jam july (20)

Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PI
 
Raspberry Pi Introduction
Raspberry Pi IntroductionRaspberry Pi Introduction
Raspberry Pi Introduction
 
Configuring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev EnvironmentConfiguring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev Environment
 
Raspberry pi complete setup
Raspberry pi complete setupRaspberry pi complete setup
Raspberry pi complete setup
 
IoT evolution
IoT evolutionIoT evolution
IoT evolution
 
Raspberry pi : how to get started
Raspberry pi : how to get startedRaspberry pi : how to get started
Raspberry pi : how to get started
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
 
Raspberry pi basics
Raspberry pi  basicsRaspberry pi  basics
Raspberry pi basics
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Build the internet of things with Raspberry Pi!
Build the internet of things with Raspberry Pi!Build the internet of things with Raspberry Pi!
Build the internet of things with Raspberry Pi!
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi Technology
 
Feature satip4
Feature satip4Feature satip4
Feature satip4
 
Presentazione
PresentazionePresentazione
Presentazione
 
Musiconlinux
MusiconlinuxMusiconlinux
Musiconlinux
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016
 
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
 
raspberry pi (generalised)
 raspberry pi (generalised) raspberry pi (generalised)
raspberry pi (generalised)
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt
 
Raspberry Pi and Amateur Radio
Raspberry Pi and Amateur RadioRaspberry Pi and Amateur Radio
Raspberry Pi and Amateur Radio
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 

Raspberry pi jam july

  • 1. RASPBERRY PI JAM Setup Raspberry Pi as CCTV client
  • 2. Who am I? • Name : Jon Ho • Occupation : Simcard OneXOX seller – Buy my prepaid card and top up RM 50, and you get 2 years validity, FOR FREEEEEEE! • Part Time : Freelancer/Maker • Some Time : Busker/Farmer/Fisherman
  • 4. RECIPE • Hardware – 1 Command & Control Windows PC – Nth number of client Pi Camera • Software – Raspbian Jessie on Raspberry Pi – Raspivid www.raspberrypi.org/documentation/raspbian/applications/camera.md – Zenmap, Mplayer on Windows PC
  • 5. Linux Streaming • VLC – Slowest – Easiest to set up • Gstreamer – So-so speed – Complex to set up • Netcat – Fastest! – No setup needed! Runs out of the box!
  • 7. What you need • 1: Raspberry Pi 3
  • 8. What you need (cont) • 2: Pi Camera Module (Noir)
  • 9. What you need (cont) • 3: PC/Laptop Windows with zenmap/ncat (for network streaming stuff) and mplayer (for video stuff) installed – Both are opensource and freeeeee
  • 10. Step 1: setup the C&C • First, find out your C&C PC’s ip – Open a terminal in windows and run ipconfig – Remember the ip, this is what your raspi will connect to
  • 11. Step 1: setup the C&C (Cont) • Second, in the same terminal, run ncat to pipe the stream to mplayer – C:Usersjon>ncat -l -p 2222 | "C:Program Files (x86)MPlayer for Windowsmplayer.exe" -fps 200 -demuxer h264es – – The -demuxer h264es arguments decode the stream into mpeg 4
  • 12. Step 2: setup the pi camera • Setup Camera – There are tons of tutorials of how to setup pi camera, so I will not cover that. Just make sure it looks something like below. – Also if possible, try to get an enclosure for the raspi camera. You don’t want it to die every time somebody sneezes at it
  • 13. Step 2: setup the pi camera (cont) • Test Camera by running this command in the terminal – raspivid -o heuheuheu.h264 -t 10000 – omxplayer heuheuheu.h264
  • 14. Step 3: profit! • Now put it all together by running this command on the raspi camera – raspivid -t 0 -w 1280 -h 720 -hf -ih -fps 20 -o - | nc 192.168.1.4 -k -l -p 2222 The –t 0 argument means raspivid will basically run forever streamed on port 2222
  • 16. Bonus Points • SOUND – The demo had no sound, due to lack of usb mic. It can stream sound. Try it out as homework. • NETWORK SPEED – For best live action speed, use a wireless router that can transmit on the 5GHz band. 2000++ Mbps means no lag whatsoever!
  • 17. Bonus Points (cont) • MULTIPLEXING CAMERA – It is possible to multiplex the camera, although stability issue may arise.
  • 18. To learn more • Raspivid – www.raspberrypi.org/documentation/raspbian/ap plications/camera.md • Netcat – www.binarytides.com/netcat-tutorial-for- beginners/
  • 19. DONATE • If you think this is cool beans and would like to send free money so I don’t starve to death and keep making stuff like this, send it here: BITCOIN 1GhVoWnYq21mDEC6nSn2WZkuoPMAAarJrk LITECOIN LS1N3L34feg7GwwLWmcTqsmzfoUtzSMME6