Raspiaudio+ V2

Das DAC V2 (orange) von Raspiaudio wird nicht mehr vertrieben, stattdessen gibt es jetzt die Variante V3 (blau). Die Installation ist gleich wie bei V2, siehe Forum, in meinem Fall will ich das Videolooper-Setup dokumentieren.
Hier die Auszüge aus der /boot/video_looper.ini, hw_device ist nicht nötig, aber sound = alsa muss eingeschaltet sein.


# ALSA hardware device to use for sound output. This consists of the card
# number and subdevice number separated by a comma, e.g. '1,0'. Run
# 'aplay -l' to list available devices. If empty, the default output device is
# used.
hw_device =
#hw_device = 1,0
...
# Sound output for omxplayer, either hdmi, local, both or alsa. When set to
# hdmi the video sound will be played on the HDMI output, and when set to local
# the sound will be played on the analog audio output. A value of both will
# play sound on both HDMI and the analog output. A value of alsa will play
# sound through ALSA, using the device specified in the [alsa] section above.
# The both value is the default.
#sound = both
#sound = hdmi
#sound = local
sound = alsa

In der /boot/config.txt ist nur der hifiberry-Zusatz wichtig und Onboard-Audio aus.


# Enable audio (loads snd_bcm2835)
# dtparam=audio=on

# dac
dtoverlay=hifiberry-dac

Damit ist Audio über den Miniklinken-Ausgang eingeschaltet.

Player „Universal“ (Audio/Video)

Complete Image (with Button on Pin 11 and 9):
http://rootfriend.com/videolooper-masterimage

Manual (Audio):

1. Connect Speaker or Head-Phones at the Audio-Connector
2. The Loop will start automatically after Power-On (Audio-Files need to be MP4 or M4A)
3. Re-Start the Audio-Loop with the Button on the Front

Manual: (Video)

1. Connect Screen at the HDMI-Connector
2. The Loop will start automatically after Power-On (Video-Files need to be MP4)
3. Re-Start the Video-Loop with the Button on the Front

ArgonPOD-Screen and VideoLooper (Zero 1 W/Zeros 2 W)

ARGON POD Display 2.8 inch

Legacy-Version required: 32-bit-version

Installer-Script:

#!/bin/bash
sudo apt-get update
sudo apt-get install -y git
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD28-show
echo "2.8” RPi Display (MPI2801) ... finished"

Die offizielle Anleitung befindet sich hier: https://cdn.shopify.com/s/files/1/0556/1660/2177/files/ARGON_POD_MANUAL.pdf
Backup

VideoLooper: Timer

Play one file at full hour and change back to normal one („b.mp4“) 🙂
timer.sh

#/bin/bash
mv /home/pi/video/b.mp4 /home/pi/video_off
mv /home/pi/video_off/a.mp4 /home/pi/video
# videoduration a.mp4
sleep 300
mv /home/pi/video/a.mp4 /home/pi/video_off
mv /home/pi/video_off/b.mp4 /home/pi/video

crontab

0 13 * * * /bin/bash /home/pi/timer.sh >> /home/pi/timer.log 2>&1
0 14 * * * /bin/bash /home/pi/timer.sh >> /home/pi/timer.log 2>&1
0 15 * * * /bin/bash /home/pi/timer.sh >> /home/pi/timer.log 2>&1
0 16 * * * /bin/bash /home/pi/timer.sh >> /home/pi/timer.log 2>&1

Videolooper Netvideo: play videos from SMB-Sources

„Netvideo“ ist eine elegante Erweiterung, um Videos nicht von USB-Stick oder dem internen Verzeichnis abzuspielen, sondern über das Netzwerk. Vorteil: jede Änderung in dem Netzwerkverzeichnis wird unmittelbar erkannt und die Datei oder die Dateien werden ganz easy, vom Schreibtisch aus gesteuert, abgespielt. Macht richtig viel Sinn für mittlere und grosse Ausstellungsflächen.
Continue reading „Videolooper Netvideo: play videos from SMB-Sources“

Start/Stop Videolooper

To permanently disable video looper, i.e. to prevent it from ever starting on boot again, you can run a small script included with the video looper code. Connect to the Raspberry Pi in a terminal/SSH session and navigate to the folder where video_looper was downloaded, usualy the directory with this path /home/pi/pi_video_looper.
Continue reading „Start/Stop Videolooper“