nadenislamarre
Dear Sir! I have finally enabled FFPLAY in my ODROID XU4 image using the guide by you and the results are very good, now I can play any video without any issues in the frambuffer when I quit the ES by doing an 'F4' and then 'Alt+F2'. The video plays smoothly without any issues.
I have figured out that the init.d file S02Splash is responsible to create the Splash image and I have tried adding the below code to the file to make it play a video boot splash but it just shoes a black screen. I think I am very near to a solution but I need to figure this out, can you let me know how to do this. I have done the below changes:
#!/bin/bash
do_start ()
{
video="/recalbox/system/resources/splash/recalboxintro.mp4"
# odroid xu4 has not omxplayer, make it run this code make it flash
if [[ -f $video && -f /usr/bin/ffplay ]]; then
/usr/bin/ffplay -fs -autoexit $video
fi
# on some sytems, fb0 is not immediatly loaded, so, keep a chance by waiting a bit
N=0
while ! test -e /dev/fb0 -o $N -gt 15
do
sleep 1
let N++
done
test -e /dev/fb0 && fbv -f -i /recalbox/system/resources/splash/logo-version.png
}
case "$1" in
start)
do_start &
;;
stop)
;;
restart|reload)
;;
*)
esac
exit $?