Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-23-2017, 04:15 PM   #1
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 792
Blog Entries: 3

Rep: Reputation: 271Reputation: 271Reputation: 271
Mplayer as bootsplash?

Saw this earlier, a bootsplash using video on the framebuffer

I tried something similar just now using mplayer, which i recorded and put to youtube, but it has a few issues as i only spent half hour or so fiddling with this. In the video i recorded below, you can see that mplayer is fighting with the boot messages -- how could i stop this happening?

Here's the video of my attempt:

And also, is it possible ot get this to start earlier in the boot process? But i would imagine it would involve putting mplayer (and libs), along with the scripts and the video file within the initrd image? That might not be possible...

Basically, i cobbled this together on slackware: - Run this from beginning of /etc/rc.d/rc.S
# path to any video file here

mkfifo /root/videosplash/fifopipe

# supress mplayer output, use the framebuffer video output and loop video infinitely
/usr/bin/mplayer \
	-slave \
	-really-quiet \
	-vo fbdev \
	-loop 0 \
	-input file=/root/videosplash/fifopipe ${SPLASH} < /dev/null > /dev/null & - Run this from the end of /etc/rc.d/rc.local
# this quits mplayer using a pipe command
# if placed at the end of rc.local, the video will quit at the end of the booting process
if [ ! -z $(pidof mplayer) ]; then
	echo -e "q\n" > /root/videosplash/fifopipe
	sleep 1
Old 06-25-2017, 04:59 PM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
probably not the answer you're looking for, i would look at RHGB and/or plymouth and seeing how they hide boot messages.


boot, bootsplash, fbdev, mplayer, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer GUI (gmplayer - NOT gnome-mplayer) single instance fix... poweredbydodge Linux - Desktop 5 04-12-2011 03:34 PM
bootsplash terrorisk Linux - Software 1 01-23-2007 06:45 AM
In Kubuntu I have compiled MPlayer and it works fine, MPlayer Plug-in is not working kickass331 Linux - Newbie 10 08-11-2006 09:12 PM
bootsplash? mushmaster Linux - Software 7 02-14-2005 04:26 PM
Bootsplash ski3r Debian 4 10-18-2004 04:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration