5 Replies Latest reply on Apr 26, 2015 9:25 AM by atharvabenheckfan

    Raspberry Pi - Splash Screen


      How would I add a splash screen image that is shown on boot rather then the command line text. All the methods I have seen still show the command line then the image.

      Any ideas appreciated!

        • Re: Raspberry Pi - Splash Screen

          hi found this

          you will need to install omxplayer first

          sudo apt-get install omxplayer


          First off, you will want to copy the 15 to 20 second movie file to your Raspberry Pi device.  Anything shorter and the video will end before it’s finished booting and you will continue to see the kernel messages.  You can use any video file that omxplayer can play back, but I like .mov and .mp4 files.

          • You will need to edit your /boot/cmdline.txt file:
            • sudo nano /boot/cmdline.txt
          • Add quiet to the end of the line. It will look something like this:
            • dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet
            • Make sure that is all on one line.
          • Press ctrl-x, type y to confirm save, then press enter to return to the command line.
          • Copy your video somewhere to the Raspberry Pi.  I keep mine in /home/pi/ and call the video video.mov
          • You will now need to create a startup script that will run omxplayer at bootup.  I have modified the script from the above link.
            • sudo nano /etc/init.d/asplashscreen

          #! /bin/sh
          ### BEGIN INIT INFO
          # Provides:          asplashscreen
          # Required-Start:
          # Required-Stop:
          # Should-Start:     
          # Default-Start:     S
          # Default-Stop:
          # Short-Description: Show custom splashscreen
          # Description:       Show custom splashscreen
          ### END INIT INFO
          do_start () {    omxplayer /home/pi/video.mov & 
              exit 0
          case "$1" in
              echo "Error: argument '$1' not supported" >&2
              exit 3
              # No-op
              exit 0
              echo "Usage: asplashscreen [start|stop]" >&2
              exit 3

          • Press ctrl-x, y to confirm saving, and press enter to return to the command line
          • Now you need to set the file to be executable
            • sudo chmod a+x /etc/init.d/asplashscreen
          • And activate it
            • sudo insserv /etc/init.d/asplashscreen

          You should now be ready to go!

          Reboot your Pi and enjoy the startup movie.

          • Re: Raspberry Pi - Splash Screen

            Hi, that won't work on my Pi 2.
            I tried several tutorials, but all won't work.


            The omxplayer plays the video properly, except of the wrong resolution.
            Every codeline is double and triplechecked, also the paths and filenames. Any Ideas?

            • Re: Raspberry Pi - Splash Screen

              sorry i havn't had any experience with the pi 2 but i'll try to post as soon as i can