-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boot Video Update for Raspbian #58
Comments
For me this still doesn't work. I installed mplayer and added the line to the splash.service did you change something else? |
I did everything that was outlined in the documentation, all I did was change the command. If you run the command separately on the command line, does it work ? |
I now tried omxplayer, cvlc and mplayer nothing worked :( Why are there the two // instead of /home/pi/bootvideo? |
Typo, but it's irrelevant. Check your device (fbdev2 etc) and check that the mp4 is in the path you're referencing. |
I tried to run it, but KlipperScreen doesn't allow it, I think. Here is the result, the screen didn't change. Maybe some of the information may help to identify the problem. Thanks for your fast help.
|
Oh, you'll need to close KlipperScreen first. |
I deleted KlipperScreen because I didn't find an easy way to close it, and Kiauh makes it easy to reinstall. I got the video playing but only when KlipperScreen is deleted, and I have some weird artifacts. Not only that, but I think mplayer starts so slow that KlipperScreen is faster?
VID_20230829_151016992.mp4 |
I got the first intro video to work but the second doesn't. Do you know how i can convert to mplayer. su - pi -c "sleep 2 | DISPLAY=:0 /usr/bin/cvlc -f --quiet --no-video-title --play-and-exit --mmal-display DSI-1 /home/pi/bootvideo/intro2.mp4" |
mplayer is software, not a format or codec. |
VLC works for me. Just need to apt install vlc /etc/systemd/system/splash.service [Unit] [Service] [Install] I then add the second video to cover more of the booting time. Before the exit 0 Save and reboot |
It's come to my attention a while back that there's a good chunk of people still running on Debian Buster. Those will have wildly different issues from subsequent versions, especially against the latest. An example: A compatibility package present in Debian 11 was removed in Debian 12. This is causing issues with python library access and what libraries to use in regards to resonance measurements. The issues coming forth from this are still undocumented as of now. Could you all please list your specific distribution, version, and version numbers? Use |
Linux mainsailos 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux |
Latest Raspbian version doesn't include a VLC player with mmal support, therefore your boot video details don't work.
However, you can easily make it work as follows
sudo apt install mplayer
Then rather than using cvlc in the
splash.service
, you instead use thisExecStart=/bin/bash -c "mplayer -nosound -nolirc -vf scale=800:480 -vo fbdev2:/dev/fb0 /home/pi//intro1.mp4" &
Everything else stays the same.
The text was updated successfully, but these errors were encountered: