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?

  • od there anything in the logs? errors? warnings? – rav_kr Jan 11 '16 at 21:51
  • No errors or warnings - where can I find logs? – Mike Roberts Jan 12 '16 at 10:07
  • 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 & – Paul Slocum Apr 9 '17 at 22:51

protected by Community Sep 11 '16 at 0:10

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Browse other questions tagged or ask your own question.