Category: Pi Stuff
-
Minimal kiosk
Steps: Install the lite version of raspbian and make it boot to console with autoogin. Next edit /home/pi/.bash_profile to automatically start the gui. There’s a check for the bash context first, so you don’t accidentally start chromium whenever you ssh in. This below may not be needed. The last bit is to setup /home/pi/.xinitrc to run chromium whenever you…
-
omxplayer to stream
omxplayer “rstp://user:pass@host:port/path/subpath” –avdict rtsp_transport:tcp –no-osd –live –with-info –stats;
-
Cross Compiling From Linux to Raspberry PI
Pre-requirements Before you start you need to make sure the following is installed: apt-get install git rsync cmake libc6-i386 lib32z1 lib32stdc++6 Let’s cross compile a Pie! Start with making a folder in your home directory called raspberrypi. Go in to this folder and pull down the ENTIRE tools folder you mentioned above: git clone https://github.com/raspberrypi/tools.git…
-
How to clone Raspberry Pi SD Card on Linux and shrink it to actual size
This is a copy past from another person you can find the original blog here: https://ep.gnt.md/index.php/how-to-clone-raspberry-pi-sd-card-on-linux-and-shrink-it-to-actual-size/I am making a copy here is I can find it easy and in case the original disappear of the web. On Linux you can use dd to make a backup from SD card. Reverse if and of (i.e. to where they point – source and…
-
Kernel Module
Real time interrupts and operating systems are not generally compatible. For operating systems it is needed to poll the pin which one is willing to work as an interrupt but this is not real time and generally speaking is not very CPU deficient. For this purpose a Kernel module can be inserted which can handle…
-
Compiling RaspiVid Only
To build raspivid and only raspivid then the following command should do it (assuming your repo (https://github.com/raspberrypi/userland.git) clone is in ~/userland): gcc -o myraspivid RaspiVid.c RaspiCamControl.c RaspiPreview.c RaspiCLI.c \ -I$HOME/userland -I$HOME/userland/host_applications/linux/libs/bcm_host/include \ -L/opt/vc/lib -lbcm_host -lvcos -lpthread -lmmal_core -lmmal_util -lmmal_vc_client
-
Streaming Video from raspberry PI
tested with RasPi 3B with Raspbian Jessie, IPv4 address 192.168.2.104 Ubuntu 16.04 client, IPv4 address 192.168.2.108 raspivid options used: option explanation -pf baseline use baseline profile (no B-frames) which reduces delay -b 1000000 bitrate (1MBit/s) -g 30 GOP (group of pictures) size of 30, i.e. send an I-frame every second -ih inline headers: send SPS…