数码视讯Q5刷armbian+squeezelite

数码视讯Q5刷armbian+squeezelite数码视讯Q5刷armbian+squeezelite数码视讯Q5机顶盒介绍:数码视讯Q5CPU:晶晨S905M4核1.5G内存:1g存储:8G显卡:Mali-450接口:HDMIUSB2.0(两个)AVTF卡槽RJ45(1000M)带2.4无线电源:DC12V1A目前闲鱼的售价在:50-70元。购买数码视讯Q5时,必须问清楚,是否可以插tf卡打游戏,可以插tf卡打游戏才买,可以插tf卡打游戏才买,可以插tf卡打游戏才买,以…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全家桶1年46,售后保障稳定

数码视讯Q5刷armbian+squeezelite

数码视讯Q5机顶盒介绍:

数码视讯Q5
CPU:晶晨S905M  4核1.5G
内存:1g
存储:8G
显卡:Mali-450
接口:HDMI
      USB2.0(两个)
      AV
      TF卡槽
      RJ45(1000M)

带2.4无线
电源:DC12V 1A

目前闲鱼的售价在:50-70元。

购买数码视讯Q5时,必须问清楚,是否可以插tf卡打游戏,可以插tf卡打游戏才买,可以插tf卡打游戏才买,可以插tf卡打游戏才买,

以下是所需软件下载链接
链接:https://pan.baidu.com/s/1q2n-Tc-5JCwvHitMHXswpQ 提取码:cqzz

一.首先安装和设置armbian

   1.1.镜像文件:    
     armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180729.img

   1.2.将镜像文件写入tf卡
     
     在windows上用DiskGenius将tf卡分区格式化
     
     首先在DiskGenius左方框中选择要分区的tf卡,要选正确、要选正确、要选正确(重要的事提醒三次),右键点击,弹出菜单,选择“快速分区”,在弹出的快速分区框,选择分区类型:MBR;选择分区数目:自定义1个分区;在右上方的高级设置选FAT32,然后点击“确定”按钮。等到完成后,关闭DiskGenius。

      打开Win32DiskImager,这时头上方的“设备”栏里有tf卡的盘符,盘符如果正确就不管了(如果只有一个tf卡插在电脑上,只要显示盘符就可以不管,否则要选正确的盘符)。点击“映像文件”栏右边的文件夹符号,选择要写进tf卡的img文件,文件选好后,“任务进度”条下面的“写入”按钮可见,点击“写入”按钮,开始写入,等到写完时会弹出“写入完成”框,点击“OK”按钮,退出Win32DiskImager。

   1.3.启动armbian

     将tf卡插入数码视讯Q5的TF卡槽里,插上网线、电源线,按下电源开关。打开浏览器,登录路由器的管理页面,查看新增的设备名称和IP地址。(一般显示的设备名称为:aml)

   1.4.设置armbian

     打开PuTTY,在HostName(or IP address)栏里,填入数码视讯Q5的IP地址(192.168.X.XXX),然后点击“Open”按钮,弹出“PuTTY Security Alert”提示框,点击“是(Y)”按钮,弹出“192.168.X.XXX-PuTTY”窗口,窗口
     显示:
     login as:
     输入:root
     显示:
     root@192.168.X.XXX‘s password:
     输入:1234
     显示:

login as: root
root@192.168.2.43‘s password:
You are required to change your password immediately (root enforced)
____  ___
/ ___|/ _ \__  ____  ____  __
\___ \ (_) \ \/ /\ \/ /\ \/ /
___) \__, |>  <  >  <  >  <
|____/  /_//_/\_\/_/\_\/_/\_\

Welcome to ARMBIAN 5.44 user-built Ubuntu 18.04.1 LTS 3.14.29
System load:   1.10 0.75 0.33   Up time:       3 min
Memory usage:  10 % of 766MB    IP:            192.168.2.43
Usage of /:    3% of 29G

New to Armbian? Check the documentation first: https://docs.armbian.com
Changing password for root.
(current) UNIX password:
输入root的旧密码:1234
Enter new UNIX password:
输入root的新密码:
Retype new UNIX password:
再次输入root的新密码:
显示:
Thank you for choosing Armbian! Support: www.armbian.com

Creating a new user account. Press <Ctrl-C> to abort

Please provide a username (eg. your forename):
输入将要创建的新用户名:
Enter new UNIX password:
输入新用户的密码:
Retype new UNIX password:
再次输入新用户的密码:
Full Name []:
回车
Room Number []:
回车
Work Phone []:
回车
Home Phone []:
回车
Other []:
回车
Is the information correct? [Y/n]
输入:y
然后系统重启,关闭PuTTY。

重新运行PuTTY,输入root,输入root的新密码,
显示:
login as: root
root@192.168.2.43‘s password:
____  ___
/ ___|/ _ \__  ____  ____  __
\___ \ (_) \ \/ /\ \/ /\ \/ /
___) \__, |>  <  >  <  >  <
|____/  /_//_/\_\/_/\_\/_/\_\

Welcome to ARMBIAN 5.44 user-built Ubuntu 18.04.1 LTS 3.14.29
System load:   2.22 0.94 0.35   Up time:       2 min
Memory usage:  17 % of 766MB    IP:            192.168.2.43
Usage of /:    4% of 29G

[ General system configuration (beta): armbian-config ]

Last login: Sun Feb  6 03:40:16 2022 from 192.168.2.25

root@aml:~#

二.更新系统

   apt-get update

   apt-get upgrade

出错提示
E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

解决方法:
输入:ps -A | grep apt
显示
3907 ?        00:00:00 apt.systemd.dai
3911 ?        00:00:00 apt.systemd.dai
输入:kill -SIGKILL 3907
输入:ps -A | grep apt
显示
3XXX ?        00:00:00 apt.systemd.dai
3XXY ?        00:00:00 apt.systemd.dai
输入:kill -SIGKILL 3XXX
输入:ps -A | grep apt
显示没有

输入:reboot

系统重启,等几分钟后登录。

   apt-get upgrade

三.安装squeezelite

    wget http://mirrors.ustc.edu.cn/debian/pool/main/s/squeezelite/squeezelite_1.8-4_arm64.deb

    dpkg -i squeezelite_1.8-4_arm64.deb

出错提示

dpkg: dependency problems prevent configuration of squeezelite:
squeezelite depends on libavcodec57 (>= 7:3.2) | libavcodec-extra57 (>= 7:3.2);                                                                                                                                                              however:
  Package libavcodec57 is not installed.
  Package libavcodec-extra57 is not installed.
squeezelite depends on libavformat57 (>= 7:3.2); however:
  Package libavformat57 is not installed.
squeezelite depends on libavutil55 (>= 7:3.2); however:
  Package libavutil55 is not installed.
squeezelite depends on libfaad2 (>= 2.7); however:
  Package libfaad2 is not installed.
squeezelite depends on libflac8 (>= 1.3.0); however:
  Package libflac8 is not installed.
squeezelite depends on libmad0 (>= 0.15.1b-3); however:
  Package libmad0 is not installed.
squeezelite depends on libmpg123-0 (>= 1.10.0); however:
  Package libmpg123-0 is not installed.
squeezelite depends on libsoxr0 (>= 0.1.0); however:
  Package libsoxr0 is not installed.
squeezelite depends on libvorbisfile3 (>= 1.1.2); however:
  Package libvorbisfile3 is not installed.

dpkg: error processing package squeezelite (–install):
dependency problems – leaving unconfigured
Processing triggers for systemd (237-3ubuntu10.53) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Errors were encountered while processing:
squeezelite

解决方法:

apt –fix-broken install

   输入squeezelite -?

显示

root@aml:~# squeezelite -?
Squeezelite v1.8, Copyright 2012-2015 Adrian Smith. See -t for license terms
Usage: squeezelite [options]
  -s <server>[:<port>]  Connect to specified server, otherwise uses autodiscovery to find server
  -o <output device>    Specify output device, default “default”, – = output to stdout
  -l                    List output devices
  -a <b>:<p>:<f>:<m>    Specify ALSA params to open output device, b = buffer time in ms or size in bytes, p = period count or size in bytes, f sample format (16|24|24_3|32), m = use mmap (0|1)
  -a <f>                Specify sample format (16|24|32) of output file when using -o – to output samples to stdout (interleaved little endian only)
  -b <stream>:<output>  Specify internal Stream and Output buffer sizes in Kbytes
  -c <codec1>,<codec2>  Restrict codecs to those specified, otherwise load all available codecs; known codecs: flac,pcm,mp3,ogg,aac,wma,alac,dsd (mad,mpg for specific mp3 codec)
  -C <timeout>          Close output device when idle after timeout seconds, default is to keep it open while player is ‘on’
  -d <log>=<level>      Set logging level, logs: all|slimproto|stream|decode|output|ir, level: info|debug|sdebug
  -e <codec1>,<codec2>  Explicitly exclude native support of one or more codecs; known codecs: flac,pcm,mp3,ogg,aac,wma,alac,dsd (mad,mpg for specific mp3 codec)
  -f <logfile>          Write debug to logfile
  -i [<filename>]       Enable lirc remote control support (lirc config file ~/.lircrc used if filename not specified)
  -m <mac addr>         Set mac address, format: ab:cd:ef:12:34:56
  -M <modelname>        Set the squeezelite player model name sent to the server (default: SqueezeLite)
  -n <name>             Set the player name
  -N <filename>         Store player name in filename to allow server defined name changes to be shared between servers (not supported with -n)
  -p <priority>         Set real time priority of output thread (1-99)
  -P <filename>         Store the process id (PID) in filename
  -r <rates>[:<delay>]  Sample rates supported, allows output to be off when squeezelite is started; rates = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional delay switching rates in ms
  -R -u [params]        Resample, params = <recipe>:<flags>:<attenuation>:<precision>:<passband_end>:<stopband_start>:<phase_response>,
                         recipe = (v|h|m|l|q)(L|I|M)(s) [E|X], E = exception – resample only if native rate not supported, X = async – resample to max rate for device, otherwise to max sync rate
                         flags = num in hex,
                         attenuation = attenuation in dB to apply (default is -1db if not explicitly set),
                         precision = number of bits precision (NB. HQ = 20. VHQ = 28),
                         passband_end = number in percent (0dB pt. bandwidth to preserve. nyquist = 100%),
                         stopband_start = number in percent (Aliasing/imaging control. > passband_end),
                         phase_response = 0-100 (0 = minimum / 50 = linear / 100 = maximum)
  -D [delay]            Output device supports DSD over PCM (DoP), delay = optional delay switching between PCM and DoP in ms
  -v                    Visualiser support
  -L                    List volume controls for output device
  -U <control>          Unmute ALSA control and set to full volume (not supported with -V)
  -V <control>          Use ALSA control for volume adjustment, otherwise use software volume adjustment
  -z                    Daemonize
  -t                    License terms
  -?                    Display this help text

Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR DSD LINKALL

则表示squeezelite安装成功

四.设置squeezelite

   将USB解码器用USB线同数码视讯Q5连接上

   用squeezelite -l查看USB解码器的编号

显示

root@aml:~# squeezelite -l
Output devices:
  null                           – Discard all samples (playback) or generate zero samples (capture)
  default:CARD=HAP90SD           – TEAC HA-P90SD, USB Audio – Default Audio Device
  sysdefault:CARD=HAP90SD        – TEAC HA-P90SD, USB Audio – Default Audio Device
  front:CARD=HAP90SD,DEV=0       – TEAC HA-P90SD, USB Audio – Front speakers
  surround21:CARD=HAP90SD,DEV=0  – TEAC HA-P90SD, USB Audio – 2.1 Surround output to Front and Subwoofer speakers
  surround40:CARD=HAP90SD,DEV=0  – TEAC HA-P90SD, USB Audio – 4.0 Surround output to Front and Rear speakers
  surround41:CARD=HAP90SD,DEV=0  – TEAC HA-P90SD, USB Audio – 4.1 Surround output to Front, Rear and Subwoofer speakers
  surround50:CARD=HAP90SD,DEV=0  – TEAC HA-P90SD, USB Audio – 5.0 Surround output to Front, Center and Rear speakers
  surround51:CARD=HAP90SD,DEV=0  – TEAC HA-P90SD, USB Audio – 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=HAP90SD,DEV=0  – TEAC HA-P90SD, USB Audio – 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=HAP90SD,DEV=0      – TEAC HA-P90SD, USB Audio – IEC958 (S/PDIF) Digital Audio Output
  dmix:CARD=HAP90SD,DEV=0        – TEAC HA-P90SD, USB Audio – Direct sample mixing device
  dsnoop:CARD=HAP90SD,DEV=0      – TEAC HA-P90SD, USB Audio – Direct sample snooping device
  hw:CARD=HAP90SD,DEV=0          – TEAC HA-P90SD, USB Audio – Direct hardware device without any conversions
  plughw:CARD=HAP90SD,DEV=0      – TEAC HA-P90SD, USB Audio – Hardware device with all software conversions

也可以用cat /proc/asound/cards命令查看USB解码器

cat /proc/asound/cards

显示
1 [HAP90SD        ]: USB-Audio – TEAC HA-P90SD
                      TEAC CORPORATION TEAC HA-P90SD at usb-c9000000.dwc2_a-1, high speed

   nano /etc/rc.local

     将以下命令写入文件(必须在exit 0之前)

/etc/rc.local全部内容:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “” on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

squeezelite -o hw:1,0 -D dop -p 99 -b 4096:6892

#/boot/fan.sh &
exit 0

   保存退出

   重启服务:systemctl restart squeezelite

   重新启动系统,这样不必每次输入命令。

   安装好squeezelite后,就可以玩DAPHILE+squeezelite双机,也可以玩logitechmediaserver+squeezelite双机。
 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/231722.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

  • 在线视频加密播放(加密视频观看)

    在线视频加密播放(加密视频观看)功能描述:1.在线视频加密播放(加密视频观看) 2.视频播放密码/设定观看密码功能,对视频文件设置观看权限,划分学员和游客,学员输入正确的密码即可观看视频。STEP1登录酷播云管理平台,选择“视频列表”,点选对应视频,之后选择”视频设置”,即会弹出如下设置窗口,从“设置密码”中设定视频观看密码。图1:视频播放密码/设定观看密码功能STEP2用户观看端效果如下,支持PC端和移动端的播放密码功能。图2:视频播放密码/设定观看密码功能STEP3用户输入的

  • 双边滤波——原理及matlab实现

      思维闭塞时可外出采采风。1、双边滤波简介:   双边滤波(Bilateral filter)是一种非线性滤波方法(空间权值+相似权值)——空间权值:模糊去噪;相似权值:保护边缘。2、双边滤波原理  双边滤波具有两个权重:空间权重与相似权重  1)空间权重:与像素位置有关,为像素之间的距离(欧式距离,空间度量),故可定义为全局变量放在循环外,通常定义为…

  • 眼下最好的JSP分页技术

    眼下最好的JSP分页技术

    2021年11月23日
  • 应用程序错误电脑黑屏_werfault应用程序错误黑屏|Win7解决werfault.exe应用程序错误方法…「建议收藏」

    应用程序错误电脑黑屏_werfault应用程序错误黑屏|Win7解决werfault.exe应用程序错误方法…「建议收藏」在我们使用电脑的时候,时常会遇到各种问题,有时候会遇到电脑弹出窗口提示werfault.exe应用程序错误,这是什么意思?该如何解决?下面小编就来和大家分享下Win7解决werfault.exe应用程序错误方法。1、首先要知道werfault.exe应用程序是什么程序。这是Windows操作系统将错误处理从崩溃进程的上下文移至新服务,即Windows错误报告(WER)。由服务托管进程中的DL…

  • JAVA中输出语句中+的作用[通俗易懂]

    JAVA中输出语句中+的作用[通俗易懂]System.out.println()输出语句里面的+号,根据俩边的数据类型作不同处理,有俩种情况。①+后输出字符串,例如1+”a”输出的就是1a②+后输出数字,而不是字符串,例如1+‘a’,输出的就是98个人理解,觉得1+“a”,String类的优先级比较高,所以把1转换成了字符串,最后连接了起来,1+’a’是Int型的精度比较高,故将a转换成了int型再相加…

  • ADRC控制matlab仿真,关于ADRC的一些基本例子仿真

    ADRC控制matlab仿真,关于ADRC的一些基本例子仿真1.jpg10.jpg2.jpg3.jpg4.jpg5.jpg50-100.jpg6.jpg7.jpg8.jpg9.jpgADGR.mADRC100-50.jpgADRC30-15.jpgADRC30-50.jpgADRC50-100.jpgADRC50-30.jpgADRC_AG.mADRC_PSO.asvADRC_PSO.mAdaptiveProbabilitiesofCrossover…

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号