1

With Wheezy, I successfully managed to follow a tutorial to run OMXPlayer during boot-up for a video splash screen. However, with the latest Jessie OS downloaded from the Raspberry Pi Foundation's website, it is no longer working.

Further inspection shows that the line omxplayer video_file.mp4 & will not run in a typical terminal environment, whilst omxplayer /home/pi/video_file.mp4 does. Other methods (besides the ampersand [&]) to get the video to run in the background (i.e. using nohup) simply caused the boot sequence to get stuck and never complete.

I have also tried getting it to launch from a Python script which is launched via a background process, however this is subject to the same issues. I also attempted to use a separate terminal instance via screen: screen -S splashscreen -d -m omxplayer /home/pi/video_file.mp4, but, again, no such luck when run during startup.

Is there something that I am missing? What can I do to get this working?

3
  • od there anything in the logs? errors? warnings?
    – rav_kr
    Jan 11, 2016 at 21:51
  • No errors or warnings - where can I find logs? Jan 12, 2016 at 10:07
  • 1
    use omxplayer's '--no-keys' flag to disable key binding, so it can run in background and then the ampersand will work. omxplayer --no-keys file.avi & Apr 9, 2017 at 22:51

0

Browse other questions tagged or ask your own question.