rpi4

 

I have downloaded latest Raspbian and flashed it with balenaEtcher tool to SD card. Under Linux it is done by following command:

./balenaEtcher-1.5.56-x64.AppImage

My idea is to have headless system, so I enabled SSH and configured a connection to home WiFi network. To enable SSH we need to create a empty file called shh under following location /boot/ on SD card. To setup WiFi we need to create a file with following name: wpa_supplicant.conf at the same location. Here is template of WiFi configuration file:

country=us
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="NETWORK-NAME"
    psk="NETWORK-PASSWORD"
}

After that we could boot our RPi4 from micro SD card. Now we could log in remotely via SSH with following parameters: pi/raspberry. To achieve better performance I have order a aluminum heat sink for RPi4. Below photos of RPi4 with installed heat sink.

1

2

3

4

5

6

To check temperature difference with/without heat sink I have installed a tool called sysbench and performed a ~10 minutes CPU stress test. It could be done with following command:

sysbench --num-threads=4 --cpu-max-prime=90000 --test=cpu run

Below are results for run without and with heat sink:
x1

x2

x3

x4

With installed heat sink the CPU temperature is around 20 degrees of Celsius less.

 

Below there is description for project which I would like to made with usage of RPi4:

My idea is try to use of RPi4 as streaming device with usage of adaptive bitrate streaming technologies. As source I would like to use a USB dongle with DVB-T which be source of one MUX. The chosen channels will be transcoded e.g. by ffmpeg software. The final data will be segmented and distributed with one of technologies e.g. HLS over HTTP. Below there is diagram for this idea:
stream