Page 1 of 1

Mintypi startup video

Posted: Mon Sep 24, 2018 4:08 pm
by Wailer
Edit: I probably should have posted this in the mintypi help forum, sorry for that :oops:

A quick question, is it possible to replace/edit/disable the mintypi/sudomod video that plays at startup.
When i enable the splash screen through the splash menu i get two videos playing at the same time, the one i choose myself and the mintypi one (sometimes even locking up the boot).
20180925_000152.jpg
20180925_000152.jpg (1.75 MiB) Viewed 4522 times

Re: Mintypi startup video

Posted: Sat Sep 29, 2018 12:17 pm
by Wailer
Nevermind figured it out myself, it is in the /home/pi/mintyPi/minty-startup.sh script

Code: Select all

sleep 5s
omxplayer -o alsa -b --layer 10000 "/home/pi/mintyPi/minty-splash.mp4" &
sleep 25s
sudo pkill omxplayer

Re: Mintypi startup video

Posted: Tue Oct 02, 2018 3:56 am
by klotzii
What did you write into this file to deactivate the video?

Re: Mintypi startup video

Posted: Tue Oct 02, 2018 4:16 am
by Wailer
klotzii wrote:
Tue Oct 02, 2018 3:56 am
What did you write into this file to deactivate the video?
You can remove this lines in the script:

Code: Select all

sleep 5s
omxplayer -o alsa -b --layer 10000 "/home/pi/mintyPi/minty-splash.mp4" &
sleep 25s
sudo pkill omxplayer
Or better comment them out:

Code: Select all

#sleep 5s
#omxplayer -o alsa -b --layer 10000 "/home/pi/mintyPi/minty-splash.mp4" &
#sleep 25s
#sudo pkill omxplayer
I have found out (the hard way) that setting a splash screen through the standard setting screen sometimes makes the pi "hang" after playing the splash.
Can it be because i have not attached my soundcard yet?
Maybe somebody can explain why the mintpi splash runs through a seperate script? (hopefully you're the first one who responded to my question :lol: )

You could also use this script to set a splash screen, just edit this line:

Code: Select all

omxplayer -o alsa -b --layer 10000 "/home/pi/mintyPi/minty-splash.mp4" &
Change the path to another mp4 file installed on your sd card.