Skip to main content

Posts

Showing posts from December, 2017

Stranded video regulation

Video dimensions by video format standard Ensure that the video format of your video source is supported by  Intelligent Video Analytics , and also meets the required video dimensions that are outlined in  Table 2 . Do not operate the analytics outside of these video format dimensions. The actual image size depends on the video format standard (NTSC, PAL, VGA, SVGA, or HD) of the video source. Table 2. Dimensions for each of the supported video format standards Standard CIF 4CIF or HD (NFPS) Width Height Width Height SD NTSC 352 240 704 480 D1 NTSC 360 240 720 480 SD PAL 352 288 704 576 D1 PAL 360 288 720 576 VGA 320 240 640 480 SVGA 400 300 800 600 HD (720p) 320 180 1280 720 HD (1080p) 480 270 1920 1080

VNC Server connection

Setting up your Raspberry Pi VNC Connect is included with Raspbian but you still have to enable it. First, run the following commands to make sure you have the latest version of VNC Server and VNC Viewer: sudo   apt-get   update sudo   apt-get   install   realvnc-vnc-server sudo   apt-get   install   realvnc-vnc-viewer If you’re already using an older version of VNC Server,  restart it . If not, and you’re already booted into the PIXEL desktop, select  Menu > Preferences > Raspberry Pi Configuration > Interfaces  and make sure  VNC  is set to  Enabled . Welcome to RealVNC! Please follow these simple instructions to get started: Download  VNC Connect and install it on the computer you want to control. Sign in to VNC Server using your RealVNC account credentials (email address and password). Download  VNC Viewer to a computer or device you want to control from, and sign in using t...

Raspberry pi Connection Over inter net

https://www.youtube.com/watch?v=iUctV-tqh_M https://www.remot3.it/ Use these instructions ONLY if you are installing remot3.it on a Pi that has no pre-existing Weaved or remot3.it installation. We recommend use of latest Raspbian Jessie version. If you already have Weaved installed on your Pi and also have physical access to it over a LAN or direct keyboard connection then  click here  for the upgrade instructions. If you are are attempting to upgrade a Pi from Weaved to remot3.it ... and your Pi is located across the Internet on a different network you'll need to use the remote upgrade  instructions here . Begin Use your remot3.it account or your existing Weaved account: You can use your existing weaved.com account to login at  https://www.remot3.it 2.1k If you don't have an account at remot3.it or Weaved, then you will need to sign up for a free remot3.it account before running the remot3.it installation.  If you have not already done so, pl...

Modem connection Auto

sudo ./umtskeeper --sakisoperators "USBINTERFACE='0' OTHER='USBMODEM' USBMODEM='12d1:1506' SIM_PIN='1234' APN='gpinternet' CUSTOM_APN='gpinternet' APN_USER='0' APN_PASS='0'" --sakisswitches "--sudo --console" --devicename 'Huawei' --log --nat 'no'

Modem Connection with raspberry py

Aim : Set up the  Raspberry Pi  as a wireless router using the Raspbian OS. The internet connection will be provided by a  Huawei E303  USB 3g dongle on the safaricom network in Kenya, though the setup should be similar on most Huawei dongles and 3g networks. The wireless access point will be provided by an  Edimax Nano USB Wifi adapter . Power Source -------->RPI ----> Powered USB HUB -----> 3g Dongle                                            |                                            |                                          Edimax                       ...

Video Streamming

Have raspbian installed and updated and make sure your camera is enabled (you enable this by running sudo raspi-config and choose Enable Camera) sudo apt-get update sudo apt-get upgrade Install vlc sudo apt-get install vlc Create a script to start the stream with the following content, or run the command (you can't do anything else if you just run the command). sudo nano myscript.sh raspivid -o - -t 0 -hf -w 640 -h 360 -fps 25 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554}' :demux=h264 Make the script runable sudo chmod +x myscript.sh If you want to start the stream automatically you have to add the script to crontab. To make this work I had to make another script runned by cron (OBS! VLC can't be run as sudo so make sure you're in the right cron).  sudo nano myscript2.sh : #!/bin/bash /path/to/myscript.sh Then: sudo chmod +x myscript2.sh crontab -e @reboot /path/to/myscript2.sh To watch the videostream, open VLC on a comput...