您尚未登录。

楼主 #1 2020-03-27 23:32:51

chendong
会员
注册时间: 2019-07-22
已发帖子: 77
积分: 77

v3s 移植mpg123 问题

我想移植一个mpg123 上V3S,开发板用aplay 放WAV文件是可以的。用mpg123 就报错。哪位大哥移植成功的,指教一下,谢谢。
mpg123 001.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.25.13; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes


Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 001.mp3 ...

MPEG 1.0 L III cbr128 44100 j-s

Title:   I'm Yours
Artist:  Jason Mraz
Album:   I'm Yours
Year:    2008-11-14
[src/libout123/modules/alsa.c:241] error: Fatal problem with alsa output, error -5.
[src/libout123/libout123.c:658] error: Error in writing audio (Input/output error?)!
main: [src/mpg123.c:814] error: Deep trouble! Cannot flush to my output anymore!
#

离线

#2 2020-03-27 23:44:27

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 841
积分: 721

Re: v3s 移植mpg123 问题

不知道你是安装的什么系统,我是在v3s上跑了debian系统,然后用apt来安装的mpg123.甚至安装了musicbox,可以在线听网易云音乐.请看我的连接
https://whycan.cn/t_3114.html

离线

楼主 #3 2020-03-27 23:56:02

chendong
会员
注册时间: 2019-07-22
已发帖子: 77
积分: 77

Re: v3s 移植mpg123 问题

Linux sinlinx 3.4.39

kekemuyu 说:

不知道你是安装的什么系统,我是在v3s上跑了debian系统,然后用apt来安装的mpg123.甚至安装了musicbox,可以在线听网易云音乐.请看我的连接
https://whycan.cn/t_3114.html

离线

#4 2020-03-28 08:39:29

有梦的地方
会员
注册时间: 2020-03-17
已发帖子: 284
积分: 284

Re: v3s 移植mpg123 问题

后端写声卡出现问题了,解码到内存没有问题。

你比较aplay和mpg123的写声卡代码,看有何不同?

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn