【简易广告机】利用树莓派制作一个简易的广告机(1)

利用树莓派做一个简单的广告机

废话不多说开始

1. 安装 omxplayer

omxplayer 简易介绍:omxplayer是专门针对树莓派的GPU的播放器,支持硬件解码,最高支持分辨率是1080P,omxplayer这个命令行播放器,是专门针对树莓派优化了的GPU的播放器,支持硬件解码。支持格式:MKV、AVI、FLV、MP4。
鄙人亲自验证过,MP4格式视频文件播放流畅不卡顿

废话结束

安装

sudo apt-get install omxplayer

安装完毕

pi@raspberrypi:~ $ sudo apt-get install omxplayer
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree       
Reading state information... Done
omxplayer is already the newest version (20190723+gitf543a0d-1).
The following packages were automatically installed and are no longer required:
  alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-0
  libgstreamer0.10-0 libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2
  pimixer point-rpi vlc-l10n vlc-plugin-notify vlc-plugin-samba vlc-plugin-video-splitter
  vlc-plugin-visualization xfconf
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.

因为我的树莓派已经安装过所以系统就跳过了

2. 测试 omxplayer

man omxplayer

                
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值