Skip to content

Raspberry pi zero, 3b+, 4b+, Raspberrian strech/bookwarm/bullseye bash scripts, python files for makeing pictures/videos and streaming to Youtube (3b+ only).

Notifications You must be signed in to change notification settings

YAlmonkari/RaspberryPiStreamingAndPictures3b-4b-zero

Repository files navigation

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.

About

Raspberry pi zero, 3b+, 4b+, Raspberrian strech/bookwarm/bullseye bash scripts, python files for makeing pictures/videos and streaming to Youtube (3b+ only).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published