Forum Replies Created
-
AuthorPosts
-
whoismezeroParticipant
[quote=84779]A video would be heaps inefficient (hdd space and memory), not easy to change and way more work. but if its the only way then ill give it a go.
[/quote]Using a video would definitely be more work as well as time consuming.
You can change the default behavior of stock retropie splashscreen script by modifying the ‘asplashcreen’ script in init.d
Modify this line:
/usr/bin/fbi -T 2 -once -t 30 -noverbose -a -l /etc/splashscreen.list &
to
/usr/bin/fbi -T 2 -once -t 4 -noverbose -a /home/pi/splashscreens/* &
With this you will also need to create a folder called “splashscreens” (using the ‘mkdir’ command) in /home/pi to save all of the splashscreens in.
The splashscreens will be displayed in alphabetical order, and each picture for 4 seconds.
whoismezeroParticipantI recently had the same issue. For me the Raspberry Pi was auto detecting into DVI mode, which does not support sound.
Edit the command.txt and find the ‘hdmi_drive=’ line and set it to ‘2’ to force it into HDMI mode.
whoismezeroParticipant[quote=82200]Yeah, this is weird.
Typing it in the command line it plays fine. Still won’t play on start up.
A splashscreen shot: http://i.imgur.com/3QYg7qP.jpg What I typed in terminal: http://i.imgur.com/I6rWaQ2.jpg Video works from terminal: http://i.imgur.com/Nn7Zg03.jpg
Going to start with a fresh sd card and try again from scratch.
[/quote]Could you post a shot of the error message? (if you haven’t already started fresh)
whoismezeroParticipant[quote=82152]Yeah, I went back and caught that, but am running into a new issue.
Now it says “asplashscreen: no such file or directory”[/quote]Try running just the
omxplayer -o hdmi –layer 10000 /home/pi/splash_screen_video.mp4
command from either the console/terminal or through SSH.This will hopefully give a more specific error message.
I think it is likely that there is a small difference between the location you are pointing to in the script and the actual filename and location. (maybe an extra “.” or space that you missed)whoismezeroParticipant[quote=82162]Guys, this is somewhat pointless. The time ES needs to load varies depending on the number of systems and ROMs present in your folders. If you overlay a video with omxplayer, you would have to stop the time ES needs to load completely for your individual installation. And then it’s only valid until you add more ROMS. The video would always play either longer than ES needs to get to the carousel or shorter.
EmulationStation is branded, it will stay like this, but you can always take the source, replace the svg for the logo and compile it. Easiest way.
[/quote]It’s not pointless.
I’m not trying to cover up the EmulationStation logo, I am trying to cover up the RaspberryPi boot up messages. I time my video to end during the EmulationStation loading screen so that I can make sure that the branding is visible during boot up, and I also end my video with the EmulaitonStation logo so that there is, not only, a seamless transition between my video and the program but also so that I can ensure that the logo will be visible no matter how long it takes to boot up.
Replacing the svg is not the easiest way.
For somebody who has never worked with any type of programming before and is using this arcade machine project as an introduction to Linux, modifying source code and compiling would be a very daunting and difficult task.Besides that, it actually isn’t as easy as replacing the svg and compiling. After you replace the svg, you have to run a script (after you’ve changed it’s permissions) that creates a file based from the svg, and then you have to analyse and modify that file before you compile otherwise it will fail. Also, if you are compiling on a RaspberryPi, compiling the source code takes multiple hours. This is not ideal for a beginner.
Making a simple modification to a splashscreen script and transferring a video file is much, much easier.
whoismezeroParticipant[quote=82149]Followed these precisely (3 times now) and am still getting no video. No splash screen at all.
On load, reading the lines running there is a line where it reads: /etc/init.d/asplashscreen 14: /etc/init.d/asplashscreen omx: not found
However omx is definitely installed, trying apt get again just says I have the latest version.
Any suggestions?
[/quote]Just to try to clarify, does it say “omx: not found” or does it say “omxplayer: not found”?
If it does say “omx: not found” make sure there isn’t a space between omx and player in your asplashcreen script.
whoismezeroParticipantIf you are using omxplayer to play the video, you can use the
--layer 10000
command option to get the video to play over the top of EmulationStation. Here is my command:omxplayer -o hdmi --layer 10000 /home/pi/splash_screen_video.mp4
whoismezeroParticipantI just tested it with a fresh installation and the
--layer 10000
command made the video play over the top of EmulationStation.whoismezeroParticipant[quote=81986]this does not work like I thought, its the problem I have now, the emulation station screen loads OVER the video, I can still hear my video playing behind it…. not to discredit anyone, but I would be more than happy to put emulation station as a logo on the video. but I thought the video would just over write the ES splash, in 2.3 it doens seem to do that, unless I really missed something….
[/quote]Did you make sure to put add the
--layer 10000
in theomxplayer -o hdmi --layer 10000 /home/pi/splash_screen_video.mp4
command? If so, try making the layer number higher and see if that works, maybe try 50000.whoismezeroParticipantYou have to modify it from the source code. The splash screen svg can be found in the unstable release (https://github.com/Aloshi/EmulationStation/tree/unstable) in data/resources/splash.svg
Also, the code that dictates how the splash screen is displayed is located in es-core/src/Window.cpp (lines 227-248).
Once you have modified the sourcecode to your liking, you can compile it using the instructions provided on the EmulationStation website: http://emulationstation.org/gettingstarted.html#install_rpi_standalone.
whoismezeroParticipantYou could use omxplayer to play a video instead of the retropie splash screen and keep it playing above emulationstation while it’s splash screen is displayed. You just have to make sure the video is long enough that when it stops playing, emulationstation is done loading (approx. 45 seconds).
Here’s how to do it:
First copy the video you’d like to use to your home directory ( /home/pi )
Then install omxplayer
sudo apt-get install omxplayer
Then modify the splash screen script to play your video instead of displaying the retropie splash screen image
sudo nano /etc/init.d/asplashscreen
comment out (or delete) these lines:
line=$(head -n 1 /etc/splashscreen.list) isMovie=$(echo $line | grep -o "*.mpg") if [ -z "$isMovie" ]; then /usr/bin/fbi -T 2 -once -t 30 -noverbose -a -l /etc/splashscreen.list & else mplayer $line & fi
and above them (under the first do_start () { ) add this line:
omxplayer -o hdmi --layer 10000 /home/pi/splash_screen_video.mp4 &
Save with Ctrl+X then enter
And then reboot with sudo reboot
Once the Pi turns back on it will start playing your video, and if your video is long enough it will go straight into the carousel view once the video ends. -
AuthorPosts