User:Innsill/omxplayer-starter (amdhf): Difference between revisions
No edit summary |
m (Replace includes for Template:C with Template:Ic so we can delete the former.) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
#* alpine-rpi-3.10.3-armhf.tar.gz | #* alpine-rpi-3.10.3-armhf.tar.gz | ||
#* alpine-rpi-3.10.3-armhf.tar.gz.sha256 | #* alpine-rpi-3.10.3-armhf.tar.gz.sha256 | ||
#** sha256sum --check alpine-rpi-3.10.3-armhf.tar.gz.sha256 | #** sha256sum --check {{Ic |alpine-rpi-3.10.3-armhf.tar.gz.sha256}} | ||
# | # | ||
# </br> find / -name setup* -print | sort | # </br> find / -name setup* -print | sort | ||
Line 14: | Line 14: | ||
# | # | ||
# </br> [https://pkgs.alpinelinux.org/contents?file=omxplayer&path=&name=&branch=v3.10&arch=armhf omxplayer ?] | # </br> [https://pkgs.alpinelinux.org/contents?file=omxplayer&path=&name=&branch=v3.10&arch=armhf omxplayer ?] | ||
#* vi /etc/apk/repositories | #* vi {{Ic |/etc/apk/repositories}} | ||
#* apk update && apk upgrade | #* apk update && apk upgrade | ||
#* apk add omxplayer | #* apk add omxplayer | ||
# | # </br> vi {{Ic| /etc/inittab}} {{cat |/etc/inittab |<nowiki>tty1::respawn:/bin/login -f root | ||
# </br> mount /dev/sda /mnt | tty2::respawn:/sbin/getty 38400 tty2 | ||
#tty3::respawn:/sbin/getty 38400 tty3 </nowiki>}} </br> vi {{Ic| .profile}} {{cat |/root/.profile |<nowiki>mount /dev/sda1 /mnt | |||
mount /dev/sda /mnt | |||
cd /mnt | |||
VIDEO=$( ls | sort ) | |||
for i in $VIDEO | |||
do | |||
omxplayer $i | |||
done</nowiki>}} </br> lbu include /root/.profile </br> lbu commit | |||
= = | = = | ||
* [https://elinux.org/Omxplayer Omxplayer] eLinux.org | * [https://elinux.org/Omxplayer Omxplayer] eLinux.org | ||
* [https://www.raspberrypi.org/documentation/raspbian/applications/omxplayer.md OMXPlayer: An accelerated command line media player] raspberrypi.org | * [https://www.raspberrypi.org/documentation/raspbian/applications/omxplayer.md OMXPlayer: An accelerated command line media player] raspberrypi.org |
Latest revision as of 22:55, 9 January 2024
Warning:
Be careful !
Spy backdoors China/Huawei !
https://alpinelinux.org/downloads/- alpine-rpi-3.10.3-armhf.tar.gz
- alpine-rpi-3.10.3-armhf.tar.gz.sha256
- sha256sum --check
alpine-rpi-3.10.3-armhf.tar.gz.sha256
- sha256sum --check
find / -name setup* -print | sort- setup-alpine
omxplayer ?- vi
/etc/apk/repositories
- apk update && apk upgrade
- apk add omxplayer
- vi
vi/etc/inittab
Contents of /etc/inittab
tty1::respawn:/bin/login -f root tty2::respawn:/sbin/getty 38400 tty2 #tty3::respawn:/sbin/getty 38400 tty3
vi.profile
Contents of /root/.profile
mount /dev/sda1 /mnt mount /dev/sda /mnt cd /mnt VIDEO=$( ls | sort ) for i in $VIDEO do omxplayer $i done
lbu include /root/.profile
lbu commit
- Omxplayer eLinux.org
- OMXPlayer: An accelerated command line media player raspberrypi.org