openwrt 上的 upnp wifi 音频推送 gmediarender

首先是必须启用的模块

Libraries --->
<*> libupnp

Sound --->
<*> alsa-utils
<*> madplay-alsa
-*- mpg123

Multimedia --->
gst1-libav
gstreamer1-libs
gstreamer1-plugins-base
gstreamer1-plugins-good
gstreamer1-plugins-ugly
gstreamer1-utils

Kernel modules --->

Sound Support --->
kmod-usb-audio

USB Support --->
kmod-usb-ohci
kmod-usb-storage
kmod-usb-storage-extras
kmod-usb-uhci

Native Language Support --->
kmod-nls-utf8

关于 使用 openwrt 还是使用 sdk 进行编译的问题,我比较推荐使用 openwrt 进行编译。虽然慢一点,因为已经选择装上的软件包的头文件什么的。

sdk 中的依赖需要手动复制过来,比较麻烦。

把 Makefile 放到 package/gmediarender 里面

make -j1 V=99 进行编译。

结果在 uild_dir arget-mipsel_24kc_muslgmediarender-0.0.7 

测试OK 已上传 github

https://github.com/nejidev/gmediarender-openwrt18

需要的人可以自行拉取。 

原文地址:https://www.cnblogs.com/ningci/p/9501116.html