Video Splash Screen

Welcome Page Forums RetroPie Project Splash screens Video Splash Screen

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of moorens moorens 3 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3985
    Profile photo of moorens
    moorens
    Participant

    Preview for video splash

    https://vimeo.com/83644752 Splash Screen Video
    https://vimeo.com/83644752 Full System Video
    http://nicholasmoore.net/2013/09/29/retroconsole-with-custom-music-rev3-1/

    edit /boot/cmdline.txt file:
    sudo nano /boot/cmdline.txt

    Add quiet
    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet

    Press ctrl-x, type y to confirm save, then press enter and return to the terminal.

    Copy your video to your Raspberry Pi

    create a script that will run omxplayer on bootup.

    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
    start|””)
    do_start
    ;;
    restart|reload|force-reload)
    echo “Error: argument ‘$1’ not supported” >&2
    exit 3
    ;;
    stop)
    # No-op
    ;;
    status)
    exit 0
    ;;
    *)
    echo “Usage: asplashscreen [start|stop]” >&2
    exit 3
    ;;
    esac

    :

    Press ctrl-x, and save

    make file executable
    sudo chmod a+x /etc/init.d/asplashscreen

    activate
    sudo insserv /etc/init.d/asplashscreen

    Reboot and wait

    Attachments:
    #4050
    Profile photo of Coolname
    Coolname
    Participant

    I tried this 3 times now and it works, but there’s always one major problem:

    The whole system becomes excessively slow and then unresponsive to anything, no matter what you type, it doesn’t execute giving an error. After rebooting, nothing loads, just error messages.

    Another “problem” is the text before and after the video, the “quiet” command doesn’t seem to do anything.

    Is this normal, am I the only one getting this?

    Thanks for the post though, it made things a lot clearer.

    The asplashscreen file has this in it:

    do_start () {
    
        line=$(head -n 1 /etc/splashscreen.list)
        isMovie=$(echo $line | grep -o "*.mpg")
        if [ -z "$isMovie" ]; then
          /usr/bin/fbi -T 1 -noverbose -a -l /etc/splashscreen.list &
        else
          mplayer $line &
        fi
        exit 0

    I’m trying to understand it still, but I see “isMovie” in there and .mpg, a video format. All things considered, I think I’ll convert my MP4 into an MPG format and replace the splash screen with it, see where that goes.

    Thanks for the contribution, it looked great when I booted it! I hope this works. 🙂

    Still learnin', but ideas and motivation be flowin'!

    #4052
    Profile photo of moorens
    moorens
    Participant

    Let me know how it goes. If you still have the issue let me know.
    I have no lag or any issues.

    I will try to pull my exact config and make sure I did not change anything.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar