Stian Remvik Datagrafikk

Audio file and video simultaneously

If you need to play an audio file and a video file simultaneously at boot, you can do it with a hello_video program for the video and a looping script for the audio. This method will NOT make them run in sync. There are several ways of making them start at boot, but the way I made it work was by starting the hello video program first with ‘/etc/rc.local’. (I also added ‘setterm’ to hide the console behind the video):

$ sudo nano /etc/rc.local

Then add this at the bottom (replace with your own directory with the program files):

setterm -cursor off
setterm -blank force
cd /home/pi/audioVideo/
./hello_video.bin test.h264

Then started the audio file with cron:

$ sudo crontab -e

Then added this line at the bottom:

@reboot cd /home/pi/audioVideo/ && ./audioloop.sh
«Harmonic Connection», 2017 interactive installation
«Words Images Thought Objects», by Vilde Salhus Røed.
Mobile art app
«BITWaves2» mobile app
«Neightbours», 2014 installation
«Late into that night, and all the following nights»,
2013 installation by Asbjørn Hollerud
«Bergen Reads», 2013 interactive installation
«Cubes», 2013 animation
«Hush!», 2011 interactive installation
«The Sound of Pictures», 2010 installation
«The Mask», 2008 animation
secret