Skip to content

Latest commit

 

History

History
22 lines (22 loc) · 2.04 KB

File metadata and controls

22 lines (22 loc) · 2.04 KB

To clone use "git clone https://github.com/YAlmonkari/RaspberryPiStreamingAndPictures3b-4b-zero".

Bash scripts

This repository consists of 6 bash script files for:
-makeing pictures with a Raspberry pi zero, 3b+
-recording videos in Full HD - zero, 3b+
-streaming to Youtube with and without sound - Raspberry pi 3b+
Here is a sample video from that streaming. (Made with a official raspberry pi camera module and a usb sound card)
with a raspberrian strech and a copy of a ffmpeg installed. Additional setup link.
In order to run them (./file.sh) you have to make them executable by typing: chmod +x file.sh
2 addisonal files are for takeing Black and White pictures and videos with a raspberry pi 4b+ and a HQ Camera module. Files don't display preview when executed.

In the picture we got a PiHut HQ Camera Mount aviable at ThePiHut web page, a HQ Camera Module, a Raspberry Pi 4b+ and a Touch Screen. The pinhole is a RealitySoSubtle laser drilled 0.1mm pinhole.

Here is the optional setup (without the HQ Camera module) for recording with sound but in my expierience the video got bit choppy sometimes and the sound would disappear or go out of sync.
Probably I need some help with it.
Here is a video recorded with that setup.

Phyton files

PythonPrerviewCamera.py - previews for 5s. and takes a picture.
Works with a Raspberry Pi OS Bullseye and a picamera python module (That is by defoult installed, if not use: "sudo apt-get install python-picamera" or "pip install picamera". After system up date - "sudo apt-get update" and "sudo apt-get upgrade")
PythonPreviewVideo.py - previews till enter is presed, renders .mp4 file and removes the .h264 file.
To run these type: "python3 file_name.py"
6sExposure.py - takes a 6s. exposure.