Wil graag wat geluidjes via command line uit mijn Synology N54L NAS toveren. Heb een el cheapo USB geluidskaart gekocht en uiteindelijk (na installatie van Audio Station) lijkt het via de GUI te werken. Kan van alles via Audio Station afspelen.
Echter, via de command line is wat problematischer:
mpg123:
Aplay:
VLC:
mpg123 lijkt de beste papieren te hebben, alleen geen idee hoe de audio device te vinden. Alsamixer werkt trouwens ook, voordat Audio Station was geinstalleerd werkte dat ook niet.
Echter, via de command line is wat problematischer:
mpg123:
code:
1
2
3
4
5
6
| mpg123 test.mp3 [oss.c:172] error: Can't open default sound device! [audio.c:630] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: oss [audio.c:532] error: Failed to open audio output module [mpg123.c:897] error: Failed to initialize output, goodbye. |
Aplay:
code:
1
2
3
| aplay test.mp3 ALSA lib pcm_direct.c:1616:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio) aplay: main:654: audio open error: Invalid argument |
VLC:
code:
1
2
3
4
| VLC media player 0.9.9a Grishenko process 28396: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/opt/var/lib/dbus/machine-id": No such file or directory See the manual page for dbus-uuidgen to correct this issue. D-Bus not built with -rdynamic so unable to print a backtrace |
mpg123 lijkt de beste papieren te hebben, alleen geen idee hoe de audio device te vinden. Alsamixer werkt trouwens ook, voordat Audio Station was geinstalleerd werkte dat ook niet.